6.2.12. load_inputs

load_inputs()[source]

Defines a module to load the input file of the CO2MPAS model.

Loads from files the inputs for the CO2MPAS model.

digraph dmap {
	node [style=filled]
	label = <dmap>
	splines = ortho
	style = filled
		138 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">cache_file_name</TD></TR></TABLE>> fillcolor=cyan shape=box style="rounded,filled" tooltip="File path."]
		139 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2" href="./dispatcher-4acc3ac54630cd8af3d355d4e2cf9388f1bd02d9/save_dill.html">cache_parsed_data</TD></TR></TABLE>> fillcolor=springgreen shape=box tooltip=cache_parsed_data]
		140 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2" href="./dispatcher-4acc3ac54630cd8af3d355d4e2cf9388f1bd02d9/get_cache_fpath.html">get_cache_fpath</TD></TR></TABLE>> fillcolor=springgreen shape=box tooltip=get_cache_fpath]
		141 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">input_file_name</TD></TR></TABLE>> fillcolor=cyan shape=box style="rounded,filled" tooltip="File path."]
		142 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2" href="./dispatcher-4acc3ac54630cd8af3d355d4e2cf9388f1bd02d9/load_from_dill.html">load_data_from_cache</TD></TR><TR><TD align="RIGHT" border="1">input_domain</TD><TD align="LEFT" border="1" href="./dispatcher-4acc3ac54630cd8af3d355d4e2cf9388f1bd02d9/check_cache_fpath_exists.html">check_cache_fpath_exists</TD></TR></TABLE>> fillcolor=springgreen shape=box tooltip="Load inputs from .dill file."]
		143 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2" href="./dispatcher-4acc3ac54630cd8af3d355d4e2cf9388f1bd02d9/load_from_dill-0.html">load_from_dill</TD></TR><TR><TD align="RIGHT" border="1">input_domain</TD><TD align="LEFT" border="1" href="./dispatcher-4acc3ac54630cd8af3d355d4e2cf9388f1bd02d9/check_file_format.html">check_file_format</TD></TR><TR><TD align="RIGHT" border="1">weight</TD><TD align="LEFT" border="1">5</TD></TR></TABLE>> fillcolor=springgreen shape=box tooltip="Load inputs from .dill file."]
		144 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2" href="./dispatcher-4acc3ac54630cd8af3d355d4e2cf9388f1bd02d9/lasso.html">load_from_xlasso</TD></TR><TR><TD align="RIGHT" border="1">input_domain</TD><TD align="LEFT" border="1" href="./dispatcher-4acc3ac54630cd8af3d355d4e2cf9388f1bd02d9/check_xlasso.html">check_xlasso</TD></TR><TR><TD align="RIGHT" border="1">weight</TD><TD align="LEFT" border="1">5</TD></TR></TABLE>> fillcolor=springgreen shape=box tooltip="High-level function to :term:`lasso` around spreadsheet's rect-regions     according to :term:`xl-ref` strings by using internally a :class:`Ranger` ."]
		145 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">overwrite_cache</TD></TR><TR><TD align="RIGHT" border="1">default</TD><TD align="LEFT" border="1">False</TD></TR></TABLE>> fillcolor=cyan shape=box style="rounded,filled" tooltip=overwrite_cache]
		146 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2" href="./dispatcher-4acc3ac54630cd8af3d355d4e2cf9388f1bd02d9/parse_excel_file.html">parse_excel_file</TD></TR><TR><TD align="RIGHT" border="1">input_domain</TD><TD align="LEFT" border="1" href="./dispatcher-4acc3ac54630cd8af3d355d4e2cf9388f1bd02d9/check_file_format-0.html">check_file_format</TD></TR><TR><TD align="RIGHT" border="1">weight</TD><TD align="LEFT" border="1">5</TD></TR></TABLE>> fillcolor=springgreen shape=box tooltip="Reads cycle's data and simulation plans."]
		147 [label=<<TABLE border="0" cellspacing="0"><TR><TD border="0" colspan="2">raw_data</TD></TR></TABLE>> fillcolor=cyan shape=box style="rounded,filled" tooltip="Input data."]
		148 [label=sink fillcolor=black fontcolor=white shape=egg]
			141 -> 143
			138 -> 142
			141 -> 144
			147 -> 139
			143 -> 147
			138 -> 139
			139 -> 148
			140 -> 138
			141 -> 146
			142 -> 147
			145 -> 142
			146 -> 147
			141 -> 142
			141 -> 140
			144 -> 147
}
load_inputs’ data
cache_file_name File path.
input_file_name File path.
overwrite_cache  
raw_data Input data.
sink Sink node of the dispatcher that collects all unused outputs.
load_inputs’ functions
cache_parsed_data  
get_cache_fpath  
load_data_from_cache Load inputs from .dill file.
load_from_dill Load inputs from .dill file.
load_from_xlasso High-level function to lasso around spreadsheet’s rect-regions according to xl-ref strings by using internally a Ranger .
parse_excel_file Reads cycle’s data and simulation plans.
Returns:The load input module.
Return type:SubDispatchFunction