How can I write concise global attributes into netcdf files

Discussion on computers, ROMS installation and compiling

Moderators: arango, robertson

Post Reply
Message
Author
shifei
Posts: 30
Joined: Thu Aug 01, 2013 3:11 pm
Location: Ocean University of China

How can I write concise global attributes into netcdf files

#1 Unread post by shifei »

The global attributes are too long, and I want concise ones in the NETCDF files.
Thanks for your advises. :P

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

Re: How can I write concise global attributes into netcdf fi

#2 Unread post by kate »

You are talking about the ROMS output files? They are set in def_info.F:

Code: Select all

!  Define global attributes.

User avatar
arango
Site Admin
Posts: 1349
Joined: Wed Feb 26, 2003 4:41 pm
Location: DMCS, Rutgers University
Contact:

Re: How can I write concise global attributes into netcdf fi

#3 Unread post by arango »

This is absurd. In never heard anything like it. The buffer for the global attributes is extremely smaaaaaaall compared with the data. Obviously, you need to read more about the NetCDF files and its unique format. You cannot remove the global attributes in any of the ROMS history file because the model will check out such attributes for consistency during restart.

This attributes gives the user the capability to reproduce the results if so desired latter on.

Post Reply