hydromt_wflow.WflowModel.setup_glaciers#

WflowModel.setup_glaciers(glaciers_fn: str | Path | GeoDataFrame, min_area: float = 1.0, output_names: Dict = {'glacier_ice__initial_leq-depth': 'glacier_initial_leq_depth', 'glacier_surface__area_fraction': 'glacier_fraction'}, geom_name: str = 'glaciers')[source]#

Generate maps of glacier areas, area fraction and volume fraction.

The data is generated from features with min_area [km2] (default is 1 km2) from a database with glacier geometry, IDs and metadata.

The required variables from glaciers_fn dataset are glacier ID ‘simple_id’. Optionally glacier area ‘AREA’ [km2] can be present to filter the glaciers by size. If not present it will be computed on the fly.

Adds model layers:

  • meta_glacier_area_id map: glacier IDs [-]

  • glacier_fraction map: area fraction of glacier per cell [-]

  • glacier_initial_leq_depth map: storage (volume) of glacier per cell [mm]

Parameters:
  • glaciers_fn

    Name of data source for glaciers, see data/data_sources.yml.

    • Required variables: [‘simple_id’]

  • min_area (float, optional) – Minimum glacier area threshold [km2], by default 0 (all included)

  • output_names (dict, optional) – Dictionary with output names that will be used in the model netcdf input files. Users should provide the Wflow.jl variable name followed by the name in the netcdf file.

  • geom_name (str, optional) – Name of the geometry to be used in the model, by default “glaciers” for glaciers.geojson.