-
Notifications
You must be signed in to change notification settings - Fork 0
/
save_data.toml
73 lines (72 loc) · 2.42 KB
/
save_data.toml
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
# Lines starting with '#? ' are used to verify variables' types
# Type hints lines are structured the following way:
# Variable keys: possible types: additionnal comment
#? PROVIDERS: list[str]: providers to use data from
PROVIDERS = ["GLODAP_2022", "CMEMS", "ARGO", "NMDC", "CLIVAR", "IMR", "ICES"]
#? SAVING_DIR: str: directory in which to save the dataframes
SAVING_DIR = "bgc_data"
#? VARIABLES: list[str]: variables to include in the output file
# variables names are the one defined in variables.toml under the 'NAME' parameter
VARIABLES = [
"PROVIDER",
"EXPOCODE",
"YEAR",
"MONTH",
"DAY",
"HOUR",
"LONGITUDE",
"LATITUDE",
"DEPH",
"TEMP",
"PSAL",
"DOXY",
"PHOS",
"NTRA",
"SLCA",
"CPHL",
]
#? DATE_MIN: str: first date to load
DATE_MIN = "20070101"
#? DATE_MAX: str: last date to load
DATE_MAX = "20071231"
#? INTERVAL: str: horizontal resolution of the plot
# If set to 'day': will group datapoint by day
# If set to 'week': will group datapoints by their week number
# If set to 'month': will group datapoints by month
# If set to 'year': will grou datapoints by year
# If set to 'custom': will group datapoints based on a custom interval
INTERVAL = "month"
#? CUSTOM_INTERVAL: int: if INTERVAL is 'custom', length of the custom interval (in days)
CUSTOM_INTERVAL = 8
#? LATITUDE_MIN: int | float: minimum latitude boundary (included)
LATITUDE_MIN = 50
#? LATITUDE_MAX: int | float: maximum latitude boundary (included)
LATITUDE_MAX = 90
#? LONGITUDE_MIN: int | float: minimum longitude boundary (included)
LONGITUDE_MIN = -180
#? LONGITUDE_MAX: int | float: maximum longitude boundary (included)
LONGITUDE_MAX = 180
#? DEPTH_MIN: int | float: minimum depth boundary (included)
DEPTH_MIN = nan
#? DEPTH_MAX: int | float: maximum depth boundary (included)
DEPTH_MAX = 0
#? EXPOCODES_TO_LOAD: list[str]: precise expocode to load alone.
# If empty, no discrimination on expocode will be conducted
EXPOCODES_TO_LOAD = []
#? PRIORITY: list[str]: providers priority list to use when removing duplicates
PRIORITY = [
"GLODAP_2022",
"CMEMS",
"ARGO",
"NMDC",
"CLIVAR",
"IMR",
"ICES",
"ESACCI-OC",
]
#? VERBOSE: int: verbose value, the higher, the more informations.
# If set to 0 or below: no information displayed
# If set to 1: minimal informations displayed
# If set to 2: very complete informations displayed
# if set to 3 or higher: exhaustive informations displayed
VERBOSE = 2