Skip to content

Commit

Permalink
Add NDVI/EVI/LST/AOD colormaps for VIIRS
Browse files Browse the repository at this point in the history
  • Loading branch information
djhoese committed Aug 17, 2023
1 parent 42e2327 commit abcb2d8
Showing 1 changed file with 153 additions and 0 deletions.
153 changes: 153 additions & 0 deletions etc/enhancements/viirs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,156 @@ enhancements:
# name: WaterDetection
# sensor: viirs
# operations: {}

veg_index:
standard_name: normalized_difference_vegetation_index
sensor: viirs
operations:
- name: colorize
method: !!python/name:polar2grid.enhancements.colorize
kwargs:
palettes:
- {
values: [
0.00000,
0.06000,
0.06001,
0.29210,
0.29211,
0.35000,
0.35001,
0.40999,
0.41000,
0.47000,
0.47001,
0.52700,
0.52701,
0.58600,
0.58601,
0.64500,
0.64501,
0.70400,
0.70401,
0.76200,
0.76201,
0.81000,
0.81001,
0.88000,
0.88001,
0.93900,
0.93901,
0.99599,
0.99600,
1.00000,
],
colors: [
[235,235,235,255],
[235,235,235,255],
[202,108,32,255],
[255,222,104,255],
[126,156,44,255],
[126,156,44,255],
[150,182,19,255],
[150,182,19,255],
[117,170,0,255],
[117,170,0,255],
[103,161,0,255],
[103,161,0,255],
[82,148,0,255],
[82,148,0,255],
[61,134,1,255],
[61,134,1,255],
[28,115,1,255],
[28,115,1,255],
[0,95,1,255],
[0,95,1,255],
[0,72,0,255],
[0,72,0,255],
[2,55,1,255],
[2,55,1,255],
[0,41,1,255],
[0,41,1,255],
[1,19,1,255],
[1,19,1,255],
[235,235,235,255],
[0,0,0,255],
]
}

vlst:
name: VLST
sensor: viirs
operations:
- name: colorize
method: !!python/name:polar2grid.enhancements.colorize
kwargs:
palettes:
# AWIPS "VTRSB.cmap"
- min_value: 223.15
max_value: 429.15
values: [
0.0,
0.1,
0.2,
0.3,
0.4,
0.5,
0.6,
0.7,
0.8,
0.9,
1.0,
]
colors: [
[0.0, 0.0, 0.0],
[0.5, 0.0, 1.0],
[0.0, 0.0, 1.0],
[0.0, 0.5, 1.0],
[0.0, 1.0, 1.0],
[0.0, 1.0, 0.5],
[0.0, 1.0, 0.0],
[0.5, 1.0, 0.0],
[1.0, 1.0, 0.0],
[1.0, 0.5, 0.0],
[1.0, 0.0, 0.0],
]
color_scale: 1.0

aod550:
name: AOD550
sensor: viirs
operations:
- name: colorize
method: !!python/name:polar2grid.enhancements.colorize
kwargs:
# AWIPS "VTRSB.cmap"
palettes:
- min_value: 0.0
max_value: 1.0
values: [
0.0,
0.1,
0.2,
0.3,
0.4,
0.5,
0.6,
0.7,
0.8,
0.9,
1.0,
]
colors: [
[0.0, 0.0, 0.0],
[0.5, 0.0, 1.0],
[0.0, 0.0, 1.0],
[0.0, 0.5, 1.0],
[0.0, 1.0, 1.0],
[0.0, 1.0, 0.5],
[0.0, 1.0, 0.0],
[0.5, 1.0, 0.0],
[1.0, 1.0, 0.0],
[1.0, 0.5, 0.0],
[1.0, 0.0, 0.0],
]
color_scale: 1.0

0 comments on commit abcb2d8

Please sign in to comment.