Version 4.7.8 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.8 contains many improvements to help convert
ESM output into CMIP6 timeseries format. In particular,
coordinates better with
ncremap when processing MPAS data and
regridding. They can use
ncpdq's new feature to convert doubles to
floats, and raw binary output can now be byte-swapped to ease creation
of offline datasets for some models like WRF and CICE.
--d2fflag to turn-on the
dbl_fltpacking map that converts double-precision to single-precision.
ncclimo --d2f ... ncremap --d2f ...http://nco.sf.net/nco.html#dbl_flt
ncremapadds missing values to single-precision MPAS variables as well as double. Previously it only added
- NCO takes advantage of faster stride access in netCDF 4.6.2. Previously NCO used its own workaround to accelerate strides. It will continue to do so with older version of netCDF.
ncremapimproves metadata annotation for Tempest
--bsaflag to invoke a byte-swap algorithm. Setting this option causes unformatted binary output (with
--bnr) to be output in byte-swapped order relative to the host machine:
ncks -O -v uint32_var.? --bsa=1 -b foo.bnr in_grp.nc foo.nchttp://nco.sf.net/nco.html#bnr
Additional details are available in the ChangeLog.