--- The cfa tool creates and writes to disk the aggregated CF fields contained in the input files. For example (using the same files as in the cfdump example): $ cfa -o new_file.nc file1.nc file2.nc $ cfdump -s new_file.nc <CF Field: air_temperature(time(1200), latitude(64), longitude(128)) K> See http://www.met.reading.ac.uk/~david/cfa.1 for more examples. CFA-netCDF format files ----------------------- Both tools accept CFA-netCDF format files as input, and cfa also outputs such files. A CFA-netCDF file is actually a netCDF file following the CF convention with the addition of a private convention (the CFA convention) to allow the data to be omitted, because it resides in the individual files that are being aggregated. CFA-netCDF files are consequently typically rather small. The suffix .nca is suggested for CFA-netCDF files. The CFA convention has been designed specifically to cope with the full generality of aggregations made possible by the CF aggregation rules. For example (using the same files as in the cfdump example): $ cfa -f CFA -o new_file.nca file[12].nc $ cfdump -s new_file.nca <CF Field: air_temperature(time(1200), latitude(64), longitude(128)) K> See http://www.met.reading.ac.uk/~david/cfa/0.3/ for details. Met Office (UK) PP format files ------------------------------- Both utilities accept PP format files as input, but output from cfa is only in CF-netCDF or CFA-netCDF format. Therefore cfa may be used as a PP to CF converter. cf-python --------- Both utilities are built on the cf-python library, which also offers an interactive programming environment in which you may read, write, create and manipulate CF fields, including those which are larger than the available machine memory. How do you get these tools and cf-python? ----------------------------------------- They are automatically installed with the open source cf-python library version 0.9.7 (download from http://cfpython.bitbucket.org/). Currently, this library only works on Linux. I hope that these utilities will be useful. I would welcome any feedback, particularly if you find a dataset for which they don't work as expected, and will be glad to make any improvements to cfdump, cfa or the cf-python library. 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 : +44 118 3785613 E-mail: d.c.hassell at reading.ac.ukReceived on Wed Apr 24 2013 - 07:54:58 BST
This archive was generated by hypermail 2.3.0 : Tue Sep 13 2022 - 23:02:41 BST