hydromt_sfincs.components.grid.SfincsGrid.create#

SfincsGrid.create(x0: float, y0: float, dx: float, dy: float, nmax: int, mmax: int, rotation: float, epsg: int)[source]#

Create a regular grid for the SfincsModel.

Parameters:
  • x0 (float) – x,y coordinates of the origin of the grid

  • y0 (float) – x,y coordinates of the origin of the grid

  • dx (float) – grid cell size in x and y direction

  • dy (float) – grid cell size in x and y direction

  • mmax (int) – number of grid cells in x and y direction

  • nmax (int) – number of grid cells in x and y direction

  • rotation (float, optional) – rotation of grid [degree angle], by default None

  • epsg (int, optional) – epsg-code of the coordinate reference system