hydromt_wflow.WflowSedimentModel.write_forcing¶
- WflowSedimentModel.write_forcing(fn_out=None, chunksize=1, decimals=2, **kwargs)¶
write forcing at fn_out in model ready format.
If no fn_out path is provided and path_forcing from the wflow toml exists, the following default filenames are used:
Default name format (with downscaling): inmaps_sourcePd_sourceTd_methodPET_freq_startyear_endyear.nc
Default name format (no downscaling): inmaps_sourceP_sourceT_methodPET_freq_startyear_endyear.nc
- Parameters
fn_out (str, Path, optional) – Path to save output netcdf file; if None the name is read from the wflow toml file.
chunksize (int, optional) – Chunksize on time dimension when saving to disk. By default 1.
decimals – Round the ouput data to the given number of decimals.
int – Round the ouput data to the given number of decimals.
optional – Round the ouput data to the given number of decimals.