You need to flip Gx and Gy when you call pyroms.grid.Gridgen.
hgrd = pyroms.grid.Gridgen(lonp, latp, beta, (Gy, Gx), proj=maproms)
python use the C matrix indexing and ordering convention.
Search found 3 matches
- Fri Jan 13, 2017 9:50 pm
- Forum: ROMS Tools and Techniques
- Topic: Setting horizontal resolution in pyroms
- Replies: 3
- Views: 4283
- Thu Nov 15, 2012 12:58 am
- Forum: ROMS Tools and Techniques
- Topic: Grid generation with Pyroms
- Replies: 1
- Views: 3104
Re: Grid generation with Pyroms
Etienne,
Can you please check that the parameters (theta_b, theta_s, ...) in your gridid file are consistant with the parameters used to generate the vertical grid?
Thanks,
Frederic
Can you please check that the parameters (theta_b, theta_s, ...) in your gridid file are consistant with the parameters used to generate the vertical grid?
Thanks,
Frederic
- Mon Nov 21, 2011 7:38 pm
- Forum: ROMS Tools and Techniques
- Topic: pyroms question
- Replies: 1
- Views: 2392
Re: pyroms question
Hi lleoex,
What are the horizontal grid dimension?
Can you add print statment in script in order to return the shape of z_u?
Thanks,
Fred
What are the horizontal grid dimension?
Can you add print statment in script in order to return the shape of z_u?
Thanks,
Fred