You're reading an old version of this documentation. If you want up-to-date information, please have a look at v0.8.2.
snl_d3d_cec_verify.gridfm package¶
- snl_d3d_cec_verify.gridfm.write_gridfm_rectangle(path, dx, dy, x0=0, x1=18, y0=1, y1=5)¶
Create a rectangular Delft3D flexible mesh grid, in a rectangular domain (
x0
,y0
,x1
,y1
), and save to the given path, in netCDF format.- Parameters:
path (
Union
[str
,Path
]) – destination path for the grid filedx (
Union
[int
,float
]) – grid spacing in the x-direction, in metresdy (
Union
[int
,float
]) – grid spacing in the y-direction, in metresx0 (
Union
[int
,float
]) – minimum x-value, in metres, defaults to0
x1 (
Union
[int
,float
]) – maximum x-value, in metres, defaults to18
y0 (
Union
[int
,float
]) – minimum y-value, in metres, defaults to1
y1 (
Union
[int
,float
]) – maximum y-value, in metres, defaults to5