source: lmdz_wrf/trunk/tools/config_get_stations.NNRP.py @ 1906

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

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

File size: 2.0 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='None'
6
7# Surface stations columns for data
8sfclatcol=0
9sfcloncol=1
10sfclabcol=3
11sfchgtcol=2
12
13sndstatfile='sounding_stattions.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 = '/datos/lluis.fita/studies/NNRP/nnrp_1976.nc'
32
33# dimension CFequivalences
34CFdims = {'lon': 'lon', 'lat': 'lat', 'plev': 'level', 'time': 'time'}
35
36# axes dimensions
37axesdims = {'X': ['lon'], 'Y': ['lat'], 'Z': ['level', 'level_2'], 'T': ['time']}
38
39# axes variables
40axesvars = {'X': ['lon'], 'Y': ['lat'], 'Z': ['level', 'levels_2'], 'T': ['time']}
41
42# dim Variables ('H' to determine station height from file, 'None' for no variable available)
43dimvariables = {'lon': 'lon', 'lat': 'lat', 'level': 'level', 'time':'time',         \
44        'level_2': 'level_2', 'H': 'None'}
45
46# SFC Variables
47sfcvariables = {'tas':'T2', 'uas':'WRFuas', 'vas':'WRFvas', 'huss':'Q2', 'ps':'PSFC',\
48  'zhgt':'HGT'}
49# Surface reference variable (it must be one variable from file which has
50#   the right right shape (e.g. un-staggered) and rang as 3D dimensions [T,Y,X])
51sfcrefvar = 'T2'
52
53# Vertical Variables
54sndvariables= {'ta':'air', 'ua':'uwnd', 'va':'vwnd', 'hus':'shum',             \
55  'zg':'hgt', 'plev':'level', 'tda': 'C_td', 'wd': 'C_wd', 'ws': 'C_ws'}
56# Sounding reference variable (it must be one variable from file which has
57#   the right right shape (e.g. un-staggered) and rang as 4D dimensions [T,Z,Y,X])
58sndrefvar = 'air'
59
60# Variable pressure
61UnitsPress = 'Pa'
62Pressdimref = 'level'
63
64# Does pressure variable change with time?
65presstime = False
66
67# Map range
68#nlon = -80.
69#xlon = -50.
70#nlat = -60.
71#xlat = -20.
72
73# Map range RELAMPAGO
74nlon = 70.
75xlon = 180.
76nlat = -67.
77xlat = -5.
78
79# CF Temporal values
80ReferenceDate = '19491201000000'
81UnitsTime = 'minutes'
82
Note: See TracBrowser for help on using the repository browser.