Skip to content

Commit

Permalink
Add normalized burn ratio composite (nbr) for VIIRS
Browse files Browse the repository at this point in the history
  • Loading branch information
djhoese committed Sep 12, 2023
1 parent 198070d commit a757fc8
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
15 changes: 15 additions & 0 deletions etc/composites/viirs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -318,3 +318,18 @@ composites:
standard_name: equalized_radiance
units: "1"
saturation_correction: true

nbr:
compositor: !!python/name:satpy.composites.viirs.GenericCompositor
prerequisites:
- compositor: !!python/name:satpy.composites.RatioCompositor
prerequisites:
- compositor: !!python/name:satpy.composites.DifferenceCompositor
prerequisites:
- name: M11
- name: M07
- compositor: !!python/name:satpy.composites.SumCompositor
prerequisites:
- name: M11
- name: M07
standard_name: normalized_burn_ratio
8 changes: 8 additions & 0 deletions etc/enhancements/viirs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -166,3 +166,11 @@ enhancements:
- filename: colormaps/abi_l2_modified_cloud_top.cmap
min_value: 300
max_value: 200

nbr:
sensor: viirs
standard_name: normalized_burn_ratio
operations:
- name: linear_stretch
method: !!python/name:satpy.enhancements.stretch
kwargs: { stretch: 'crude', min_stretch: -1.0, max_stretch: 1.0 }

0 comments on commit a757fc8

Please sign in to comment.