Version 4.6.1 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:
4.6.1 is mainly a stability release to polish existing features and to
add minor new ones. The main new feature is that ncclimo
supports
incremental climatologies. ncatted
works much better with special
characters in attribute names, while preserving its ability to handle
regular expressions. ncflint
gains a weight-normalization option.
New Features
-
ncks
supports new provenance features released in netCDF-4.4.1. These provenance (and other) metadata are revealed by the--hdn
(or--hidden
) switch when dumping global metadata from a netCDF4 file:
ncks --cdl --hdn -M ~/nco/data/in_grp.nc
http://nco.sf.net/nco.html#ncflint -
Wenshan Wang of UCI contributed a Quick Reference Card suitable
for printing. Thanks, Wenshan!
http://nco.sf.net/nco_rfr_crd.pdf -
Add
ncflint -N
,--nrm
,--normalize
option sow1:=w1/(w1+w2), w2:=w2/(w1+w2)
http://nco.sf.net/nco.html#ncflint -
ncap2's
array()
function can now take a dimension list as the third argument, e.g.,n2=array(1.0,2.0,/$time,$lat,$lon/)
http://nco.sf.net/nco.html#ncap2 -
ncclimo
will now generate incremental climatologies, e.g., it will extend an existing climatology with the new files from a simulation to create an extended climatology. Only the new monthly files and the existing climatolgoy need be accessible — the old monthly files are not used. Invokencclimo
incremental mode with, e.g.,ncclimo -c caseid -s 1982 -e 1983 -i raw -o clm -r map.nc -S 1980
http://nco.sf.net/nco.html#ncclimo
Additional details are available in the ChangeLog.