Skip to content

Commit 99eb766

Browse files
committed
New: configuration for ESA SCOPE DIC
1 parent 2993900 commit 99eb766

File tree

6 files changed

+39
-0
lines changed

6 files changed

+39
-0
lines changed

kaleidoscope/config/config.collect.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
"license": "MIT",
55
"summary": "This JSON file provides configuration parameters and semantic mappings."
66
},
7+
"dic": {
8+
"attrs": {
9+
"long_name": "standard uncertainty of Dissolved Inorganic Carbon in seawater"
10+
}
11+
},
712
"DOC": {
813
"attrs": {
914
"long_name": "standard uncertainty of estimated DOC"

kaleidoscope/config/config.reader.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@
1515
"latitude": 0,
1616
"longitude": 0
1717
},
18+
"esa-scope-dic": {
19+
"time": 12,
20+
"latitude": 0,
21+
"longitude": 0,
22+
"depth": 0
23+
},
1824
"_": {
1925
"time": 0,
2026
"lat": 0,

kaleidoscope/config/config.scatter.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,13 @@
271271
]
272272
}
273273
},
274+
"esa-scope-dic": {
275+
"dic": {
276+
"uncertainty": 0.1,
277+
"relative": true,
278+
"distribution": "lognormal"
279+
}
280+
},
274281
"esa-scope-pp": {
275282
"alphaB": {
276283
"uncertainty": "alphaB_unc",

kaleidoscope/config/config.writer.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@
1515
"latitude": 0,
1616
"longitude": 0
1717
},
18+
"esa-scope-dic": {
19+
"time": 12,
20+
"latitude": 0,
21+
"longitude": 0,
22+
"depth": 0
23+
},
1824
"esa-scope-pp": {
1925
"lat": 720,
2026
"lon": 720

kaleidoscope/main/collect.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,20 @@ def _add_arguments(parser):
9393
@staticmethod
9494
def _add_options(parser):
9595
"""This method does not belong to public API."""
96+
parser.add_argument(
97+
"--source-type",
98+
help="the source type.",
99+
choices=[
100+
"esa-cci-oc",
101+
"esa-scope-cs",
102+
"esa-scope-dic",
103+
"esa-scope-pp",
104+
"ghrsst",
105+
"glorys",
106+
],
107+
required=True,
108+
dest="source_type",
109+
)
96110
parser.add_argument(
97111
"--engine-reader",
98112
help="specify the engine used to read the source product file.",

kaleidoscope/main/scatter.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ def _add_options(parser):
9595
choices=[
9696
"esa-cci-oc",
9797
"esa-scope-cs",
98+
"esa-scope-dic",
9899
"esa-scope-pp",
99100
"ghrsst",
100101
"glorys",

0 commit comments

Comments
 (0)