Ocean Modeling Discussion

ROMS/TOMS

Search for:
It is currently Fri Dec 14, 2018 8:29 am




Post new topic Reply to topic  [ 1 post ] 

All times are UTC

Author Message
 Post subject: restart files
PostPosted: Thu May 12, 2005 6:28 pm 
Offline
User avatar

Joined: Wed Jul 02, 2003 5:29 pm
Posts: 3517
Location: IMS/UAF, USA
In one of the recent ROMS updates for pre-version 3.0, the code now dumps an extra restart record if it gets in trouble. Upon restart, the code checks to see how many records are in the file. If it is more than two, it won't cycle between records one and two even with the cycle flag set to true. I'm getting mystery write errors probably due to some filesystem weirdness where things are fine on restart. However, if you don't do anything about it, the restart file is now going to grow uncontrolably. So here's the fix:

ncks -d time,4, nep4_rst.nc rest.nc

nep4_rst.nc is the old restart file containing five records and rest.nc will be the one-record new restart file. Remember that the NCO utilities count starting from zero. You also need to change the input file to point to rest.nc.


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:  
cron
Powered by phpBB® Forum Software © phpBB Group