hydromt.model.components.GridComponent.read#

GridComponent.read(filename: str | None = None, **kwargs) None[source]#

Read model grid data at <root>/<fn> and add to grid property.

key-word arguments are passed to open_nc()

Parameters:
  • filename (str, optional) – filename relative to model root, by default ‘grid/grid.nc’

  • **kwargs (dict) – Additional keyword arguments to be passed to the open_nc method.