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_flag
Edit on GitHub
validate_flag
¶
validate_flag
(
flag=None
,
declaration_mode=False
,
type_approval_mode=False
)
[source]
¶
Validate flags data.
Parameters:
flag
(
dict
) – Flags data.
declaration_mode
(
bool
) – Use only the declaration data.
type_approval_mode
(
bool
) – Is launched for TA?
Returns:
Validated flags 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
.