API reference#
DELWAQ model class#
Initialize#
|
This is the delwaq model class |
Setup methods#
|
Update config with a dictionary |
|
Setup the delwaq model schematization using the hydromodel region and resolution. |
|
Setup Delwaq monitoring points and areas options. |
|
Setup Delwaq hydrological fluxes. |
|
Setup Delwaq hydrological fluxes. |
|
Setup one or several emission map from raster data. |
|
Setup emission map from vector data. |
|
This component derives several emission maps based on administrative boundaries. |
|
Setup roads statistics needed for emission modelling. |
Attributes#
Returns the geometry of the model area of interest. |
|
Returns coordinate reference system embedded in region. |
|
Returns the resolution of the model staticmaps. |
|
Path to model folder. |
|
Model configuration. |
|
Model static maps. |
|
This property will be deprecated in future versions, use |
|
Model forcing. |
|
xarray.dataset representation of all hydrology maps |
High level methods#
Method to read the complete model schematization and configuration from file. |
|
Method to write the complete model schematization and configuration to file. |
|
|
Single method to build a model from scratch based on settings in opt. |
|
Single method to update a model based the settings in opt. |
|
Initialize the model root. |
General methods#
|
Update config with a dictionary |
|
Get a config value at key(s). |
|
Update the config dictionary at key(s) with values. |
|
Parse config from file. |
Write config files in ASCII format at <root/config>. |
|
|
This method will be deprecated in future versions. |
|
Read staticmaps at <root/staticdata> and parse to xarray |
Write staticmaps at <root/staticdata> in NetCDF and binary format. |
|
|
This method will be deprecated in future versions, use |
Read and staticgeoms at <root/staticgeoms> and parse to geopandas |
|
Write staticmaps at <root/staticgeoms> in model ready format |
|
|
Add data to forcing attribute. |
Read and forcing at <root/?/> and parse to dict of xr.DataArray |
|
|
Write staticmaps at <root/staticdata> in binary format and NetCDF (if write_nc is True). |
|
Add data to hydromaps re-using the set_staticmaps method |
|
Read hydromaps at <root/hydromodel> and parse to xarray |
Write hydromaps at <root/hydromodel> in PCRaster maps format. |