Version 4.7.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:
Version 4.7.5 is primarily a bugfix release for a single issue with
Version 4.7.4 inadvertently introduced a bug that mainly affects regridding of ALM/CLM/CTSM/ELM
land model data that contains "hidden" (unused) dimensions. The other new feature is
ncclimo automatically handles MPAS Seaice model output named with
the new names (mpassi) and new date convention,
yyyy-mm-01-00000. If these
fixes/features do not affect you there may be no reason to upgrade, yet see below for
other minor new features you may want.
mpassiin place of
mpasseaice, and accepts new MPAS output filenames of form
ncclimo -s 2 -e 3 -m mpassi -i drc_in -o drc_outhttp://nco.sf.net/nco.html#ncclimo
ncap2allows optional scale_factor/add_offset arguments to its
pack()method for those who wish to specify their own packing parameters. This override can ensure that multiple files use the same packing parameters.
ncap2 -s 'var_pck=pack(var,-0.001,40.0)' in.nc out.nchttp://nco.sf.net/nco.html#ncap2_mth
NCO's security whitelist allows an extended character set when the input file explicitly invokes
the DAP4 protocol (e.g.,
dap4://foo.com/in.nc). This allows DAP4 input to utilize the full set of constraint expressions.
XML printing now includes the "
ncml:" prefix on most tags. This aligns NCO XML with XML produced by toolsUI version 4.6.11, the latest (AFAICT) netCDF Java libsrary. If this change bothers you or breaks your XML workflow, let us know and we can make it optional.
Repeated notice: netCDF 4.6.1 fixes the CDF5 bug. Yay! We STRONGLY recommend that CDF5 users
upgrade to netCDF 4.6.1. NCO error messages and HINTs have been updated to better
describe the best practices to identify and avoid this nasty bug.
Additional details are available in the ChangeLog.