v0.2.0
Bugfix
- scsfile variable in
setup_cn_infiltration
changed to maximum soil moisture retention [inch]; was curve number [-] - fix setting delimited text based geodatasets for h and q forcing.
Changed
- Bumped minimal required hydromt vesion to 0.4.2
- splitted
setup_basemaps
into multiple smaller methods:setup_merge_topobathy
,setup_mask
andsetup_bounds
- separated many low-level methods into utils.py and plots.py
- save bzs/bzd & dis/src only as GeoDataArray in forcing and do not copy the locations in staticgeoms.
- sort src/bnd files on x_dim for comparibility between OS
- staticmaps are by default saved (and read) in S->N orientation as this matches the SFINCS better.
Added
support for SFINCS files:
- structures: sfincs.thd & sfincs.weir
- results: sfincs_map.nc & sfincs_his.nc
- states: sfincs.restart
- forcing: sfincs.precip
New methods:
setup_p_forcing_from_grid
andsetup_p_forcing
with support for spatial uniform precipsetup_merge_topobathy
to merge a new topo/bathymetry dataset with the basemap DEMsetup_mask
andsetup_bounds
methods to setup the sfincs mask filesetup_structures
thd/weir files are read/written as part of read_staticgeomsread_states
,write_states
methods with support for restartread_results
update_spatial_attrs
andget_spatial_attrs
(previously part of read_staticmaps)
New workflows:
merge_topobathy
mask_topobathy
snap_discharge
river_inflow_points
&river_outflow_points
Documentation
- build from python example
- overviews with SfincsModel setup components & SfincsModel data
Deprecated
setup_p_gridded