-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.py
35 lines (29 loc) · 1.01 KB
/
config.py
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
"""
Set ERA5 user defined parameters
"""
y0 = 2004 # Initial year
y1 = 2004 # Final year
## Compute specific humidity or not
sph_ON = False
# Variable list
var_list = {
"10m_u_component_of_wind" : "u10",
"10m_v_component_of_wind" : "v10",
"2m_temperature" : "t2m",
"mean_sea_level_pressure" : "msl",
"mean_snowfall_rate" : "msr" ,
"mean_surface_downward_long_wave_radiation_flux" : "msdwlwrf",
"mean_surface_downward_short_wave_radiation_flux" : "msdwswrf",
"mean_total_precipitation_rate" : "mtpr" }
if sph_ON :
var_list[ "surface_pressure" ] = 'sp'
var_list[ "2m_dewpoint_temperature" ] = 'd2m'
head = '/projectsa/NEMO' # head path
raw_path = head + '/Forcing' # raw data
tmp_path = head + '/ryapat/Extract' # temp extraction space
processed_path = head + '/ryapat/Forcing' # processed forcing
# set domain extent
east = 19. # east border
west = -28. # west border
north = 68. # north border
south = 38. # south border