-
Notifications
You must be signed in to change notification settings - Fork 321
Description
Feature Request
Is your feature request related to a problem? Please describe.
Satpy does not have a default enhancement defined for brightness temperatures. Showing single-channel imagery will have clouds showing as black. Moreover, if #3237 is implemented, the following code will show a warning:
import hdf5plugin
from satpy import Scene
from glob import glob
fci_files = glob("/media/nas/x23352/MTG/FCI/L1c-cases/202309_10-cwg/10/01/08/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-*-FD--CHK-BODY---NC4E_C_EUMT_20231001*_IDPFI_VAL_20231001*_20231001*_N__C_0054_*.nc")
sc = Scene(filenames={"fci_l1c_nc": fci_files})
sc.load([10.5])
sc.show(10.5)
Today, it does not show a warning, but it does produce dark clouds:
Describe the solution you'd like
I would like a default enhancement for infrared channels.
We could also consider default enhancements for other common standard names, such as cloud_binary_mask and cloud_type, or commonly used names that are not CF standard names, such as cloud_top_height (the list of WMO OSCAR variables has many more entries than there are standard names).
Describe any changes to existing user workflow
This will break backward compatibility for any users who are directly displaying infrared channels, without enhancements defined.
Additional context
This idea is not new; it is mentioned in #2873, but I could not find an issue. It was triggered by thinking about the implications of #3237. We could also have a default enhancement that applies the same stretching as today, retaining dark clouds and backward compatibility.
