⇐ ⇒

[CF-metadata] cf2cf - a new tool

From: David Hassell <d.c.hassell>
Date: Mon, 19 Mar 2012 17:28:55 +0000

Hello,

I'd like to advertise a hopefully useful new tool called 'cf2cf' for
combining many CF-netCDF files into a single CF-netCDF file, where the
input fields are aggregated into as few multidimensional netCDF
variables as possible.

This is a command line utility which utilizes the proposed CF
aggregation rules (trac ticket #78) to combine CF fields based on
their metadata. In particular differing variables' units, dimension
order, dimension direction and netCDF variable names are are accounted
for in the aggregation process.

A quick, simple example:

% cf2cf -o one_output_file.nc lots_of_input_files*.nc

All details, including full documentation, more examples and
installation, may be found at
http://www.met.reading.ac.uk/~david/cf2cf.html

This tool uses the python cf package
(http://code.google.com/p/cf-python), which also makes the same CF
aggregation and the CF data model (trac ticket #68) available in an
API, in a memory efficient manner.

Any feedback, positive or negative, on cf2cf, the CF aggregation rules
and the cf python package would, of course, be most gratefully
received, to help make these better.

All the best,

David

--
David Hassell
National Centre for Atmospheric Science (NCAS)
Department of Meteorology, University of Reading,
Earley Gate, PO Box 243,
Reading RG6 6BB, U.K.
Tel   : 0118 3785613
Fax   : 0118 3788316
E-mail: d.c.hassell at reading.ac.uk
Received on Mon Mar 19 2012 - 11:28:55 GMT

This archive was generated by hypermail 2.3.0 : Tue Sep 13 2022 - 23:02:41 BST

⇐ ⇒