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, ncclimo
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.
New Features
-
ncclimo
andncremap
accept the--d2f
flag to turn-on thedbl_flt
packing map that converts double-precision to single-precision.ncclimo --d2f ... ncremap --d2f ...
http://nco.sf.net/nco.html#dbl_flt
http://nco.sf.net/nco.html#ncpdq -
ncremap
adds missing values to single-precision MPAS variables as well as double. Previously it only added_FillValue
to doubles.
http://nco.sf.net/nco.html#ncremap - 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.
-
ncremap
improves metadata annotation for Tempestmonotr
maps. -
ncks
provides the--bsa
flag 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.nc
http://nco.sf.net/nco.html#bnr
Additional details are available in the ChangeLog.
for working
Posted by 徐贵香 on January 14, 2019 at 08:53 PM MST #
Processing NC data
Posted by fan xuewei on February 17, 2019 at 10:02 PM MST #