Skip to content

Commit

Permalink
Merge pull request #2744 from mraspaud/fix-alpha-stretching-night-ir
Browse files Browse the repository at this point in the history
Fix cutoffs for night_ir_alpha and bump up trollimage version
  • Loading branch information
mraspaud committed Feb 16, 2024
2 parents 25d5357 + 205d5e8 commit 754e706
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion continuous_integration/environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@ dependencies:
- bokeh
- pip:
- trollsift
- trollimage>=1.20
- trollimage>=1.23
- pyspectral
- pyorbital
1 change: 1 addition & 0 deletions satpy/etc/composites/seviri.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,7 @@ composites:
- name: HRV
modifiers: [sunz_corrected]
- IR_108

hrv_fog:
compositor: !!python/name:satpy.composites.GenericCompositor
standard_name: hrv_fog
Expand Down
2 changes: 1 addition & 1 deletion satpy/etc/enhancements/generic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1104,7 +1104,7 @@ enhancements:
operations:
- name: stretch
method: !!python/name:satpy.enhancements.stretch
kwargs: {stretch: linear, cutoffs: [0.02, 0.02]}
kwargs: {stretch: linear, cutoffs: [[0.02, 0.02], [0.02, 0.02], [0.02, 0.02], [0.02, 0.02]]}
- name: inverse
method: !!python/name:satpy.enhancements.invert
args:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
from setuptools import find_packages, setup

requires = ["numpy >=1.21", "pillow", "pyresample >=1.24.0", "trollsift",
"trollimage >=1.20", "pykdtree", "pyyaml >=5.1", "xarray >=0.14.1",
"trollimage >=1.23", "pykdtree", "pyyaml >=5.1", "xarray >=0.14.1",
"dask[array] >=0.17.1", "pyproj>=2.2", "zarr", "donfig", "appdirs",
"packaging", "pooch", "pyorbital"]

Expand Down

0 comments on commit 754e706

Please sign in to comment.