hydromt_delwaq.DelwaqModel.read_grid#

DelwaqModel.read_grid(fn: str = 'staticdata/{name}.dat', **kwargs)[source]#

Read grid at <root/fn> and parse to xarray.

For now, this function only allows to read the netcdf version of the grid.

Parameters:

fn (str, optional) – filename relative to model root and should contain a {name} placeholder, by default ‘staticdata/{name}.dat’. For the netcdf file, the placeholder will be replaced by the name staticdata.