hydromt_wflow.WflowModel.write_geoms#

WflowModel.write_geoms(geoms_fn: str = 'staticgeoms', precision: int | None = None)[source]#

Write geoms in GeoJSON format.

Checks the path of geoms_fn using both model root and dir_input. If not found uses the default path staticgeoms in the root folder.

Parameters:
  • geoms_fn (str, optional) – Folder name/path where the static geometries are stored relative to the model root and dir_input if any. By default “staticgeoms”.

  • precision (int, optional) – Decimal precision to write the geometries. By default None to use 1 decimal for projected crs and 6 for non-projected crs.