hydromt_sfincs.SfincsModel.setup_grid#
- SfincsModel.setup_grid(x0: float, y0: float, dx: float, dy: float, nmax: int, mmax: int, rotation: float, epsg: int)[source]#
Setup a regular or quadtree grid.
- 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, by default None