18 | | For the conversion of NetCDF data output from PALM to the VAPOR format, the tool nc2vdf has been developed at IMUK. It is based on NCL and available from r1046. In order to use the tool on any remote host, the PALM utility programs must be recompiled ({{{mbuild -u -h ...}}}).\\ |
19 | | \\ |
20 | | 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.\\ |
21 | | The tool can be used in two ways, an interactive command line prompt asking for all necessary information and a non interactive batch mode reading all input parameters from a configuration file. The batch mode may be preferred for converting large data sets and can be used as a batch job at HLRN (so far only hicegate2 and bicegate2 are allowed). For large batch jobs that would exceed the wallclock time limit of the shell, you might want to submit a batch job (currently only possible on the UV systems).\\ |
22 | | \\ |
23 | | === Starting the conversion === |
24 | | The conversion can be started interactively, as local batch job at IMUK/HLRN or as batch job at UV. To use nc2vdf on your own workstation with VAPOR installed (Linux or Mac systems), you may edit the appropriate lines in the configuration file {{{nc2vdf.config}}}). The following instructions have to been executed in the directory where the data reside. |
| 18 | For conversion of netCDF data to VDC, one can use the VAPOR command line tools vdfcreate and nc2vdf. |
26 | | ==== Interactive mode at IMUK/HLRN ==== |
27 | | Simply type\\\\ |
28 | | {{{nc2vdf}}}\\\\ |
29 | | and the script will guide you trough the conversion. |
30 | | |
31 | | ==== Batch mode at IMUK/HLRN ==== |
32 | | Provide a configuration file (usually {{{nc2vdf.config}}}). An example configuration file can be found in the folder {{{trunk/SCRIPTS/}}}. The configuration uses NCL syntax. Please see the instructions and comments in the example file for more information. Run the script as follows:\\\\ |
33 | | {{{nc2vdf ./anypath/nc2vdf.config}}} |
34 | | |
35 | | ==== Batch mode on other workstations ==== |
36 | | Since r1110, you can easily use nc2vdf on other systems than HLRN/IMUK. Therefore you need to adapt the appropriate block of the configuration file {{{nc2vdf.config}}} to your machine. Please see the instructions in the example file. Run the script as described above. |
37 | | |
38 | | ==== Batch mode on UV at HLRN ==== |
39 | | For submitting a batch job to the UV system, a job script is required. Please find a default job script in {{{trunk/SCRIPTS/batch_nc2vdfcat}}}. The script should be copied to the directory where your data resides. Change into this directory and submit the job as follows:\\\\ |
40 | | {{{msub batch_nc2vdfcat}}} |