Skip to content

Commit

Permalink
Merge pull request #2247 from gerritholl/default-stretch
Browse files Browse the repository at this point in the history
  • Loading branch information
djhoese committed Nov 2, 2022
2 parents 11af39a + 8dba3d9 commit 05419d7
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions doc/source/composites.rst
Expand Up @@ -536,6 +536,23 @@ the file) as::
kwargs:
gamma: [1.7, 1.7, 1.7]

.. warning::
If you define a composite with no matching enhancement, Satpy will by
default apply the :func:`~trollimage.xrimage.XRImage.stretch_linear` enhancement with
cutoffs of 0.5% and 99.5%. If you want no enhancement at all (maybe you
are enhancing a composite based on :class:`DayNightCompositor` where
the components have their own enhancements defined), you need to define
an enhancement that does nothing::

enhancements:
day_x:
standard_name: day_x
operations: []

It is recommended to define an enhancement even if you intend to use
the default, in case the default should change in future versions of
Satpy.

More examples can be found in SatPy source code directory
``satpy/etc/enhancements/generic.yaml``.

Expand Down

0 comments on commit 05419d7

Please sign in to comment.