diff --git a/pctiler/pctiler/colormaps/__init__.py b/pctiler/pctiler/colormaps/__init__.py index 42d5d5d4..d07910b3 100644 --- a/pctiler/pctiler/colormaps/__init__.py +++ b/pctiler/pctiler/colormaps/__init__.py @@ -10,6 +10,7 @@ from .jrc import jrc_colormaps from .lulc import lulc_colormaps from .mtbs import mtbs_colormaps +from .noaa_c_cap import noaa_c_cap_colormaps ################################################################################ # Custom ColorMap Query Parameter Support @@ -22,6 +23,7 @@ **lulc_colormaps, **mtbs_colormaps, **chloris_colormaps, + **noaa_c_cap_colormaps, } for k, v in custom_colormaps.items(): diff --git a/pctiler/pctiler/colormaps/noaa_c_cap.py b/pctiler/pctiler/colormaps/noaa_c_cap.py new file mode 100644 index 00000000..e9b6129d --- /dev/null +++ b/pctiler/pctiler/colormaps/noaa_c_cap.py @@ -0,0 +1,35 @@ +from typing import Dict + +from rio_tiler.types import ColorMapType + + +noaa_c_cap_colormaps: Dict[str, ColorMapType] = { + "c-cap": { + 0: (0, 0, 0, 255), + 1: (0, 0, 0, 255), + 2: (235, 235, 235, 255), + 3: (168, 153, 168, 255), + 4: (143, 117, 121, 255), + 5: (194, 204, 56, 255), + 6: (82, 31, 0, 255), + 7: (194, 159, 79, 255), + 8: (235, 184, 133, 255), + 9: (0, 235, 0, 255), + 10: (0, 57, 0, 255), + 11: (6, 159, 57, 255), + 12: (108, 108, 0, 255), + 13: (0, 94, 94, 255), + 14: (235, 108, 0, 255), + 15: (235, 0, 235, 255), + 16: (57, 0, 57, 255), + 17: (108, 0, 108, 255), + 18: (181, 0, 181, 255), + 19: (0, 235, 235, 255), + 20: (235, 235, 0, 255), + 21: (0, 0, 120, 255), + 22: (0, 0, 236, 255), + 23: (102, 117, 219, 255), + 24: (1, 26, 119, 255), + 25: (24, 24, 24, 255), + } +}