Changes between Version 6 and Version 7 of doc/app/iofiles/pids/vm


Ignore:
Timestamp:
Oct 21, 2020 12:25:55 PM (5 years ago)
Author:
suehring
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • doc/app/iofiles/pids/vm

    v6 v7  
    125125=== [=#example '''Creating input setup files'''] ===
    126126
     127palm_cvd has two options. First, the custom-mode, where you can manually setup a variable number of measurements points (in UTM coordinates) and specify the respective output variables yourself. However, so far only point- or tower measurements are possible, complex trajectories cannot be described this way.
     128In the second mode, palm_cvd already reads existing NetCDF files from observation campaigns and extract the required information. However, this requires that the input NetCDF files are already formatted according to the [UC]2 data standard.
     129
    127130An example setup file for virtual measurements can be found [[attachment:vm_driver|here]]. This file was created with the script [source:palm/trunk/SCRIPTS/palm_cvd palm_cvd] which comes with revision -r4400. To execute the script just run {{{palm_cvd .cvd.config_<your file suffix>}}}. [source:palm/trunk/SCRIPTS/palm_cvd palm_cvd] can be steered with a configuration file. In case 'real-world' campaigns shall be emulated, [source:palm/trunk/SCRIPTS/palm_cvd palm_cvd] reads the relevant coordinate information of the observational data, the sampled quantities as well as further metatdata, and merges these into a setup file, so that PALM can internally setup the corresponding sampling locations on the numeric grid. Therefore,  [source:palm/trunk/SCRIPTS/palm_cvd palm_cvd] assumes that the 'real-world' data follows the (UC)2 data standard. With this approach, trajectory measurements (e.g. airborne- or other mobile measurements), stationary tower measurements, or vertical soundings can be emulated in PALM. \\
    128 Further, independent of any campaign data, it is possible to prescribe additional sites with [source:palm/trunk/SCRIPTS/palm_cvd palm_cvd],  where the respective UTM coordinates and the sampled quantities need to be specified in the config file. At the moment only stationary coordinates can be specified in the config file. However, it is planned to extend palm_cvd and its config file to be able to specify also trajectory measurements or more advanced sampling approaches such as Lidar scans. 
    129 
     131Further, independent of any campaign data, it is possible to prescribe additional sites with [source:palm/trunk/SCRIPTS/palm_cvd palm_cvd],  where the respective UTM coordinates and the sampled quantities need to be specified in the config file (custom-mode). At the moment only stationary coordinates can be specified in the config file. However, it is planned to extend palm_cvd and its config file to be able to specify also trajectory measurements or more advanced sampling approaches such as Lidar scans. 
     132
     133{{{palm_cvd}}} reads a config file (a default config file is available in /trunk/SCRIPTS/.cvd.config.default). The measurement input file requires a number of global attributes which you can specify accordingly. If you cannot give any reasonable information here, just leave it empty.
     134
     135{{{
     136[global]
     137
     138author = name, mail-adress
     139contact_person =
     140acronym =
     141comment =
     142data_content =
     143dependencies =
     144keywords =
     145source =
     146campaign = iop 1
     147location = B
     148site = Ernst Reuter Platz
     149institution = Leibniz Universität Hannover, Institute of Meterology and Climatology # for (UC)2 conform in/output please follow guidelines in table A3
     150palm_version = 6.0
     151references =
     152}}}
     153
     154In case there exist already NetCDF files with the required metadata, you need to specify the path to the data in the input-section:
     155{{{
     156[input]
     157
     158data_path = < path to your observational input data >
     159}}}
     160If you do not have such files, just leave it empty.
     161
     162The output path and name of your setup file need to be specified here:
     163{{{
     164[output]
     165
     166output_path     = < your output path >
     167output_filename = vm_driver
     168}}}
     169
     170In case you want to specify measurement locations manually, you need to adjust the following section in .cvd.config.xxx:
     171{{{
     172[custom_positions]
     173
     174# Give the number of custom sampling coordinates
     175number_positions = 4
     176
     177# Give site coordinates: E_UTM (m), N_UTM (m), z (m).
     178# Please give z in meters above ground.
     179#
     180#             [ E_UTM,    N_UTM,      z (agl) ]
     181
     182coordinates1: [ 387670.0, 5819090.0,  4.0     ]
     183coordinates2: [ 387676.0, 5819139.0,  1.0     ]
     184coordinates3: [ 387630.0, 5819065.0,  41.0    ]
     185coordinates4: [ 387270.0, 5819191.0,  8.5     ]
     186
     187# Give the variables that shall be sampled. Note, there is a
     188# number of default variables that will be always sampled, which is:
     189# u, v, w, theta and hus (mixing ratio).
     190# On top of these, you can individually prescribe further variables
     191# for each site. In order to prescribe further variables, please
     192# follow the naming convention defined in the [UC]2 data standard.
     193
     194vars_to_be_measured1: [ "u", "v", "w", "theta", "rlus", "rsus" ]
     195vars_to_be_measured2: [ "rnds", "wdir" ]
     196vars_to_be_measured3: [ "us" ]
     197vars_to_be_measured4: [ "utheta", "vtheta", "wtheta", "wspeed" ]
     198}}}
     199
     200A list of variables that are currently supported and their naming convention can be found [../../../virtual_measurement_parameters here].