Table of Contents

Name

cf2cf - CF-netCDF to CF-netCDF file converter

Synopsis

cf2cf [-f format] [-i] [-o outfile] [-u] [-v] FILE [FILE ...]

Description

Convert CF-netCDF files to a single CF-netCDF file.

Variables in the input netCDF files are aggregated into as few multidimensional netCDF variables as possible using the aggregation rules based on the CF data model. See http://www.met.reading.ac.uk/~david/cf_aggregation_rules.html

The conversion is carried out internally using the python cf package, which must be installed. See http://code.google.com/p/cf-python

See http://www.met.reading.ac.uk/~david/cf2cf.html for more details and examples.

-f format --format=format
Set the netCDF format of the output file. Valid choices are ’NETCDF4’, ’NETCDF4_CLASSIC’, ’NETCDF3_64BIT’, and ’NETCDF3_CLASSIC’. If unset then assume ’NETCDF3_CLASSIC’.
-i, --ignore_ioerror
Ignore unreadable input files, such as empty files or broken symbolic links.
-o outfile, --output=outfile
Set the output CF-netCDF file name.
-u, --strict_units
Do not assume that numeric variables with the same standard name but missing units attributes have the same units for their data and therefore such variables will not be aggregated. If unset, then assume that numeric variables with the same standard name but missing units attributes have the same (nondimensionsal) units for their data, as per the CF conventions, and therefore may be aggregated (if they pass all of the other tests).
-v, --verbose
Verbose. Display a summary of the newly created netCDF file.

Author

Written by David Hassell.

License

Open Source Initiative MIT License. See http://www.opensource.org/licenses/mit-license.php

Bugs

The author would welcome reports of bugs at http://code.google.com/p/cf-python/issues/list


Table of Contents