forked from metno/NORTRIP_multiroad_combined
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNORTRIP_config_avinor_forecast.txt
327 lines (297 loc) · 18.5 KB
/
NORTRIP_config_avinor_forecast.txt
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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
#-----------------------------------------------------
# Main input file for NORTRIP_multiroad_control
# Memory limitations 24 hours 50000 links is 5GB in NORTRIP
#----------------------------------------------------
# Reads in file and path names and initialisation data
# Finds key phrases (including spaces) that are single tab separated from the data to be read
# Replaces all 'city_strX' with the provided city name
# Replaces all the date formats (e.g. <yyyymmdd>) with the command line date
#-----------------------------------------------------
#Example command line
#Reads in this file and the start and end date
#NORTRIP_multiroad_control_v1.exe NORTRIP_multiroad_config_Oslo_new.txt <yyyy>,<mm>,<dd>,<hh> <yyyy>,<mm>,<dd>,<hh>
#NORTRIP_multiroad_control_v1.exe D:/BEDRE_BYLUFT/NORTRIP_implementation/C/NILU/NORTRIP/bin/Oslo/NORTRIP_multiroad_config_Oslo_new.txt 2015,09,06,05 2015,09,08,05
#-----------------------------------------------------
# NEW ROADWEATHER
# This file for running roadwether simulations for comparison with measurement stations
# This version running on new kommune data for 2020 and new NVDB data from 2020
#----------------------------------------------------
#City dependent input that needs to be specified for each city
#string 1 is for paths and string 2 is for file names
#----------------------------------------------------
city_str1 Runways_1
city_str2 RUNWAYS
#Studded tyre information for this city
max_stud_fraction_li (LDV%) 0
max_stud_fraction_he (HDV%) 0
min_stud_fraction_li (LDV%) 0
min_stud_fraction_he (HDV%) 0
start_stud_season (mm,dd) 10,25
start_full_stud_season (mm,dd) 11,15
end_full_stud_season (mm,dd) 04,12
end_stud_season (mm,dd) 04,29
#Specify the grid to be saved to and the cutoff ADT
#Will be over written by 'infile_main_AQmodel' if it exists
#Should not be used. Can it be removed?
#Norway
x and y origin -70000.,6440000.
x and y grid spacing 2500.,2500.
x and y grid dimension 472,604
#----------------------------------------------------
#----------------------------------------------------
#Monitoring data information
#To not use observations set the replace meteo with obs flag to 0
#To use observations at the individual road sites set this flag to 2 and specify which observations to use. NB: Use 2 for reading from netcdf files.
#To include lapse rate correction in the model also use 2 but do not specify specific variables (strange but OK)
#----------------------------------------------------
replace_meteo_with_obs 2
replace_meteo_with_yr 0
replace_meteo_with_met_forecast 1
wetbulb_snow_rain_flag 2 Set to 2 to use the wetbulb temperature to determine snow/rain distribution, set to 1 to get gradient with normal temperature
#Specify what can be replaced: pressure, temperature, relhumidity, cloudfraction, precip, shortwave_rad, longwave_rad, speed_wind,dir_wind, road_temperature
#1 uses the first primary station and fills with secondary if there is missing data
#2 uses the average of all available data
#if set replace below with -1 then gives it a missing data value. Only valid for radiation, cloudcover and surface temperature
replace_which_meteo_with_obs 1,1,1,0,1,1,1,1,1,1
#ELIN: Endre disse når du har obs_met fil:
#filename_meteo_obs_metadata /lustre/storeB/project/fou/kl/NORTRIP_Avinor/Runways_2/NORTRIP_obs_data/Vaernes_meteo_obs_metadata.txt
#inpath_meteo_obs_data /lustre/storeB/project/fou/kl/NORTRIP_Avinor/Runways_2/NORTRIP_obs_data/
#infile_meteo_obs_data Vaernes_all_obs.txt
inpath_meteo_obs_netcdf_data /lustre/storeB/project/fou/kl/NORTRIP_Avinor/Runways_2/preprocess_frost_script/
infile_meteo_obs_netcdf_data frost_meteo_<yyyymmdd_THH>.nc
#frost_<meteo_startdate>_T<starttime>Z.nc contains six values, the first at startdate, starttime
#----------------------------------------------------
#----------------------------------------------------
# Paths and filenames used by NORTRIP_multiroad (AROME_25KM_NORWAY_<yyyymmdd>_SURF.nc)
#----------------------------------------------------
#filename_no_log /home/elina/NORTRIP_forecast_testlog.txt
inpath_meteo_nc /lustre/storeB/immutable/archive/projects/metproduction/meps/<yyyy/mm/dd>/
inpath_meteo_nc_forecast /lustre/storeB/project/metproduction/products/yr_short/
inpath_meteo_nc2 /lustre/storeB/immutable/archive/projects/metproduction/meps/<yyyy/mm/dd>/
inpath_static_road_1 /lustre/storeB/project/fou/kl/NORTRIP_Avinor/Runways_2/NORTRIP_runway_data/
inpath_static_road_2 no data
inpath_dynamic_emission no data
inpath_dynamic_road /lustre/storeB/project/fou/kl/NORTRIP_Avinor/Runways_2/NORTRIP_runway_data/
inpath_terrain /lustre/storeB/project/fou/kl/NORTRIP_Avinor/Runways_1/NORTRIP_terrain/DTM50_20160929_ascii/
inpath_forest /lustre/storeB/project/fou/kl/NORTRIP_Avinor/Runways_1/NORTRIP_terrain/DTM50_20160929_ascii/
path_inputdata_for_NORTRIP /lustre/storeB/project/fou/kl/NORTRIP_Avinor/Runways_2/NORTRIP_forecast_test/NORTRIP_in/
path_init_for_NORTRIP /lustre/storeB/project/fou/kl/NORTRIP_Avinor/Runways_2/NORTRIP_forecast_test/NORTRIP_in/init/
inpath_main_AQmodel no data
infile_meteo_nc meps_det_2_5km_<yyyymmddTHH>Z.nc
infile_meteo_alternative_nc meps_subset_2_5km_<yyyymmdd>T00Z.nc
infile_meteo_nc_forecast met_forecast_1_0km_nordic_<yyyymmddTHH>Z.nc
infile_meteo_nc2 met_analysis_1_0km_nordic_<yyyymmddTHH>Z.nc
infile_static_road_1 Avinor_Runway_segments_data_Norway_2024_2.txt
infile_static_road_2 no data
infile_dynamic_road Road_traffic_profile_SVV.txt
infile_dynamic_pm2.5 no data
infile_dynamic_pm10 no data
infile_dynamic_ep no data
infile_main_AQmodel no data
outfile_NORTRIP_template NORTRIP_city_str2_<yyyymmddHH>
outfile_NORTRIP_info NORTRIP_city_str2
#inpath_activity /lustre/storeB/project/fou/kl/NORTRIP_new_roadweather/Trondheim/activity_data/
#inpath_static_activity /lustre/storeB/project/fou/kl/uemep/activitydata_zeekit/anydata/
#----------------------------------------------------
#----------------------------------------------------
#Single static data
#If the hours for saving init files is 0 then it will not save any init files.
#It will always save the init file for the last time step no matter what
#Calculation variants are 'road weather', 'episode', 'uEMEP','Avinor'
#Timevariation types are 'normal' (single weekly data each hour) or 'NUDL' monthly, weekday, roadtypes and population. Must read in population in kommune scaling file. If not will use the over 20000 value
#Site time difference effects the radiation calculations (-1 for Norwegian winter time, goes into NORTRIP)
#Traffic time difference effects the temporal profiles for traffic (+1 for Norwegian winter time, does not go into NORTRIP)
#Traffic time will be automatically adjusted for summer time
#----------------------------------------------------
Time difference site(UTC) 0.0
Time difference traffic(UTC) +2.0
Missing data value -99.0
Hours between saving init files 24
Number of timesteps within one hour 6
Calculation type Avinor
Timevariation type normal
population_cutoff 20000
Exhaust EF (he) 0.1 (g/veh/km)
Exhaust EF (li) 0.01 (g/veh/km)
NOX EF (li) 0.4 (g/veh/km)
NOX EF (he) 2.0 (g/veh/km)
Longwave radiation offset 0.0 (W/m^2)
RH offset 0.0 (%)
Temperature offset 0 (C)
Wind speed correction factor 1.0 (scaling)
utm_zone 33
# Lapse rate is used to correct between 'modelled' and 'real' elevations (K/m)
lapse_rate -0.005
# e-folding time used to relax meteorological values when going from observed to modeled data.
# if set to 0, do not relax values.
scaling_for_relaxation 3.
#----------------------------------------------------
#----------------------------------------------------
#NORTRIP runtime info data
#----------------------------------------------------
Model log file /home/elina/NORTRIP_forecast_testlog.txt
Model input parameter path /lustre/storeB/project/fou/kl/NORTRIP_Avinor/Runways_2/NORTRIP_param_files/
Model parameter filename Road_dust_parameter_table_v10
Model input data path Will be set to 'path_inputdata_for_NORTRIP'
Model input data filename Will be set to 'outfile_NORTRIP_template' filled with date
Model output data path /lustre/storeB/project/fou/kl/NORTRIP_Avinor/Runways_2/NORTRIP_forecast_test/NORTRIP_out/summary/<yyyy/mm>/
Model output data filename Will be set to 'outfile_NORTRIP_template' without filled in date
Model init data path Will be set to path_init_for_NORTRIP
Model init data filename Will be set to 'outfile_NORTRIP_template'+'_init' after date is found
Model output emission path /home/elina/NORTRIP_forecast_test/NORTRIP_out/emissions/ #Not used in Avinor case!
Model output emission filename uEMEP_emissions
Model output gridded emission filename uEMEP_grid_emissions
Model output road meteo path /lustre/storeB/project/fou/kl/NORTRIP_Avinor/Runways_2/NORTRIP_forecast_test/NORTRIP_out/runway_conditions/<yyyy/mm>/
Model output road meteo filename Will be set to 'outfile_NORTRIP_template'+'_roadmeteo'
Model fortran path Not used as this is the path to the executable
Model fortran output path Not used as this is the path to the total model output dump
Model output figures path No figure output will be used
Model ospm path No OSPM output will be used
#----------------------------------------------------
#----------------------------------------------------
#Number of, and names of, DEM files to be read
#Will save to the skyview file
#Set the number of DEM files to 0 if terrain data if skyview data is not to be generated
#This only needs to be done once
#Will read skyview data in any case (70 files)
#----------------------------------------------------
n_dem_files 0
filenames_terrain 6400_50m_33.asc,6401_50m_33.asc,64M1_50m_33.asc,6500_50m_33.asc,6501_50m_33.asc,6502_50m_33.asc,6503_50m_33.asc,65M1_50m_33.asc,6600_50m_33.asc,6601_50m_33.asc,6602_50m_33.asc,6603_50m_33.asc,66M1_50m_33.asc,6700_50m_33.asc,6701_50m_33.asc,6702_50m_33.asc,6703_50m_33.asc,67M1_50m_33.asc,6800_50m_33.asc,6801_50m_33.asc,6802_50m_33.asc,6803_50m_33.asc,68M1_50m_33.asc,6900_50m_33.asc,6901_50m_33.asc,6902_50m_33.asc,6903_50m_33.asc,69M1_50m_33.asc,7000_50m_33.asc,7001_50m_33.asc,7002_50m_33.asc,7003_50m_33.asc,7101_50m_33.asc,7102_50m_33.asc,7103_50m_33.asc,7104_50m_33.asc,7202_50m_33.asc,7203_50m_33.asc,7204_50m_33.asc,7303_50m_33.asc,7304_50m_33.asc,7305_50m_33.asc,7403_50m_33.asc,7404_50m_33.asc,7405_50m_33.asc,7503_50m_33.asc,7504_50m_33.asc,7505_50m_33.asc,7506_50m_33.asc,7507_50m_33.asc,7604_50m_33.asc,7605_50m_33.asc,7606_50m_33.asc,7607_50m_33.asc,7608_50m_33.asc,7609_50m_33.asc,7705_50m_33.asc,7706_50m_33.asc,7707_50m_33.asc,7708_50m_33.asc,7709_50m_33.asc,7806_50m_33.asc,7807_50m_33.asc,7808_50m_33.asc,7809_50m_33.asc,7810_50m_33.asc,7811_50m_33.asc,7908_50m_33.asc,7909_50m_33.asc,7910_50m_33.asc
n_forest_files 0
filenames_forest 6400_250m_33_f.asc,6401_250m_33_f.asc,64M1_250m_33_f.asc,6500_250m_33_f.asc,6501_250m_33_f.asc,6502_250m_33_f.asc,6503_250m_33_f.asc,65M1_250m_33_f.asc,6600_250m_33_f.asc,6601_250m_33_f.asc,6602_250m_33_f.asc,6603_250m_33_f.asc,66M1_250m_33_f.asc,6700_250m_33_f.asc,6701_250m_33_f.asc,6702_250m_33_f.asc,6703_250m_33_f.asc,67M1_250m_33_f.asc,6800_250m_33_f.asc,6801_250m_33_f.asc,6802_250m_33_f.asc,6803_250m_33_f.asc,68M1_250m_33_f.asc,6900_250m_33_f.asc,6901_250m_33_f.asc,6902_250m_33_f.asc,6903_250m_33_f.asc,69M1_250m_33_f.asc,7000_250m_33_f.asc,7001_250m_33_f.asc,7002_250m_33_f.asc,7003_250m_33_f.asc,7101_250m_33_f.asc,7102_250m_33_f.asc,7103_250m_33_f.asc,7104_250m_33_f.asc,7202_250m_33_f.asc,7203_250m_33_f.asc,7204_250m_33_f.asc,7303_250m_33_f.asc,7304_250m_33_f.asc,7305_250m_33_f.asc,7403_250m_33_f.asc,7404_250m_33_f.asc,7405_250m_33_f.asc,7503_250m_33_f.asc,7504_250m_33_f.asc,7505_250m_33_f.asc,7506_250m_33_f.asc,7507_250m_33_f.asc,7604_250m_33_f.asc,7605_250m_33_f.asc,7606_250m_33_f.asc,7607_250m_33_f.asc,7608_250m_33_f.asc,7609_250m_33_f.asc,7705_250m_33_f.asc,7706_250m_33_f.asc,7707_250m_33_f.asc,7708_250m_33_f.asc,7709_250m_33_f.asc,7806_250m_33_f.asc,7807_250m_33_f.asc,7808_250m_33_f.asc,7809_250m_33_f.asc,7810_250m_33_f.asc,7811_250m_33_f.asc,7908_250m_33_f.asc,7909_250m_33_f.asc,7910_250m_33_f.asc
filename_skyview Skyview_Avinor_Runway_segments_data_Norway_2024_2.txt
terrain_utm_zone 33
#----------------------------------------------------
#----------------------------------------------------
#Control flags to determine what is done or not
#When set to 1 will calculate these
#NRW-set the grid flag to 0
#----------------------------------------------------
calculate_skyview_data_flag 1
calculate_metadata_flag 1
grid_road_data_flag 1
#----------------------------------------------------
#----------------------------------------------------
#Set max ADT cutoff to 0 to not grid data
#Set it to a large number 1e12 to put all in the grid
#Will ignore all links if ADT below min ADT and link length is below min link length
#----------------------------------------------------
min and max ADT cutoff 0,3000
min_link_length (m) 1
#----------------------------------------------------
#Set 'Specify_gridding_using_file' to '1' below will use 'inpath_static_road1'
#to specify which links in 'inpath_static_road2' will be saved as lines or grids
#Set 'Specify_gridding_using_file' to '0' will use the ADT specified above
#if the max ADT cutoff is greater than 0
#Only used really for Episode calculations so should be 0
#----------------------------------------------------
Specify gridding using file 0
#----------------------------------------------------
#Save special data at links/receptors specified in this file
#Set to 0 to calculate all roads but save no special links
#Set to 1 to only calculate special links in receptor or obs receptor file
#Set to 2 to calculate all roads but only save special links
#Set to 3 to calculate all roads and save all as special links. NOT IMPLEMENTED
#Must have api in name to be read in the uEMEP format
#----------------------------------------------------
use_only_special_links_flag 2
use_obs_as_receptors_flag 0
filename_NORTRIP_receptors /lustre/storeB/project/fou/kl/NORTRIP_Avinor/Runways_2/NORTRIP_measurements/all_airports_stationlist_api_2.txt
#/lustre/storeB/project/fou/kl/NORTRIP_Avinor/Runways_2/NORTRIP_measurements/pilot_airports_stationlist_api.txt
#/lustre/storeB/project/fou/kl/NORTRIP_Avinor/Runways_1/NORTRIP_measurements/avinor_stationlist_api_20230127_oldID.txt
#/home/elina/avinor_stationlist_api_20230127_oldID.txt
#----------------------------------------------------
#----------------------------------------------------
#Set 'Save_roads_as_line_or_grid' to override the above values
#Set to 0 to do nothing to the above settings
#Set to 1 to save all links to both line and grid emissions
#Set to 2 to save only selected links (that would have been saved as lines) to both line and grid emissions
#----------------------------------------------------
Save roads as line or grid 1
#----------------------------------------------------
#----------------------------------------------------
#Specify for which road types the various road maintenance activities apply
#1 is on, 0 is off
#1 is the default if not specified
#See the auto activity settings in the parameter file
#Road types are defined in the input data
#Maximum number of road types is 100
#1 EV, 2 RV, 3 FV, 4 KV
#----------------------------------------------------
n_road_type_index 4
road_type_flag_index 1,2,3,4
road_type_salting_flag 1,1,1,1
road_type_sanding_flag 1,1,1,1
road_type_cleaning_flag 1,1,1,1
road_type_ploughing_flag 1,1,1,1
road_type_binding_flag 1,1,1,1
#----------------------------------------------------
#----------------------------------------------------
#Specify the road pavement wear type based on ADT (road_type_flag_index,min_ADT,max_ADT)
#Will override the values specified for the metadata
n_road_pave_ADT_index 4
road_pave_ADT_flag_index 1,2,3,4
road_pave_min_ADT_val 0,1500,5000,15000
road_pave_max_ADT_val 1500,5000,15000,100000000
#----------------------------------------------------
#----------------------------------------------------
#Specify names of variables in the netcdf files
#Four meteo data sources distinguished: 'nbv' and 'metcoop'
#----------------------------------------------------
meteo_data_type metcoop
meteo_lat_index latitude
meteo_lon_index longitude
meteo_pressure_index surface_air_pressure
meteo_temperature_index air_temperature_2m
meteo_relhumidity_index relative_humidity_2m
meteo_cloudfraction_index cloud_area_fraction
meteo_x_wind_index x_wind_10m
meteo_y_wind_index y_wind_10m
meteo_precip_index precipitation_amount_acc
meteo_precip_snow_index snowfall_amount_acc
meteo_shortwaveradiation_index integral_of_surface_downwelling_shortwave_flux_in_air_wrt_time
meteo_longwaveradiation_index integral_of_surface_downwelling_longwave_flux_in_air_wrt_time
meteo_elevation_index surface_geopotential
meteo_surface_temperature_index air_temperature_0m
meteo_x_index x
meteo_y_index y
meteo_time_index time
#meteo2_lat_index latitude
#meteo2_lon_index longitude
#meteo2_elevation_index altitude
#meteo2_temperature_index air_temperature_2m
#meteo2_x_index rlon
#meteo2_y_index rlat
#Not certain about meteo2 data need to check
meteo2_lat_index latitude
meteo2_lon_index longitude
meteo2_elevation_index altitude
meteo2_temperature_index air_temperature_2m
meteo2_dir_wind_index wind_direction_10m
meteo2_speed_wind_index wind_speed_10m
meteo2_x_index x
meteo2_y_index y
meteo2_time_index time
meteo2_relhumidity_index relative_humidity_2m
meteo2_cloudfraction_index cloud_area_fraction
meteo2_precip_index precipitation_amount
#projection_name_nc projection_lambert
#projection_name_nc projection_lcc
#----------------------------------------------------
#Specify number of time steps to read from netcdf files
#If 0 then reads all data in netcdf files
#----------------------------------------------------
number_of_time_steps 20
#----------------------------------------------------
#Specify if files are to be saved as zipped files
#If 0 then does not zip
#----------------------------------------------------
save_metadata_in_zip_format 0
save_initialdata_in_zip_format 0
save_timeseriesdata_in_zip_format 0
#----------------------------------------------------
#Specify if sublinks are to be saved or just the main links
#If 0 then save all sublinks
#----------------------------------------------------
only_use_major_roadlinks 1
#----------------------------------------------------