A CF-netCDF to CF-netCDF file converter with aggregation
Variables in the input netCDF files are aggregated into as few multidimensional netCDF variables as possible using the CF aggregation rules based on the CF data model at version 1.5 of the CF conventions.
In particular, differing netCDF variables' units, dimension order and dimension direction are accounted for in the aggregation process.
The conversion is carried out internally using the python cf package, which must be installed.
>> man cf2cf >> cf2cf −o output.nc file*.nc >> cf2cf −f NETCDF4_CLASSIC −i −u −v file.nc file[a−z].nc
During installation of cf-python, the
cf2cf
script is automatically placed in a location in the
environment's PATH
, but its man page
(scripts/man1/cf2cf.1
) needs to be moved by hand to a
location in the environment's MANPATH
.
formula_terms
transforms are not aggregatable currently.
ancillary_variables
, flag_values
, flag_masks
and flag_meanings
are not aggregatable currently.
Contact:
E-mail: d.c.hassell@reading.ac.uk
David Hassell
National Centre for Atmospheric Science (NCAS)
Department of Meteorology, University of Reading,
Earley Gate, PO Box 243,
Reading RG6 6BB,
U.K.