-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdef_exps_plot.py
39 lines (30 loc) · 1.07 KB
/
def_exps_plot.py
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
# definition of the object "experiment". It contains mostly the potting properties
import numpy as np
class experiment:
def __init__(self,
name,
label=None,
bestconf=np.nan,
linewidth=1.,
**kwargs):
self.name = name
if label is None:
self.label = name
else:
self.label = label
self.bestconf = bestconf
self.line_appareance = kwargs
self.line_appareance['linewidth'] = linewidth
# Definition of each experiment properties (colors, labels,ect)
euler_01 = experiment(name='atm_rte_rrtmgp_amip_test_gccO2',
label='Euler7, gcc.O2',
bestconf=50,
marker='>',
color='#253494',
linestyle='-')
daint_01 = experiment(name='icon-clm_scaling',
label='EUR-12km',
bestconf=36,
marker='>',
color='#253494',
linestyle='-')