Skip to content

Commit

Permalink
Add AOD/LST colormaps to ABI and Cloud colormaps to VIIRS
Browse files Browse the repository at this point in the history
  • Loading branch information
djhoese committed Aug 17, 2023
1 parent abcb2d8 commit 8440e64
Show file tree
Hide file tree
Showing 2 changed files with 97 additions and 20 deletions.
95 changes: 75 additions & 20 deletions etc/enhancements/abi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,46 +32,101 @@ enhancements:
kwargs: {stretch: 'crude', min_stretch: 280., max_stretch: 180.}

# Level 2
aerosol_optical_depth:
name: AOD
cloud_top_height:
name: HT
operations:
- name: colorize
method: !!python/name:satpy.enhancements.colorize
kwargs:
palettes:
- filename: colormaps/abi_l2_modified_cloud_top.cmap
min_value: 0.0
max_value: 1.0
min_value: -300
max_value: 20000

cloud_top_height:
name: HT
cloud_top_temperature:
name: TEMP
operations:
- name: colorize
method: !!python/name:satpy.enhancements.colorize
kwargs:
palettes:
- filename: colormaps/abi_l2_modified_cloud_top.cmap
min_value: -300
max_value: 20000

land_surface_temp:
min_value: 300
max_value: 200
lst:
name: LST
sensor: abi
operations:
- name: colorize
method: !!python/name:satpy.enhancements.colorize
method: !!python/name:polar2grid.enhancements.colorize
kwargs:
palettes:
- filename: colormaps/abi_l2_modified_cloud_top.cmap
min_value: 223.15
max_value: 323.15
# 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

cloud_top_temperature:
name: TEMP
aod:
name: AOD
sensor: abi
operations:
- name: colorize
method: !!python/name:satpy.enhancements.colorize
method: !!python/name:polar2grid.enhancements.colorize
kwargs:
# AWIPS "VTRSB.cmap"
palettes:
- filename: colormaps/abi_l2_modified_cloud_top.cmap
min_value: 300
max_value: 200
- 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
22 changes: 22 additions & 0 deletions etc/enhancements/viirs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -198,3 +198,25 @@ enhancements:
[1.0, 0.0, 0.0],
]
color_scale: 1.0

cloud_top_height:
name: CldTopHght
operations:
- name: colorize
method: !!python/name:satpy.enhancements.colorize
kwargs:
palettes:
- filename: colormaps/abi_l2_modified_cloud_top.cmap
min_value: -300
max_value: 20000

cloud_top_temperature:
name: CldTopTemp
operations:
- name: colorize
method: !!python/name:satpy.enhancements.colorize
kwargs:
palettes:
- filename: colormaps/abi_l2_modified_cloud_top.cmap
min_value: 300
max_value: 200

0 comments on commit 8440e64

Please sign in to comment.