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 ncremap
.
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
that 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.
New Features
-
ncclimo
acceptsmpassi
in place ofmpascice
,mpasseaice
, and accepts new MPAS output filenames of formyyyy-mm-01-00000
ncclimo -s 2 -e 3 -m mpassi -i drc_in -o drc_out
http://nco.sf.net/nco.html#ncclimo -
ncap2
allows optional scale_factor/add_offset arguments to itspack()
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.nc
http://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.
http://nco.sf.net/nco.html#wht_lst -
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.
http://nco.sf.net/nco.html#xml -
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.
http://nco.sf.net#bug_cdf5
Additional details are available in the ChangeLog.
good
Posted by Wenbin Min on November 06, 2018 at 07:57 AM MST #