Skip to content

Commit

Permalink
Merge pull request #4 from wpreimes/colormaps
Browse files Browse the repository at this point in the history
Add swi_ascat cmap from pytesmo. The function to load colormaps from json files and matplotlib are included. The function get_user_colormap is not included
  • Loading branch information
FelixReuss committed Jun 19, 2020
2 parents 86099f5 + 80e805e commit 14a3b90
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/colorella/colormaps/swi_ascat.json
@@ -0,0 +1 @@
[{"ColorSpace": "RGB", "Name": "swi_ascat_gradient", "Type": "Segmented", "RGBPoints": [{"red": [[0.0, 0.58431372549, 0.58431372549], [0.1, 0.709803921569, 0.709803921569], [0.2, 0.737254901961, 0.737254901961], [0.30000000000000004, 0.894117647059, 0.894117647059], [0.4, 0.992156862745, 0.992156862745], [0.5, 0.870588235294, 0.870588235294], [0.6000000000000001, 0.650980392157, 0.650980392157], [0.7000000000000001, 0.309803921569, 0.309803921569], [0.8, 0.243137254902, 0.243137254902], [0.9, 0.160784313725, 0.160784313725], [1.0, 0.109803921569, 0.109803921569]], "green": [[0.0, 0.266666666667, 0.266666666667], [0.1, 0.494117647059, 0.494117647059], [0.2, 0.545098039216, 0.545098039216], [0.30000000000000004, 0.827450980392, 0.827450980392], [0.4, 1.0, 1.0], [0.5, 0.909803921569, 0.909803921569], [0.6000000000000001, 0.933333333333, 0.933333333333], [0.7000000000000001, 0.662745098039, 0.662745098039], [0.8, 0.509803921569, 0.509803921569], [0.9, 0.333333333333, 0.333333333333], [1.0, 0.219607843137, 0.219607843137]], "blue": [[0.0, 0.0, 0.0], [0.1, 0.0, 0.0], [0.2, 0.0, 0.0], [0.30000000000000004, 0.0, 0.0], [0.4, 0.63137254902, 0.63137254902], [0.5, 0.913725490196, 0.913725490196], [0.6000000000000001, 0.96862745098, 0.96862745098], [0.7000000000000001, 0.976470588235, 0.976470588235], [0.8, 0.83137254902, 0.83137254902], [0.9, 0.658823529412, 0.658823529412], [1.0, 0.549019607843, 0.549019607843]], "alpha": [[0.0, 1, 1], [0.1, 1, 1], [0.2, 1, 1], [0.30000000000000004, 1, 1], [0.4, 1, 1], [0.5, 1, 1], [0.6000000000000001, 1, 1], [0.7000000000000001, 1, 1], [0.8, 1, 1], [0.9, 1, 1], [1.0, 1, 1]]}]}]

0 comments on commit 14a3b90

Please sign in to comment.