Skip to content

Commit

Permalink
Merge pull request #640 from djhoese/feat-normalized-burn-ratio
Browse files Browse the repository at this point in the history
Add normalized burn ratio composite (nbr) for VIIRS
  • Loading branch information
djhoese committed Jan 10, 2024
2 parents 9d531a9 + baa1a1b commit 4de2d1b
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: I02
- compositor: !!python/name:satpy.composites.SumCompositor
prerequisites:
- name: M11
- name: I02
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 4de2d1b

Please sign in to comment.