CO2MPAS
v4.1
Table of Contents
What is CO
2
MPAS?
Installation
Quick Start
Tutorials
CO
2
MPAS Model
Data naming conventions
FAQ
Glossary
Contributing to co2mpas
API Reference
core
load
excel
schema
validate
check_file_format
check_validation
load_from_dill
merge_data
open_input_file
dsp
model
report
write
check_only_summary
default_vehicle_name
parse_cmd_flags
parse_solution
dsp
cli
utils
defaults
Changelog
CO2MPAS
Joint Research Center
EU Science Hub
Legal notice
|
Cookies
|
Contact
|
Search
European Commission
⟫
JRC
⟫
CO2MPAS
⟫
API Reference
⟫
core
⟫
load
⟫
validate
⟫
validate_plan
Edit on GitHub
validate_plan
¶
validate_plan
(
input_type
,
plan=None
,
declaration_mode=False
,
hard_validation=False
,
type_approval_mode=False
)
[source]
¶
Validate plan data.
Parameters:
input_type
(
str
) – Type of file input.
plan
(
dict
) – Plan data.
declaration_mode
(
bool
) – Use only the declaration data.
hard_validation
(
bool
) – Add extra data validations.
type_approval_mode
(
bool
) – Is launched for TA?
Returns:
Validated plan data.
Return type:
dict
Read the Docs
v: v4.1
Versions
latest
stable
v4.1
Downloads
html
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.