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 gridy0 (
float) – x,y coordinates of the origin of the griddx (
float) – grid cell size in x and y directiondy (
float) – grid cell size in x and y directionmmax (
int) – number of grid cells in x and y directionnmax (
int) – number of grid cells in x and y directionrotation (
float, optional) – rotation of grid [degree angle], by default Noneepsg (
int, optional) – epsg-code of the coordinate reference system