Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add normalized burn ratio composite (nbr) for VIIRS #640

Merged
merged 2 commits into from
Jan 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 }