hydromt_wflow.pcrm.read_staticmaps_pcr#
- hydromt_wflow.pcrm.read_staticmaps_pcr(root: Path | str, crs: int = 4326, obj: object = None, **kwargs)[source]#
Read pcraster staticmaps at <root/staticmaps> and parse to xarray.
This function can be used to read the staticmaps from previous wflow python models.
- Parameters:
root (Path | str) – Path to the root directory of the model. Assumes this folder contains a staticmaps folder with the pcraster maps.
crs (int, optional) – Coordinate reference system of the maps, by default 4326.
obj (object, optional) – Wflow model object to set the grid and crs based on the read staticmaps, by default None.
kwargs – Additional keyword arguments are passed to open_mfraster.
- Returns:
Dataset with the staticmaps.
- Return type:
xr.Dataset