-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.toml
More file actions
executable file
·45 lines (45 loc) · 2.52 KB
/
config.toml
File metadata and controls
executable file
·45 lines (45 loc) · 2.52 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
## NOTE: this config is provided as a TEMPLATE, it should be changed by the user before using it.
[simulation]
name = "syria_new" # name of the simulation.
experiment_path = "WITOIL_iMagine/cases/" # path where experiment folder should be placed
start_datetime = 2021-08-22T03:43:00 # start date of the simulation
sim_length = 24.0 # length of the simulation in HOURS
spill_lat = [35.25] # lat of oil spill (deg N)
spill_lon = [35.90] # lon of oil spill (deg E)
spill_duration = [0.0] # duration of oil spill HOURS. = 0.0 for instantaneous release
spill_rate = [27.78] # spill rate TONS/HOUR
oil = [28] # either oil api (number) or name (string), e.g. ["Ragusa"]. Please, consider that name must be exact.
advanced_parameters = false # if = true, user must provide parameters.toml file
advanced_parameters_path = "WITOIL_iMagine/src/parameters.toml" # this path shuld be provided only if "advanced_parameters" is = true
[download]
download_data = true # = true if data are not provided by the user
download_bath = true # = true if user wants to crop gebco from ERDDAP
download_curr = true # = true : OCE data are downloaded from Copernicus Marine Service
download_wind = true # = true : MET data are downloaded from ECMWF ERA5 product
copernicus_user = "none"
copernicus_password = "none"
cds_token = "none"
[input_files]
set_domain = false # If the user wants to set the domain for cropping/preprocessing input data
lat = [31, 38]
lon = [32, 37]
delta = [0.75] # default domain length in degrees (applied to both lon/lat), to download or crop data
# note: delta is used only if set_domain = false
[input_files.dtm]
bathymetry_path = false
coastline_path = "WITOIL_iMagine/data/gshhs/GSHHS_shp/f/GSHHS_f_L1.shp"
[input_files.metoce]
oce_data_path = false # to provide if dowload_curr = false
met_data_path = false # to provide if dowload_wind = false
[run_options]
preprocessing = true # = false if no preprocessing at all should be performed
preprocessing_metoce = true # MET/OCE data preprocessing
preprocessing_dtm = true # bathymetry and coastline preprocessing
run_model = true # run oil spill model
postprocessing = true # conversion from particles to concentration
[plot_options]
plotting = true # = true if results should be plotted (it should be used only if postprocessing = true)
pyngl = false
# Domain for plotting
plot_lon = [35.5,36.5] # [min lon, max lon]
plot_lat = [35,36] # [min lat, max lat]]