NetCDF operators (NCO) version 4.3.5

Version 4.3.5 of the netCDF Operators (NCO) has been released. NCO is an Open Source package that consists of a dozen standalone, command-line programs that take netCDF files as input, then operate (e.g., derive new data, average, print, hyperslab, manipulate metadata) and output the results to screen or files in text, binary, or netCDF formats.

The NCO project is coordinated by Professor Charlie Zender of the Department of Earth System Science, University of California, Irvine. More information about the project, along with binary and source downloads, are available on the SourceForge project page.

From the release message:

The current release brings group support to ncra, ncea, and ncrcat. Now ten operators fully support group hierarchies: ncbo, ncea, ncecat, ncflint, ncks, ncpdq, ncra, ncrcat, ncrename, and ncwa. The operators that do not yet fully support group hierarchies are ncatted and ncap2.

Rounding errors can accumulate to worrisome levels during arithmetic performed on large (>~10,000) arrays of single precision floats. Now NCO has the --dbl switch that forces operators to coerce single-precision numbers to double-precision for arithemetic. It is expensive in terms of time and RAM, and often not warranted. Use this switch to guarantee preserving maximum precision. Or if you want your NCO answers on single-precision fields to always agree exactly with tools that always promote (NCL, Matlab, IDL). The manual now contains a detailed discussion of the issues.

Unfortunately progress sometimes comes at a price in bugs. 4.3.5 fixes a nasty ncwa bug present in 4.3.3 and 4.3.4. Nasty means that it could produce wrong answers that look right. Fortunately, it could only occur when simultaneously averaging and hyperslabbing, e.g.,

ncwa -a lat,lon -d lat,0.,90. in.nc out.nc

Such users should immediately upgrade to 4.3.5 and re-check results. For more information see the Known Problems list.

Additional details are available in the ChangeLog.

Comments:

Post a Comment:
Comments are closed for this entry.
News@Unidata
News and information from the Unidata Program Center
News@Unidata
News and information from the Unidata Program Center

Welcome

FAQs

Developers’ blog

Take a poll!

What if we had an ongoing user poll in here?

Browse By Topic
Browse by Topic
« November 2024
SunMonTueWedThuFriSat
     
2
3
4
5
6
7
8
9
10
11
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
       
Today