NCO tips
- Change variables attributes
more complete documentation here
ncatted -a attribute_name,variable_name,m,f,value infile.nc
- Rename variable or dimension
more complete documentation here
ncrename -v old_name,new_name infile.nc
ncrename -d old_name,new_name infile.nc
- Drop variables from a file
more complete documentation here
ncks -x -v variable1,variable2 infile.nc outfile.nc
- Average files
(useful in case you have output files averaged over 10Y and you want a 100Y average instead)
more complete documentation here
ncea File1.nc File2.nc Filex.nc Output.nc