Skip to content

Commit

Permalink
feat: add usda-cdl frequency colormaps (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
gadomski authored Jan 12, 2023
1 parent 0886ca0 commit 9c1efed
Showing 1 changed file with 72 additions and 0 deletions.
72 changes: 72 additions & 0 deletions pctiler/pctiler/colormaps/lulc.py
Original file line number Diff line number Diff line change
Expand Up @@ -1025,6 +1025,78 @@
253: (168, 112, 0, 255),
254: (38, 115, 0, 255),
},
"usda-cdl-corn": {
0: (0, 0, 0, 0),
1: (255, 255, 204, 255),
2: (255, 243, 176, 255),
3: (254, 232, 150, 255),
4: (254, 220, 124, 255),
5: (254, 199, 98, 255),
6: (253, 175, 74, 255),
7: (253, 152, 64, 255),
8: (252, 121, 54, 255),
9: (252, 82, 43, 255),
10: (238, 50, 34, 255),
11: (221, 22, 29, 255),
12: (197, 5, 35, 255),
13: (165, 0, 38, 255),
14: (128, 0, 38, 255),
255: (0, 0, 0, 0),
},
"usda-cdl-soybeans": {
0: (0, 0, 0, 0),
1: (255, 255, 229, 255),
2: (250, 253, 201, 255),
3: (240, 249, 179, 255),
4: (221, 241, 166, 255),
5: (196, 231, 153, 255),
6: (168, 219, 140, 255),
7: (136, 205, 127, 255),
8: (103, 189, 112, 255),
9: (69, 173, 95, 255),
10: (48, 150, 79, 255),
11: (29, 127, 65, 255),
12: (8, 110, 57, 255),
13: (0, 90, 49, 255),
14: (0, 69, 41, 255),
255: (0, 0, 0, 0),
},
"usda-cdl-cotton": {
0: (0, 0, 0, 0),
1: (255, 255, 229, 255),
2: (250, 253, 201, 255),
3: (240, 249, 179, 255),
4: (221, 241, 166, 255),
5: (196, 231, 153, 255),
6: (168, 219, 140, 255),
7: (136, 205, 127, 255),
8: (103, 189, 112, 255),
9: (69, 173, 95, 255),
10: (48, 150, 79, 255),
11: (29, 127, 65, 255),
12: (8, 110, 57, 255),
13: (0, 90, 49, 255),
14: (0, 69, 41, 255),
255: (0, 0, 0, 0),
},
"usda-cdl-wheat": {
0: (0, 0, 0, 0),
1: (255, 255, 204, 255),
2: (255, 243, 176, 255),
3: (254, 232, 150, 255),
4: (254, 220, 124, 255),
5: (254, 199, 98, 255),
6: (253, 175, 74, 255),
7: (253, 152, 64, 255),
8: (252, 121, 54, 255),
9: (252, 82, 43, 255),
10: (238, 50, 34, 255),
11: (221, 22, 29, 255),
12: (197, 5, 35, 255),
13: (165, 0, 38, 255),
14: (128, 0, 38, 255),
255: (0, 0, 0, 0),
},
"usgs-lcmap": {
0: (0, 0, 0, 0),
1: (255, 50, 50, 255),
Expand Down

0 comments on commit 9c1efed

Please sign in to comment.