Version 4.3.4 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:
Ooops. The last two releases of ncpdq
had broken unpacking.
It unpacked variables correctly, but inadvertently stored the results
with the original packing attributes. Successive operations would
therefore unpack the variable twice, leading to incorrect results.
This annoys us enough to relase 4.3.4 early, before converting any
more operators to work with groups. Upgrade recommended if you ever
use ncpdq
to unpack.
There are also a few new features: including more legible CDL printing of strings, and a new switch that overrides the default netCDF unpacking algorithm with the HDF unpacking algorithm.
Multi-slabbing was introduced to NCO by Henry Butowsky in 2002 and I've never fully understood its capabilities. I learned a lot more about MSA in the last few weeks, and have now documented it. Read the docs referenced below and you too may be surprised at how easy MSA makes complex dataset manipulation like rotating grids.
Additional details are available in the ChangeLog.