Skip to content

v0.2.0

Compare
Choose a tag to compare
@DirkEilander DirkEilander released this 02 Aug 07:13
· 562 commits to main since this release
5dbee7b

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 and setup_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 and setup_p_forcing with support for spatial uniform precip
  • setup_merge_topobathy to merge a new topo/bathymetry dataset with the basemap DEM
  • setup_mask and setup_bounds methods to setup the sfincs mask file
  • setup_structures thd/weir files are read/written as part of read_staticgeoms
  • read_states, write_states methods with support for restart
  • read_results
  • update_spatial_attrs and get_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