forked from johannesro/waveverification
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.py
More file actions
91 lines (73 loc) · 4.36 KB
/
variables.py
File metadata and controls
91 lines (73 loc) · 4.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
d22 = {'Hs': ['significant wave height','m',200],
'Tp': ['peak period','s',201],
'Tm02':['mean period','s',202],
'DDP': ['peak direction','degree',203, 'meteorological'],
'DDM': ['mean direction','degree',204, 'meteorological'],
'FF':['wind speed','m/s',298],
'DD':['wind direction','degree',299, 'meteorological']}
WAM4 = {'Hs': ['significant wave height','m',200],
'Tp': ['peak period','s',201],
'Tm02':['mean period','s',202],
'DDP': ['peak direction','degree',203,'oceanographic'],
'DDM': ['mean direction','degree',204,'oceanographic'],
'Hs_s':['swell significant wave height','m',220],
'Tp_s':['swell peak period','s', 221],
'Tm02_s':['swell mean period','s',223],
'DDP_s':['swell peak direction','degree',222,'oceanographic'],
'DDM_s':['swell mean direction','degree',224,'oceanographic'],
'FF':['wind speed','m/s',298],
'DD':['wind direction','degree',299,'oceanographic']}
WAM10 = WAM4
MWAM4 = {'Hs': ['significant wave height','m','hs'],
'Tp': ['peak period','s','tp'],
'Tm02':['mean period','s','tm2'],
# 'DDP': ['peak direction','degree',203,'oceanographic'],
'DDM': ['mean direction','degree','thq','oceanographic'],
'Hs_s':['swell significant wave height','m','hs_swell'],
'Tp_s':['swell peak period','s', 'tp_swell'],
'Tm02_s':['swell mean period','s','tm2_swell'],
# 'DDP_s':['swell peak direction','degree',222,'oceanographic'],
'DDM_s':['swell mean direction','degree','thq_swell','oceanographic'],
'FF':['wind speed','m/s','ff'],
'DD':['wind direction','degree','dd','oceanographic']}
#MWAM10 = MWAM4
#MWAM8 = MWAM4
MWAM8 = {'Hs': ['significant wave height','m','hs'],
'Tp': ['peak period','s','tp'],
'Tm02':['mean period','s','tm2'],
# 'DDP': ['peak direction','degree',203,'oceanographic'],
'DDM': ['mean direction','degree','thq','oceanographic'],
'Hs_s':['swell significant wave height','m','hs_swell'],
# 'Tp_s':['swell peak period','s', 'tp_swell'],
# 'Tm02_s':['swell mean period','s','tm2_swell'],
# 'DDP_s':['swell peak direction','degree',222,'oceanographic'],
'DDM_s':['swell mean direction','degree','thq_swell','oceanographic'],
'FF':['wind speed','m/s','ff'],
'DD':['wind direction','degree','dd','oceanographic']}
EXP = {'Hs': ['significant wave height','m','hs'],
'Tp': ['peak period','s','tp'],
'Tm02':['mean period','s','tm2'],
# 'DDP': ['peak direction','degree',203,'oceanographic'],
'DDM': ['mean direction','degree','thq','oceanographic'],
'Hs_s':['swell significant wave height','m','hs_swell'],
'Tp_s':['swell peak period','s', 'tp_swell'],
'Tm02_s':['swell mean period','s','tm2_swell'],
# 'DDP_s':['swell peak direction','degree',222,'oceanographic'],
'DDM_s':['swell mean direction','degree','thq_swell','oceanographic'],
'FF':['wind speed','m/s','ff'],
'DD':['wind direction','degree','dd','oceanographic']}
ECWAM = {'Hs': ['significant wave height','m','significant_wave_height'],
'Tp': ['peak period','s','peak_wave_period'],
'Tm02':['mean period','s','mean_wave_period'],
'DDM': ['mean direction','degree','wave_direction','oceanographic'],
'Hs_s':['swell significant wave height','m','significant_swell_wave_height'],
'Tm02_s':['swell mean period','s','sea_surface_swell_wave_period'], # or is this Tp_s ?
'DDM_s':['swell mean direction','degree','sea_surface_swell_wave_to_direction','oceanographic']}
LAWAM = ECWAM
AROME = {'FF': ['wind speed', 'm/s', ''],
'DD': ['wind direction', 'degree', '', 'meteorological']}
WAMAROME2W = {'FF': ['wind speed', 'm/s', ''],
'Hs': ['significant wave height', 'm', '']}
WAMAROME1W = {'FF': ['wind speed', 'm/s', ''],
'Hs': ['significant wave height', 'm', '']}
HIRLAM8=AROME