-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdefault_settings.conf
139 lines (139 loc) · 5 KB
/
default_settings.conf
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
# this is a file with default settings used for reference
# DO NOT MODIFY IT!
#
# Usage:
# $ ./track.x [my-track-settings.conf]
#
# if the file is named `settings.conf`, the tracking can be called without
# input arguments:
# $ ./track.x
#
# Start date (YYYY_MM_DD_HH_MM)
dt_start=2011_01_22_1900
# End date (YYYY_MM_DD_HH_MM)
dt_end=2011_01_22_2300
#
# Data paths
datadir="sample_data/era5"
outdir="output/test_run"
# File name mask
# Can contain the following placeholders:
# - %VAR for the variable name
# - %YYYY for year
# - %MM for month
# - %DD for day
# Example: "mydata_plev_%VAR.%YYYY.%MM.%DD.nc" for files like "mydata_plev_vo.2019.12.24.nc"
fname_lvl="era5.an.pl.%YYYY.%MM.%VAR.nc"
fname_sfc="era5.an.sfc.%YYYY.%MM.%VAR.nc"
#
# Dimension names
t_dim="time"
z_dim="level"
y_dim="latitude"
x_dim="longitude"
# Variable names
vort_name="vo"
u_name="u"
v_name="v"
psea_name="msl"
# specifies if a land mask is used (0: no, 1: yes)
land_mask_type=0
# the land-sea mask is stored in the file lsm.nc, only used when land_mask_type=1
land_name="lsm"
# Halo for extending the land mask (km), only if land_mask_type=1
halo_r=0.
#
# Level of the vorticity variable (in the units of the file)
vor_lvl=850
# Bottom level of the steering wind
steer_lvl_btm=1000
# Top level of the steering wind
steer_lvl_top=700
#
# Time frequency factor (e.g. 3: every 3rd time step of the input data)
tfreq=1
# Horizontal grid system (1: geographical coordinate, 2: Cartesian coordinate)
proj=1
# Vertical grid system (1: pressure coordinate, 2: Height coordinate)
vert_grid=1
# Tracking domain limits (if not specified, data limits are used)
# Western boundary
#lon1=-20
# Eastern boundary
#lon2=60
# Southern boundary
#lat1=60
# Northern boundary
#lat2=83
#
### Parameters for vorticity smoothing
# Type of smoothing. 0: no smoothing 1: average in a rectangular 2: average in a circle
smth_type=2
# Number of x-grid for smoothing the vorticity (when smth_type is 1)
n_smth_x=4
# Number of y-grid for smoothing the vorticity (when smth_type is 1)
n_smth_y=4
# Radius for smoothing the vorticity with uniform filter (km) (when smth_type is 2)
r_smth=60.0
#
#
### Parameters for vortex detection
# Vorticity threshold for vortex peak
zeta_max0=1.5e-4
# Vorticity threshold for vortex area
zeta_min0=1.2e-4
# The interval for increasing zeta_min - technical
int_zeta_min0=0.02e-4
# Scale factor to split vortex if del_zeta > gamma * zeta_max,
# where zeta_max is vorticity of secondary peak,
# and del_zeta the difference between zeta_max and the vorticity of the saddle point between the peaks.
# Low gamma leads to many splits. If smoothing in a large area is applied gamma can be small.
gamma=0.1
#
### Parameters for calculating steering winds
# Type of steering. 1: average in a rectangular 2: average in a circle
steering_type=2
# Number of x-grid boxes (when steering_type is 1)
n_steering_x=20
# Number of x-grid boxes (when steering_type is 1)
n_steering_y=20
# Radius for steering wind (km) (when steering_type is 2)
r_steering=200.0
#
### Parameters for linking vortex
# Type of tracking. 1: linking in a rectangular 2: linking in a circle
track_type=2
# Longitude difference of box for linking vortices (deg), after calculation of steering position (when track_type is 1)
lon_link=1.0
# Latitude difference of box for linking vortices (deg), after calculation of steering position (when track_type is 1)
lat_link=0.8
# Radius for linking vortices (km), after calculation of steering position (when track_type is 2)
r_link=100.0
# Option to merge vortex by isolated vortex area within linking radius (second option in Watanabe (0: no, 1: yes)
merge_opt_vort_area=0
# What parameter is used to define a dominant vortex when two vortices are merged together: merge_opt=1 is by distance (as in Watanabe's original code), merge_opt=2 is by vortex size
merge_opt=1
#
### Parameters for labelling the synoptic scale disturbances (ECs and CFs)
## Extra-tropical cyclones (ECs) are labelled if condition 1 and 2 are satisfied:
# Radius within which the SLP minima is detected (km)
r_ec=300
# Condition 1: Strength of the SLP minima compared with the largest closed contour of SLP that encloses the minimum (hPa) has to exceed:
del_psea_min=0.5
# Condition 2: Within distance_ec is a vortex area (km) larger than:
area_ec=40000
#
## Cold front (CF) are labelled if
# Length of cold front = distance between southern and northern edge of the vortex (km) exceeds
length_cf=500.0
# additionally the bearing angle of the front axis (line from the southern to the northern edge of the vortex) and the north must be between -20 and 60 deg
theta_cf_min=20 #this is the negative value of the number
theta_cf_max=60 #must be a positive number
# and the average curvature along the ridge of the front (defined by local maxima in vorticity within local neighborhood of 1 grid cell) must not exceed "curv_cf" by using quadratical fitting:
curv_cf=0.1
# where R**2, the coefficient of determination of the fit, must exceed:
det_coeff_cf=0.8
#
### OUTPUT
# Save intermediate data in .dat binary files (0=no, 1=yes)
vor_out_on=0