Version 5.2.9 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 5.2.9 significantly improves the unpacking of ELM/CLM/CTSM history and restart datasets. ncclimo and ncremap benefit from a few updates and fixes. This release many be skipped if these changes do not interest you.
New Features
-
ncks
leveled-up the way it unpacks ELM/CLM history/restart files. This is by far the biggest feature in this release. New features include support for PFTs in history files, support for topounits in ELM (PCT_LANDUNIT, PCT_NAT_PFT, TS_TOPO), a workaround for invalid topounits coordinates, and outputting a pft coordinate variable with vegetation names.ncks --s1d history_h2.nc out.nc # History files usually h2, h3... ncks --s1d --hrz=history.nc restart.nc out.nc # Restart files
http://nco.sf.net/nco.html#s1d
http://nco.sf.net/nco.html#unpack_sparse -
ncremap
now automagically horizontally regids the latest EAMxx and SCREAM files without needing manual invocation of long, hairy options. In particular, users can invokencremap -P eamxx --map=map.nc eamxx.nc out.nc
instead of this:ncremap -P eamxx --prm_opt=time,lwband,swband,ilev,lev,plev,cosp_tau,cosp_cth,cosp_prs,dim2,ncol --map=map.nc eamxx.nc out.nc
http://nco.sf.net/nco.html#eamxx
Additional details are available in the ChangeLog.