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 Jan 10, 2024
1 parent 9d531a9 commit c9f9f74
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
15 changes: 15 additions & 0 deletions polar2grid/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 polar2grid/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 c9f9f74

Please sign in to comment.