Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

Set history file written in netcdf4 format rather than 64-bit offset(netcdf3) in CESM2

Hi all,

I wonder if there is a setting I could use to make the history file written in netcdf4 format? Currently, in CESM1 and CESM2, the history file is written in "64-bit offset", a version of netcdf3, which really makes instant opening struggle.

Thanks!
 

erik

Erik Kluzek
CSEG and Liaisons
Staff member
There's a couple different options in PIO_NETCDF_FORMAT. The list of options might be slightly different depending on the CESM version. There are netcdf4 options that can be set in PIO_TYPENAME, which you could also use. If you set PIO_TYPENAME to one of the netcdf4 options you get netcdf4 output and the PIO_NETCDF_FORMAT is ignored. I don't have experience using the NetCDF4 options though, and I believe getting the build to work with netcdf4 is more challenging. So you'll have to try it out and see what works.
 
Top