Ocean Modeling Discussion

ROMS/TOMS

Search for:
It is currently Thu Aug 16, 2018 4:32 am




Post new topic Reply to topic  [ 1 post ] 

All times are UTC

Author Message
PostPosted: Fri Dec 02, 2011 2:16 pm 
Offline

Joined: Wed Sep 07, 2011 4:13 pm
Posts: 24
Location: GFZ Potsdam
Hi,

a suggestion to the subroutine "hindices" that would probably be easy to write and extremely helpful in certain cases: There should be an error message for when the condition
Code:
((Ygrd(1,j  ).le.Ypos(mp,np)).and.(Ygrd(1,j+1).gt.Ypos(mp,np)))
(and vice versa for X) is never satisfied. More specifically, in my case, the latitude dimension of my forcing fields went from 90 to -90, but ROMS expected it to be from -90 to 90, thus the above condition was never fulfilled (there is, for example, no number smaller than 70 but at the same time larger than 71) and the forcing fields were never read. I spent hours trying to locate this error -- a specific error message might prevent others from doing so.

Otherwise, thanks for all the commenting in the code, this was really helpful!

Cheers,
Julian


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group