source: lmdz_wrf/trunk/tools/config_get_stations.WRF.py @ 2023

Last change on this file since 2023 was 1703, checked in by lfita, 7 years ago

Fixing the right config files and the right variable/dimensions to use

File size: 1.8 KB
Line 
1# Configuration for 'get_stations.py'
2# Too much options to be ingested and parsed ?!
3
4#sfcstatfile='ubicacion_datos_sup.csv'
5sfcstatfile='ubicacion_sfc_test.csv'
6
7# Surface stations columns for data
8sfclatcol=0
9sfcloncol=1
10sfclabcol=3
11sfchgtcol=2
12
13sndstatfile='ubicacion_sondeos.csv'
14
15# Sounding stations columns for data
16sndlatcol=1
17sndloncol=2
18sndlabcol=0
19sndhgtcol=3
20
21# comment char
22comchar = '#'
23
24# separation char
25sepchar = ','
26
27# missing value
28missvalS = ['0', 'NaN']
29
30# simulation file
31simfilen = '/home/lluis/PY/wrfout_d01_1995-01-01_00:00:00'
32
33# dimension CFequivalences
34CFdims = {'lon': 'west_east', 'lat': 'south_north', 'plev': 'bottom_top',            \
35  'time': 'Time'}
36
37# axes dimensions
38axesdims = {'X': ['west_east', 'west_east_stag'],                                    \
39  'Y': ['south_north', 'south_north_stag'], 'Z': ['bottom_top', 'bottom_top_stag'],  \
40  'T': ['Time']}
41
42# axes variables
43axesvars = {'X': ['XLONG', 'XLONG_U'], 'Y': ['XLAT', 'XLAT_V'], 'Z': ['ZNU', 'ZNW'], \
44  'T': ['WRFtime']}
45
46# dim Variables
47dimvariables = {'west_east': 'XLONG', 'south_north': 'XLAT', 'bottom_top': 'ZNU',    \
48  'Time': 'WRFtime', 'west_east_stag': 'XLONG_U', 'south_north_stag': 'XLAT_U',      \
49  'bottom_top_stag': 'ZNW'}
50
51# SFC Variables
52sfcvariables = {'tas':'T2', 'uas':'WRFuas', 'vas':'WRFvas', 'huss':'Q2', 'ps':'PSFC',\
53  'zhgt':'HGT'}
54sfcrefvar = 'tas'
55
56# Vertical Variables
57sndvariables= {'ta':'WRFta', 'ua':'WRFua', 'va':'WRFva', 'hus':'QVAPOR',             \
58  'zg':'WRFzg', 'plev':'WRFp', 'tda': 'WRFtd'}
59sndrefvar = 'ta'
60
61# Variable pressure
62UnitsPress = 'Pa'
63Pressdimref = 'bottom_top'
64
65# Does pressure variable change with time?
66presstime = True
67
68# Map range
69#nlon = -80.
70#xlon = -50.
71#nlat = -60.
72#xlat = -20.
73
74# Map range RELAMPAGO
75nlon = -70.
76xlon = -57.
77nlat = -37.
78xlat = -27.
79
80# CF Temporal values
81ReferenceDate = '19491201000000'
82UnitsTime = 'minutes'
83
Note: See TracBrowser for help on using the repository browser.