NCO manipulates data stored in netCDF-accessible formats, including HDF4 and HDF5. It also exploits the geophysical expressivity of many CF (Climate & Forecast) metadata conventions, the flexible description of physical dimensions translated by UDUnits, the network transparency of OPeNDAP, the storage features (e.g., compression, chunking, groups) of HDF (the Hierarchical Data Format), and many powerful mathematical and statistical algorithms of GSL (the GNU Scientific Library). See the NCO webpages for detailed documentation.
Load the NCO module corresponding to the version you want to use, e.g
module load NCO/4.6.3-nsc1
This will add the NCO commands to your search path. NCO operators:
ncap ncap2 ncatted ncbo ncdiff ncea ncecat ncflint ncks ncpdq ncra ncrcat ncrename ncwa
Please try not run NCO on the login node! To run NCO interactively, allocate a compute node for interactive use and then run NCO operations. E.g average five files (85.nc, 86.nc, 87.nc, 88.nc, 89.nc) over the record dimension:
interactive -N1 --exclusive -t 00:30:00 module load NCO/4.6.3-nsc1 ncra 85.nc 86.nc 87.nc 88.nc 89.nc 8589.nc