forked from jservonnat/C-ESM-EP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
custom_plot_params.py
52 lines (44 loc) · 2.6 KB
/
custom_plot_params.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
40
41
42
43
44
45
46
47
48
49
50
51
# -*- coding: iso-8859-1 -*-
# Created : S.Sénési - nov 2015
# Adapter : J.Servonnat - april 2016
dict_plot_params = {
'pr' : {
'default' : { 'scale' : 86400. , 'color' : 'precip_11lev' , 'contours' : 1 },
'full_field' : {'colors':'0.5 1 2 3 4 6 8 10 12 14' },
'bias' : {'color':'MPL_BrBG','colors': '-10 -8 -6 -4 -2 -1 -0.5 -0.2 0.2 0.5 1 2 4 6 8 10' },
'model_model' : {'color':'precip_diff_12lev','colors': '-5 -2 -1 -0.5 -0.2 -0.1 0.1 0.2 0.5 1 2 5'},
},
'prw' : {
'default' : { 'color' : 'precip_11lev' , 'contours' : 1 },
'full_field' : {'min':0, 'max':55, 'delta':5 },
'bias' : {'color':'MPL_BrBG','min':-55, 'max':55, 'delta':5 },
'model_model' : {'color':'precip_diff_12lev','colors': '-5 -2 -1 -0.5 -0.2 -0.1 0.1 0.2 0.5 1 2 5'},
},
'crest' : {
#'full_field' : {'colors':'-120 -110 -100 -90 -80 -70 -60 -50 -40 -30 -20 -10' },
'full_field' :{'min':-120,'max':0,'delta':5,'color':'MPL_viridis'},
'bias' : {'colors': '-50 -40 -30 -20 -10 -5 -2 2 5 10 20 30 40 50' , 'color':'BlueWhiteOrangeRed' },
'model_model' : {'min':-50,'max':50,'delta':5, 'color':'BlueWhiteOrangeRed'},
},
'cress' : {
#'full_field' : {'colors':'-120 -110 -100 -90 -80 -70 -60 -50 -40 -30 -20 -10' },
'full_field' :{'min':-120,'max':0,'delta':5,'color':'MPL_viridis'},
'bias' : {'colors': '-50 -40 -30 -20 -10 -5 -2 2 5 10 20 30 40 50' , 'color':'BlueWhiteOrangeRed' },
'model_model' : {'min':-50,'max':50,'delta':5, 'color':'BlueWhiteOrangeRed'},
},
'rltcre' : {
'full_field' : {'colors':'-100 -90 -80 -70 -60 -50 -40 -30 -20 -10 0 10 20 30 40 50 60 70 80 90 100' },
'bias' : {'colors': '-50 -40 -30 -20 -10 -5 -2 2 5 10 20 30 40 50' , 'color':'BlueWhiteOrangeRed' },
'model_model' : {'colors': '-50 -40 -30 -20 -10 -5 -2 2 5 10 20 30 40 50'},
},
'rstcre' : {
'full_field' : {'colors':'-100 -90 -80 -70 -60 -50 -40 -30 -20 -10 0 10 20 30 40 50 60 70 80 90 100' },
'bias' : {'colors': '-50 -40 -30 -20 -10 -5 -2 2 5 10 20 30 40 50' , 'color':'BlueWhiteOrangeRed' },
'model_model' : {'colors': '-50 -40 -30 -20 -10 -5 -2 2 5 10 20 30 40 50'},
},
'gpp' : {
'default' : { 'color' : 'precip3_16lev' }
},
#'mrro':{'full_field':dict(colors='0 0.1 0.25 0.5 0.75 1 2 5')},
#'mrros':{'full_field':dict(colors='0 0.1 0.25 0.5 0.75 1 2 5')},
}