Ocean Modeling Discussion

ROMS/TOMS

Search for:
It is currently Fri Jul 19, 2019 2:26 pm




Post new topic Reply to topic  [ 5 posts ] 

All times are UTC

Author Message
PostPosted: Mon Aug 24, 2009 6:49 pm 
Offline

Joined: Tue Oct 07, 2008 11:27 am
Posts: 23
Location: MetService - New Zealand
Hello everybody,

I am using ROMS for a regional application and I have a doubt considering "roms_ini.nc x roms_clm.nc". At "clm_ts.cdl", for example, the temp_time and salt_time dimensions are both 12, and that a can understand, because at roms_clm.nc are suposed to be the twelve months 3D tracers fields. But at "ini_hydro.cdl" the dimension TIME is set to UNLIMITED.

What would be the meaning of using more than one time dimension in roms_ini.nc at a ROMS run? Isn't the initial field suposed to be unique? What am I missing?

Thank you!!


Top
 Profile  
Reply with quote  
PostPosted: Mon Aug 24, 2009 10:04 pm 
Offline
User avatar

Joined: Wed Jul 02, 2003 5:29 pm
Posts: 3633
Location: IMS/UAF, USA
The idea is that you can use say, record 20 of a history file as your initial condition. You need to allow the possibility of the time dimension being unlimited.


Top
 Profile  
Reply with quote  
PostPosted: Tue Aug 25, 2009 1:57 am 
Offline

Joined: Tue Oct 07, 2008 11:27 am
Posts: 23
Location: MetService - New Zealand
Ok Kate, thanks for your awnser!!

I was confused because I have a script in matlab to make those roms_ini.nc files, and according to the script I was suposed to record the T and S fields as 4D variables... with 12 "times". I was pretty sure that ROMS was using the first time record of the 4D field as my initial conditions, but I was not so sure about what ROMS was doing to the rest of them. Now I understand that ROMS is using only one (first) and ignoring the rest, is that correct in this case?

again, thank you very much,

Rafael


Top
 Profile  
Reply with quote  
PostPosted: Tue Aug 25, 2009 7:19 pm 
Offline
User avatar

Joined: Wed Jul 02, 2003 5:29 pm
Posts: 3633
Location: IMS/UAF, USA
If there are 12 times, you can tell it which record to read with the NRREC parameter in the input file. Setting NRREC = -1 means read all the times and use the last one. Setting NRREC = 1 means use the first one. Setting NRREC = 0 means this is the start of a run, but you'd have to check the logs for GET_STATE to see which time it read.


Top
 Profile  
Reply with quote  
PostPosted: Wed Aug 26, 2009 1:09 am 
Offline

Joined: Tue Oct 07, 2008 11:27 am
Posts: 23
Location: MetService - New Zealand
Ok, perfect, thanks a lot Kate!


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

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