18 | | coming soon. |
| 16 | VAPOR has its own mechanism for storing field data and its associated attributes (metadata). The components of a VAPOR Data Collection (VDC) are distributed across different disk files. All metadata for a VDC are stored in a single .vdf file. See [[http://www.vapor.ucar.edu/docs/vapor-data-preparation/vapor-data-preparation|here]] for more information.\\ |
| 17 | \\ |
| 18 | For the conversion of NetCDF data output from PALM to the VAPOR format, the tool ncdf2vdf has been developed at IMUK. nc2vdf collects a list of parameters and uses the command line tools vdfcreate and ncdf2vdf, that come with VAPOR, to create the metadata file and populate the data collection automatically with all variables and time steps chosen by the user.\\ |
| 19 | The tool can be used in two ways, an interactive command line prompt asking for all necessary information and a non interactive mode reading all input parameters from a configuration file. The non interactive mode may be preferred for converting large data sets and can be used as a batch job on any HLRN system.\\ |
| 20 | \\ |
| 21 | The script can be started from the terminal in interactive mode by:\\ |
| 22 | {{{nc2vdf}}} ,\\ |
| 23 | or providing a configuration file via:\\ |
| 24 | {{{nc2vdf ./anypath/nc2vdf.config}}} . |
| 25 | \\ |
| 26 | An example configuration file can be found in the folder trunk/SCRIPTS. The configuration uses NCL syntax.\\ |
| 27 | \\ |
| 28 | To use nc2vdf on your own workstation with VAPOR installed (Linux or Mac systems) you may edit the appropriate lines in the NCL script nc2vdf.ncl. |