Skip to content

Commit

Permalink
Merge pull request #2441 from joleenf/clavrx_cloud_rgb
Browse files Browse the repository at this point in the history
Add channel aliases to the CLAVRx reader to facilitate composites
  • Loading branch information
djhoese authored Feb 16, 2024
2 parents 754e706 + f6d1f1f commit a1d667d
Show file tree
Hide file tree
Showing 7 changed files with 788 additions and 492 deletions.
23 changes: 23 additions & 0 deletions satpy/etc/enhancements/generic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,29 @@ enhancements:
stretch: linear
cutoffs: [0.005, 0.005]

four_level_cloud_mask:
standard_name: cloud_mask
reader: clavrx
operations:
- name: palettize
method: !!python/name:satpy.enhancements.palettize
kwargs:
palettes:
- {'values': [-127,# Fill Value
0, # Clear
1, # Probably Clear
2, # Probably Cloudy
3, # Cloudy
],
'colors': [[0, 0, 0], # black,-127 = Fill Value
[94, 79, 162], # blue, 0 = Clear
[73, 228, 242], # cyan, 1 = Probably Clear
[158, 1, 66], # red, 2 = Probably Cloudy
[255, 255, 255], # white, 3 = Cloudy
],
'color_scale': 255,
}

sar-ice:
standard_name: sar-ice
operations:
Expand Down
Loading

0 comments on commit a1d667d

Please sign in to comment.