BoldingBruggeman / getm-rewrite

Rewrite of the General Estuarine Transport Model (GETM) in Python (mostly) and Fortran (performance-critical sections)
https://pygetm.readthedocs.io/
Other
7 stars 3 forks source link

What information is the optimal to parse to init_domain()? #8

Closed bolding closed 2 years ago

bolding commented 3 years ago

1) For idealistic cartesian cases - providing dx, dy and nx, ny

2) Reading from a bathymetry file the natural information to provide is the coordinates of the T points - where you have the depth values and then calculate dx, dy + x, y, dx, dy for the U, V and X grids - this will work for both cartesian and spherical grids

3) For curvilinear grids the cell faces must be provided. This makes specification of U,V and X points straight forward

bolding commented 2 years ago

Full support for very generic domain configuration is in place