rubem.configuration.input_table_files.InputTableFiles
- class InputTableFiles(**data)[source]
-
Bases:
BaseModelRepresents the lookup table files used by the model.
- Parameters:
-
rainy_days – Path to the rainy days lookup table file.
a_i – Path to the impervious area fraction lookup table file.
a_o – Path to the open water area fraction lookup table file.
a_s – Path to the bare soil area fraction lookup table file.
a_v – Path to the vegetated area fraction lookup table file.
manning – Path to the Manning’s roughness coefficient lookup table file.
bulk_density – Path to the bulk density lookup table file.
k_sat – Path to the saturated hydraulic conductivity lookup table file.
t_fcap – Path to the field capacity lookup table file.
t_sat – Path to the saturated content lookup table file.
t_wp – Path to the wilting point lookup table file.
rootzone_depth – Path to the rootzone depth lookup table file.
kc_min – Path to the minimum crop coefficient lookup table file.
kc_max – Path to the maximum crop coefficient lookup table file.
lai_max – Path to the maximum leaf area index lookup table file, read per land use class when
ModelConstants.leaf_area_interception_max_from_tableisTrue. Defaults toNone.validate_input – If
True, checks that every file given exists and is not empty. Defaults toTrue.
- Raises:
-
FileNotFoundError – If any of the input lookup table files does not exist.
ValueError – If any of the input lookup table files is empty.
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
Methods
Attributes
rainy_daysa_ia_oa_sa_vmanningbulk_densityk_satt_fcapt_satt_wprootzone_depthkc_minkc_maxlai_maxvalidate_input- model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'frozen': True}
-
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].