-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ipc forests #746
Ipc forests #746
Changes from all commits
0e07a83
b165d8b
4ee082c
c4bf576
0381478
d5c78c1
c047ba2
638316a
c0ef4d4
b4b14ee
8dfe6bb
9b250a0
6527c4f
f7ec1a7
fb69568
a73f473
6c90924
42a29db
bedee59
7ba24e0
e3eb3ce
f23f897
d844879
539a7f0
13ff522
79d5aba
d667105
f10a0aa
04fae58
ade062d
fa6de39
b3ab8f1
e647162
f96b939
9c92244
fd94da8
683492d
6776152
8921f82
7a639f2
30ef259
2f34f03
a9ed982
9ce7c6c
59fc53e
157b969
74d47b7
2fa2dbc
f4fc181
052a514
bb6b8cb
99a73a8
9ca9a86
b12a6e8
c621108
6aeef68
c007b97
cc22095
7160181
80119c7
2be6358
613f2e1
d425203
f01a4f9
8a845a7
407e3d7
9857f49
34ee6ea
73b1be0
4c13574
5eb9aae
6b9b90b
c70fc31
e662d4c
e4fcfe6
19e7a8d
14e2778
a0d6d87
d69f9ad
0eaf4e1
5d3742b
419a82d
97ae41a
e9ee2f6
75a2b5d
01a28b2
7fc386f
0c5aef3
c13c2c2
86362a3
bd43541
2c325fd
143cc9a
827ca7a
f5d9504
41b4669
4021179
3bf5929
7ee8042
ec52c40
d3a65af
3d1d71b
671f417
f3b8b3d
b943b20
8e0ab9d
322d9f1
7862fcd
1f84fce
47529cb
d0b18cd
288de77
e978e28
da622bf
1016ee7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think the name "fake" probably should be changed at some point to something more descriptive like "synthetic" There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. with @MichaelSchulzMETNO we already said that we will use the word |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -200,10 +200,17 @@ | |
"scale": [0, 0.5, 1.0, 1.5, 2.0, 2.5, 3.0, 3.5, 4.0, 4.5, 5.0], | ||
"colmap": "coolwarm", | ||
}, | ||
"wetoxs": {"scale": [0, 1.25, 2.5, 3.75, 5, 6.25, 7.5, 8.75, 10], "colmap": "coolwarm"}, | ||
"wetoxn": {"scale": [0, 0.25, 0.5, 0.75, 1, 1.25, 1.5, 1.75, 2], "colmap": "coolwarm"}, | ||
"wetoxs": {"scale": [0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.7, 1, 1.5], "colmap": "coolwarm"}, | ||
"wetna": {"scale": [0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.7, 1, 1.5], "colmap": "coolwarm"}, | ||
"wetoxn": {"scale": [0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.7, 1, 1.5], "colmap": "coolwarm"}, | ||
"wetrdn": { | ||
"scale": [0, 0.75, 1.5, 2.25, 3.0, 3.75, 4.5, 5.25, 6.0, 6.75, 7.5, 8.25], | ||
"scale": [0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.7, 1, 1.5], | ||
"colmap": "coolwarm", | ||
}, | ||
"wetoxsf": {"scale": [0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.7, 1, 1.5], "colmap": "coolwarm"}, | ||
"wetoxnf": {"scale": [0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.7, 1, 1.5], "colmap": "coolwarm"}, | ||
"wetrdnf": { | ||
"scale": [0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.7, 1, 1.5], | ||
"colmap": "coolwarm", | ||
}, | ||
"prmm": {"scale": [0, 1.25, 2.5, 3.75, 5, 6.25, 7.5, 8.75, 10], "colmap": "coolwarm"}, | ||
|
@@ -215,6 +222,7 @@ | |
"colmap": "coolwarm", | ||
}, | ||
"drydust": { | ||
# "scale": [0.0, 10.0, 20.0, 30.0, 40.0, 50.0, 60.0, 70.0, 80.0, 90.0, 100.0], | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ... |
||
"scale": [0.0, 0.2, 0.5, 1.0, 2.0, 5.0, 10.0, 20.0, 50.0, 100.0, 200.0, 500.0, 1000.0], | ||
"colmap": "coolwarm", | ||
}, | ||
|
@@ -255,6 +263,58 @@ | |
"colmap": "coolwarm", | ||
}, | ||
"ts": {"scale": [265, 270, 275, 280, 285, 290, 300, 305, 310, 315, 320], "colmap": "coolwarm"}, | ||
"proxydryo3": {"scale": [0, 0.5, 1, 15, 20, 25, 0.30, 40, 50], "colmap": "coolwarm"}, | ||
"proxydrypm10": {"scale": [0, 0.25, 0.5, 0.75, 1, 1.25, 1.5, 1.75, 2], "colmap": "coolwarm"}, | ||
"proxydrypm25": {"scale": [0, 0.25, 0.5, 0.75, 1, 1.25, 1.5, 1.75, 2], "colmap": "coolwarm"}, | ||
"proxydryno2": { | ||
"scale": [0, 0.05, 0.1, 0.15, 0.2, 0.25, 0.3, 0.35, 0.4], | ||
"colmap": "coolwarm", | ||
}, | ||
"proxydryhono": {"scale": [0.001, 0.002, 0.003, 0.004, 0.005, 0.006], "colmap": "coolwarm"}, | ||
"proxydryn2o5": {"scale": [0.01, 0.02, 0.03, 0.04, 0.05], "colmap": "coolwarm"}, | ||
"proxydryhno3": { | ||
"scale": [0, 0.05, 0.1, 0.15, 0.2, 0.25, 0.3, 0.35, 0.4], | ||
"colmap": "coolwarm", | ||
}, | ||
"proxydryno3c": { | ||
"scale": [0.01, 0.02, 0.03, 0.04, 0.05], | ||
"colmap": "coolwarm", | ||
}, | ||
"proxydryno3f": {"scale": [0.01, 0.02, 0.03, 0.04, 0.05], "colmap": "coolwarm"}, | ||
"proxydrynh3": { | ||
"scale": [0, 0.10, 0.20, 0.30, 0.40, 0.50, 0.60, 0.70, 0.80], | ||
"colmap": "coolwarm", | ||
}, | ||
"proxydrynh4": { | ||
"scale": [0, 0.05, 0.1, 0.15, 0.2, 0.25, 0.3, 0.35, 0.4], | ||
"colmap": "coolwarm", | ||
}, | ||
"proxydryso2": { | ||
"scale": [0, 0.05, 0.1, 0.15, 0.2, 0.25, 0.3, 0.35, 0.4], | ||
"colmap": "coolwarm", | ||
}, | ||
"proxydryso4": { | ||
"scale": [0.01, 0.02, 0.03, 0.04, 0.05], | ||
"colmap": "coolwarm", | ||
}, | ||
"proxydryoxs": { | ||
"scale": [0, 0.05, 0.1, 0.15, 0.20, 0.25, 0.30, 0.35, 0.40], | ||
"colmap": "coolwarm", | ||
}, | ||
"proxydryoxn": { | ||
"scale": [0, 0.10, 0.20, 0.30, 0.40, 0.50, 0.60, 0.70, 0.80], | ||
"colmap": "coolwarm", | ||
}, | ||
"proxydryrdn": { | ||
"scale": [0, 0.10, 0.20, 0.30, 0.40, 0.50, 0.60, 0.70, 0.80], | ||
"colmap": "coolwarm", | ||
}, | ||
"depoxs": {"scale": [0, 0.25, 0.5, 0.75, 1, 1.25, 1.5, 1.75, 2], "colmap": "coolwarm"}, | ||
"depoxn": {"scale": [0, 0.25, 0.5, 0.75, 1, 1.25, 1.5, 1.75, 2], "colmap": "coolwarm"}, | ||
"deprdn": {"scale": [0, 0.25, 0.5, 0.75, 1, 1.25, 1.5, 1.75, 2], "colmap": "coolwarm"}, | ||
"depoxsf": {"scale": [0, 0.25, 0.5, 0.75, 1, 1.25, 1.5, 1.75, 2], "colmap": "coolwarm"}, | ||
"depoxnf": {"scale": [0, 0.25, 0.5, 0.75, 1, 1.25, 1.5, 1.75, 2], "colmap": "coolwarm"}, | ||
"deprdnf": {"scale": [0, 0.25, 0.5, 0.75, 1, 1.25, 1.5, 1.75, 2], "colmap": "coolwarm"}, | ||
} | ||
|
||
#: Default information for statistical parameters | ||
|
@@ -451,6 +511,18 @@ | |
}, | ||
} | ||
|
||
# For experiments where only model data is interesting, as with proxy drydep | ||
statistics_model_only = { | ||
"data_mean": { | ||
"name": "Mean-Mod", | ||
"longname": "Model Mean", | ||
"scale": None, | ||
"colmap": "coolwarm", | ||
"unit": "1", | ||
"decimals": 2, | ||
}, | ||
} | ||
|
||
#: Mapping of pyaerocom variable names to web naming conventions | ||
## Note: A 2D variable is defined under Column on the website, 3D is defined under Surface | ||
var_web_info = dict( | ||
|
@@ -487,6 +559,7 @@ | |
concNno=["NO", "3D", "Concentration"], | ||
concno2=["NO2", "3D", "Gas concentrations"], | ||
concNno2=["NO2", "3D", "Gas concentrations"], | ||
vmrno=["NO", "3D", "Volume mixing ratios"], | ||
vmrno2=["NO2", "3D", "Volume mixing ratios"], | ||
concno3=["NO3", "3D", "Gas concentrations"], | ||
conctno3=["tNO3", "3D", "Concentration"], | ||
|
@@ -509,6 +582,11 @@ | |
concco=["CO", "3D", "Particle concentration"], | ||
vmrco=["CO", "3D", "Volume mixing ratios"], | ||
vmrco2=["CO2", "3D", "Volume mixing ratios"], | ||
vmrc2h2=["Ethyne", "3D", "Volume mixing ratios"], | ||
vmrc2h4=["Ethylene", "3D", "Volume mixing ratios"], | ||
vmrc2h6=["Ethane", "3D", "Volume mixing ratios"], | ||
vmrhcho=["Formaldehyde", "3D", "Volume mixing ratios"], | ||
vmrisop=["Isoprene", "3D", "Volume mixing ratios"], | ||
vmrch4=["CH4", "3D", "Volume mixing ratios"], | ||
# PMs | ||
concpm10=["PM10", "3D", "Particle concentrations"], | ||
|
@@ -543,9 +621,47 @@ | |
drydust=["DryDustDep", "3D", "Deposition"], | ||
wetdust=["WetDustDep", "3D", "Deposition"], | ||
wetoxs=["WetOXS", "3D", "Deposition"], | ||
wetoxsc=["WetOXScorr", "3D", "Deposition"], | ||
wetoxst=["WetOXStot", "3D", "Deposition"], | ||
wetoxn=["WetOXN", "3D", "Deposition"], | ||
wetrdn=["WetRDN", "3D", "Deposition"], | ||
prmm=["Precipitation", "3D", "Deposition"], | ||
# Temperature | ||
ts=["Surface Temperature", "3D", "Temperature"], | ||
# proxy drydep | ||
proxydryoxs=["proxyDryOXS", "3D", "Deposition"], | ||
proxydryso2=["proxyDrySO2", "3D", "Deposition"], | ||
proxydryso4=["proxyDrySO4", "3D", "Deposition"], | ||
proxydryoxn=["proxyDryOXN", "3D", "Deposition"], | ||
proxydryno2=["proxyDryNO2", "3D", "Deposition"], | ||
proxydryno2no2=["proxyDryNO2NO2", "3D", "Deposition"], | ||
proxydryhono=["proxyDryHONO", "3D", "Deposition"], | ||
proxydryn2o5=["proxyDryN2O5", "3D", "Deposition"], | ||
proxydryhno3=["proxyDryHNO3", "3D", "Deposition"], | ||
proxydryno3c=["proxyDryNO3Coarse", "3D", "Deposition"], | ||
proxydryno3f=["proxyDryNO3Fine", "3D", "Deposition"], | ||
proxydryrdn=["proxyDryRDN", "3D", "Deposition"], | ||
proxydrynh3=["proxyDryNH3", "3D", "Deposition"], | ||
proxydrynh4=["proxyDryNH4", "3D", "Deposition"], | ||
proxydryo3=["proxyDryO3", "3D", "Deposition"], | ||
proxydrypm10=["proxyDryPM10", "3D", "Deposition"], | ||
proxydrypm25=["proxyDryPM2.5", "3D", "Deposition"], | ||
# proxy wetdep | ||
proxywetoxs=["proxyWetOXS", "3D", "Deposition"], | ||
proxywetso2=["proxyWetSO2", "3D", "Deposition"], | ||
proxywetso4=["proxyWetSO4", "3D", "Deposition"], | ||
proxywetoxn=["proxyWetOXN", "3D", "Deposition"], | ||
proxywetno2=["proxyWetNO2", "3D", "Deposition"], | ||
proxywetno2no2=["proxyWetNO2NO2", "3D", "Deposition"], | ||
proxywethono=["proxyWetHONO", "3D", "Deposition"], | ||
proxywetn2o5=["proxyWetN2O5", "3D", "Deposition"], | ||
proxywethno3=["proxyWetHNO3", "3D", "Deposition"], | ||
proxywetno3c=["proxyWetNO3Coarse", "3D", "Deposition"], | ||
proxywetno3f=["proxyWetNO3Fine", "3D", "Deposition"], | ||
proxywetrdn=["proxyWetRDN", "3D", "Deposition"], | ||
proxywetnh3=["proxyWetNH3", "3D", "Deposition"], | ||
proxywetnh4=["proxyWetNH4", "3D", "Deposition"], | ||
proxyweto3=["proxyWetO3", "3D", "Deposition"], | ||
proxywetpm10=["proxyWetPM10", "3D", "Deposition"], | ||
proxywetpm25=["proxyWetPM2.5", "3D", "Deposition"], | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I understand the need for
deepcopy
to create different copies of the same empty dictionary, but would not be better to usecollections.defaultdict
(see docs)?Here is how it looks like with
collections.defaultdict
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just did not know about defaultdict, but did you see the init of
yeardict
?pyaerocom/pyaerocom/aeroval/coldatatojson_helpers.py
Lines 422 to 425 in d0b18cd
yeardict
has some predifined keys which wouldn't be in yourdefaultdict(dict)
, right?