is seagrid2roms calculating x and y distances correctly?

Report or discuss software problems and other woes

Moderators: arango, robertson

Post Reply
Message
Author
tasha
Posts: 15
Joined: Wed Nov 18, 2009 7:27 pm
Location: New York University

is seagrid2roms calculating x and y distances correctly?

#1 Unread post by tasha »

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

User avatar
kate
Posts: 4088
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: is seagrid2roms calculating x and y distances correctly?

#2 Unread post by kate »

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?

tasha
Posts: 15
Joined: Wed Nov 18, 2009 7:27 pm
Location: New York University

Re: is seagrid2roms calculating x and y distances correctly?

#3 Unread post by tasha »

Yep, pn and pm numbers make sense.
Thanks for clarifying that Kate!

-Tasha

Post Reply