Spliting NetCDF output

Bug reports, work arounds and fixes

Moderators: arango, robertson

Post Reply
Message
Author
andres
Posts: 54
Joined: Tue May 06, 2003 4:35 pm
Location: University of Concepcion
Contact:

Spliting NetCDF output

#1 Unread post by andres »

Hi,

How do I split the NetCDF output files (roms_his.nc).

I would like to have several files rather that a huge one.

Thanx,

Andres

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

#2 Unread post by kate »

Well, you can split it by records, forcing ROMS to start writing a new file after some number of records. The related code this isn't completely bug-free, but works well enough to be useful. See the NDEFHIS parameter in ocean.in. It's best of you can tell ROMS to run for some multiple of NDEFHIS timesteps - I start a new file every ten days/records and run in 120 day chunks.

If you've already got a large file and you only want to bring back say sea surface temperature, you can use NCO.

Post Reply