hydromt_delwaq.workflows.forcing.hydrology_forcing_em#
- hydromt_delwaq.workflows.forcing.hydrology_forcing_em(ds: ~xarray.core.dataset.Dataset, ds_model: ~xarray.core.dataset.Dataset, timestepsecs: int, include_transport: bool = True, logger: ~logging.Logger = <Logger hydromt_delwaq.workflows.forcing (WARNING)>) Dataset [source]#
Calculate hydrology forcing data for emission model.
- Parameters:
ds (xr.Dataset) –
Dataset containing the EM forcing to resample.
- Required variables without transport: [‘time’, ‘precip’, ‘runPav’,
’runUnp’, ‘infilt’]
- Required variables with transport: [‘time’, ‘precip’, ‘runPav’,
’runUnp’, ‘infilt’, ‘exfilt*’, ‘vwcproot’, ‘q_land’, ‘q_ss’]
ds_model (xr.Dataset) –
Dataset containing the model grid.
Required variables: [‘mask’, ‘modelmap’]
timestepsecs (int) – Model timestep in seconds.
include_transport (bool, optional) – If False (default), only use the vertical fluxes for emission [precip, runPav, runUnp, infilt, totflw]. If True, includes additional fluxes for land and subsurface transport [precip, runPav, runUnp, infilt, exfilt, vwcproot, q_land, q_ss].
- Returns:
ds_out – Dataset containing the processed hydrology data.
- Return type:
xr.Dataset