1 | #!/usr/bin/env python3 |
---|
2 | # -*- coding: utf-8 -*- |
---|
3 | # |
---|
4 | #--------------------------------------------------------------------------------# |
---|
5 | # This file is part of the PALM model system. |
---|
6 | # |
---|
7 | # PALM is free software: you can redistribute it and/or modify it under the terms |
---|
8 | # of the GNU General Public License as published by the Free Software Foundation, |
---|
9 | # either version 3 of the License, or (at your option) any later version. |
---|
10 | # |
---|
11 | # PALM is distributed in the hope that it will be useful, but WITHOUT ANY |
---|
12 | # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR |
---|
13 | # A PARTICULAR PURPOSE. See the GNU General Public License for more details. |
---|
14 | # |
---|
15 | # You should have received a copy of the GNU General Public License along with |
---|
16 | # PALM. If not, see <http://www.gnu.org/licenses/>. |
---|
17 | # |
---|
18 | # Copyright 1997-2020 Leibniz Universitaet Hannover |
---|
19 | #--------------------------------------------------------------------------------# |
---|
20 | # |
---|
21 | # Current revisions: |
---|
22 | # ----------------- |
---|
23 | # |
---|
24 | # |
---|
25 | # Former revisions: |
---|
26 | # ----------------- |
---|
27 | # $Id$ |
---|
28 | # Initial revision |
---|
29 | # |
---|
30 | # |
---|
31 | # 3668 2019-01-14 12:49:24Z maronga |
---|
32 | # |
---|
33 | # Description: |
---|
34 | # ------------ |
---|
35 | # Processing tool for creating PIDS conform virtual measurement setup file |
---|
36 | # from UC2 data-standard conform observational data or from prescribed input |
---|
37 | # coordinates. |
---|
38 | # |
---|
39 | # @Author Matthias Suehring (suehring@muk.uni-hannover.de) |
---|
40 | # |
---|
41 | #--------------------------------------------------------------------------------# |
---|
42 | |
---|
43 | # Section where some global file attributes can be specified. |
---|
44 | [global] |
---|
45 | |
---|
46 | author = Suehring, Matthias, suehring@muk.uni-hannover.de |
---|
47 | contact_person = Suehring, Matthias, suehring@muk.uni-hannover.de |
---|
48 | acronym = LUHimuk |
---|
49 | comment = created with palm_cvd |
---|
50 | data_content = measurement coordinates |
---|
51 | dependencies = none |
---|
52 | keywords = virtual measurement setup file |
---|
53 | source = none |
---|
54 | campaign = winter iop 1 |
---|
55 | location = Berlin |
---|
56 | site = Ernst Reuter Platz |
---|
57 | institution = Institute of Meteorology and Climatology, Leibniz University Hannover |
---|
58 | palm_version = 6.0 |
---|
59 | references = none |
---|
60 | |
---|
61 | # Section for observational input data. If non observational input data is available |
---|
62 | # just omit this section. |
---|
63 | [input] |
---|
64 | |
---|
65 | data_path = < path to your observational input data > |
---|
66 | |
---|
67 | # Section to specify the output path and the output filename. |
---|
68 | [output] |
---|
69 | |
---|
70 | output_path = < your output path > |
---|
71 | output_filename = vm_driver |
---|
72 | |
---|
73 | # Section to specify further sampling locations and sampling variables. Please note, |
---|
74 | # at the moment only timeseries can be specified. |
---|
75 | # If non customized sampling location is desired, just set number_positions to zero. |
---|
76 | [custom_positions] |
---|
77 | |
---|
78 | # Give the number of custom sampling coordinates |
---|
79 | number_positions = 4 |
---|
80 | |
---|
81 | # Give site coordinates: E_UTM (m), N_UTM (m), z (m). |
---|
82 | # Please give z in meters above ground. |
---|
83 | # |
---|
84 | # [ E_UTM, N_UTM, z (agl) ] |
---|
85 | |
---|
86 | coordinates1: [ 387670.0, 5819090.0, 4.0 ] |
---|
87 | coordinates2: [ 387676.0, 5819139.0, 1.0 ] |
---|
88 | coordinates3: [ 387630.0, 5819065.0, 41.0 ] |
---|
89 | coordinates4: [ 387270.0, 5819191.0, 8.5 ] |
---|
90 | # ... |
---|
91 | |
---|
92 | # Give the variables that shall be sampled. Note, there is a |
---|
93 | # number of default variables that will be always sampled, which is: |
---|
94 | # u, v, w, theta and hus (mixing ratio). |
---|
95 | # On top of these, you can individually prescribe further variables |
---|
96 | # for each site. In order to prescribe further variables, please |
---|
97 | # follow the naming convention defined in the [UC]2 data standard. |
---|
98 | |
---|
99 | vars_to_be_measured1: [ "u", "v", "w", "theta", "rlus", "rsus" ] |
---|
100 | vars_to_be_measured2: [ "rnds", "wdir" ] |
---|
101 | vars_to_be_measured3: [ "us" ] |
---|
102 | vars_to_be_measured4: [ "utheta", "vtheta", "wtheta", "wspeed" ] |
---|
103 | # ... |
---|