marmot.formatters.formategret.ProcessEGRET#
- class ProcessEGRET(input_folder: pathlib.Path, output_file_path: pathlib.Path, *_, region_mapping: pandas.core.frame.DataFrame = Empty DataFrame Columns: [] Index: [], emit_names_dict: typing.Optional[dict] = None, **__)[source]#
Bases:
marmot.formatters.formatbase.Process
Process EGRET class specific data from a json database.
- Parameters
input_folder (Path) – Folder containing model input files.
output_file_path (Path) – Path to formatted h5 output file.
region_mapping (pd.DataFrame, optional) – DataFrame to map custom regions/zones to create custom aggregations. Defaults to pd.DataFrame().
emit_names_dict (dict, optional) – Dictionary to rename emission names. Defaults to None.
Methods
Attributes
EXTRA_PROPERTIES_CLASS
Maps simulation model property names to Marmot property names
UNITS_CONVERSION
Dictionary to convert units to standard values used by Marmot
data_collection
Dictionary model names to full filename path
get_input_data_paths
Gets a list of input files within the scenario folders
input_folder
Path to input folder