nco

Command-line operators for processing netCDF and HDF data files

brewmacoslinux
Try with needOr install directly
Source

About

Command-line operators for netCDF and HDF files

Commands

ncdumpncksncrancrcatncboncesncflintncpdqncrenamerncatted

Examples

Extract specific variables from a netCDF file$ ncks -v temperature,pressure input.nc output.nc
Average multiple netCDF files along the time dimension$ ncra input_*.nc output_averaged.nc
Display structure and metadata of a netCDF file$ ncdump -h input.nc