I have 2 grid files (one 150x100 and one 330x170) for approximately the same area lat/lon coverage. The domain is 62N to 80N and 170E to 250E. I created the grids using seagrid and then ran seagrid2roms on them. I was looking in my grid files at xl and el (and x_rho, etc) and they seem to be off by almost a factor of 4. For el I get 8,711,123m and 8,810,337m respectively and for xl I have 6,497,473m and 6,572,886m. When I used a widget to calculate the distance between two lat/lon points, I estimate that the domain is approximately 2270km by 2000km.
Any thoughts? Did I miscalculate somewhere?
Thanks, Tasha
is seagrid2roms calculating x and y distances correctly?
Re: is seagrid2roms calculating x and y distances correctly?
I don't know how it's computing xl and el, but ROMS doesn't use them. It instead uses pm and pn to be 1/dx and 1/dy of each grid cell. Do those numbers make sense?
Re: is seagrid2roms calculating x and y distances correctly?
Yep, pn and pm numbers make sense.
Thanks for clarifying that Kate!
-Tasha
Thanks for clarifying that Kate!
-Tasha