|
|
# Yellow Green
|
|
|
![image](uploads/cfb6f4ca8d324dcdd8d4caf46bf0c4b8/image.png)
|
|
|
- used for : vegc, pft_harvest, cftfrac
|
|
|
```
|
|
|
x=255
|
|
|
refcolors = [(255/x,255/x,204/x),
|
|
|
(194/x,230/x,153/x),
|
|
|
(120/x,198/x,121/x),
|
|
|
(49/x,163/x,84/x),
|
|
|
(0/x,104/x,55/x)]
|
|
|
yelgre = cm.colors.LinearSegmentedColormap.from_list("yelgre", refcolors, N=50)
|
|
|
```
|
|
|
# Yellow Brown
|
|
|
![image](uploads/a7f64a4474941c2ddcab8ea4e0447ce8/image.png)
|
|
|
- used for : soilc, litc
|
|
|
```
|
|
|
x=255
|
|
|
refcolors = [(255/x,255/x,212/x),
|
|
|
(254/x,217/x,142/x),
|
|
|
(254/x,153/x,41/x),
|
|
|
(217/x,95/x,14/x),
|
|
|
(153/x,52/x,4/x)]
|
|
|
yelbro = cm.colors.LinearSegmentedColormap.from_list("yelbro", refcolors, N=50)
|
|
|
```
|
|
|
# Green Red
|
|
|
![image](uploads/3f8dda2ce049076d4c837bebc7a99ed1/image.png)
|
|
|
- used for : sdate, hdate
|
|
|
```
|
|
|
x=255
|
|
|
refcolors = [(215/x,25/x,28/x),
|
|
|
(253/x,174/x,97/x),
|
|
|
(255/x,255/x,191/x),
|
|
|
(166/x,217/x,106/x),
|
|
|
(26/x,150/x,65/x)]
|
|
|
grered = cm.colors.LinearSegmentedColormap.from_list("grered", refcolors, N=50)
|
|
|
```
|
|
|
# White Blue
|
|
|
![image](uploads/374be42de12fb1fae9532bd16bbf14da/image.png)
|
|
|
- used for :
|
|
|
```
|
|
|
x=255
|
|
|
refcolors = [(241/x,238/x,246/x),
|
|
|
(189/x,201/x,225/x),
|
|
|
(116/x,169/x,207/x),
|
|
|
(43/x,140/x,190/x),
|
|
|
(4/x,90/x,141/x)]
|
|
|
whiblu = cm.colors.LinearSegmentedColormap.from_list("whiblu", refcolors, N=50)
|
|
|
```
|
|
|
## all color maps
|
|
|
```
|
|
|
x=255
|
|
|
#yellow green : vegc,
|
|
|
refcolors = [(255/x,255/x,204/x),
|
|
|
(194/x,230/x,153/x),
|
|
|
(120/x,198/x,121/x),
|
|
|
(49/x,163/x,84/x),
|
|
|
(0/x,104/x,55/x)]
|
|
|
yelgre = cm.colors.LinearSegmentedColormap.from_list("yelgre", refcolors, N=50)
|
|
|
|
|
|
#yellow brown : soilc,
|
|
|
refcolors = [(255/x,255/x,212/x),
|
|
|
(254/x,217/x,142/x),
|
|
|
(254/x,153/x,41/x),
|
|
|
(217/x,95/x,14/x),
|
|
|
(153/x,52/x,4/x)]
|
|
|
yelbro = cm.colors.LinearSegmentedColormap.from_list("yelbro", refcolors, N=50)
|
|
|
|
|
|
#green red : sdate, hdate
|
|
|
refcolors = [(215/x,25/x,28/x),
|
|
|
(253/x,174/x,97/x),
|
|
|
(255/x,255/x,191/x),
|
|
|
(166/x,217/x,106/x),
|
|
|
(26/x,150/x,65/x)]
|
|
|
grered = cm.colors.LinearSegmentedColormap.from_list("grered", refcolors, N=50)
|
|
|
|
|
|
#white blue : cft_consump_water_b, cft_consump_water_g, mrunoff
|
|
|
refcolors = [(241/x,238/x,246/x),
|
|
|
(189/x,201/x,225/x),
|
|
|
(116/x,169/x,207/x),
|
|
|
(43/x,140/x,190/x),
|
|
|
(4/x,90/x,141/x)]
|
|
|
whiblu = cm.colors.LinearSegmentedColormap.from_list("whiblu", refcolors, N=50)
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|