From 70bbc862edf29d02ef4ec11248e7e15786c5af7d Mon Sep 17 00:00:00 2001 From: "Adam.Dybbroe" Date: Tue, 1 Oct 2024 20:12:03 +0200 Subject: [PATCH] Changing the humidity-surface RGB to consider the lowest peaking absorption channel for the blue band rather than highest Signed-off-by: Adam.Dybbroe --- satpy/etc/composites/atms.yaml | 2 +- satpy/etc/composites/aws.yaml | 18 +++++++++++++++++- satpy/etc/enhancements/aws.yaml | 28 ++++++++++++++++++++++++++++ satpy/etc/readers/atms_sdr_hdf5.yaml | 2 +- 4 files changed, 47 insertions(+), 3 deletions(-) diff --git a/satpy/etc/composites/atms.yaml b/satpy/etc/composites/atms.yaml index 27afd5d2b8..624f0bc93b 100644 --- a/satpy/etc/composites/atms.yaml +++ b/satpy/etc/composites/atms.yaml @@ -14,5 +14,5 @@ composites: prerequisites: - name: '16' - name: '17' - - name: '22' + - name: '18' standard_name: mw183_humidity_surface diff --git a/satpy/etc/composites/aws.yaml b/satpy/etc/composites/aws.yaml index 77d2014794..55af749d89 100644 --- a/satpy/etc/composites/aws.yaml +++ b/satpy/etc/composites/aws.yaml @@ -14,5 +14,21 @@ composites: prerequisites: - name: '9' - name: '10' - - name: '15' + - name: '12' standard_name: mw183_humidity_surface + + mw325_humidity_surface: + compositor: !!python/name:satpy.composites.RGBCompositor + prerequisites: + - name: '9' + - name: '10' + - name: '19' + standard_name: mw325_humidity_surface + + mw325_humidity: + compositor: !!python/name:satpy.composites.RGBCompositor + prerequisites: + - name: '16' + - name: '18' + - name: '19' + standard_name: mw325_humidity diff --git a/satpy/etc/enhancements/aws.yaml b/satpy/etc/enhancements/aws.yaml index c997a11350..4d79b0ae11 100644 --- a/satpy/etc/enhancements/aws.yaml +++ b/satpy/etc/enhancements/aws.yaml @@ -27,3 +27,31 @@ enhancements: - name: gamma method: !!python/name:satpy.enhancements.gamma kwargs: {gamma: 1.2} + + mw325_humidity: + standard_name: mw325_humidity + operations: + - name: inverse + method: !!python/name:satpy.enhancements.invert + args: + - [true, true, true] + - name: stretch + method: !!python/name:satpy.enhancements.stretch + kwargs: {stretch: linear} + - name: gamma + method: !!python/name:satpy.enhancements.gamma + kwargs: {gamma: 1.2} + + mw325_humidity_surface: + standard_name: mw325_humidity_surface + operations: + - name: inverse + method: !!python/name:satpy.enhancements.invert + args: + - [true, true, true] + - name: stretch + method: !!python/name:satpy.enhancements.stretch + kwargs: {stretch: linear} + - name: gamma + method: !!python/name:satpy.enhancements.gamma + kwargs: {gamma: 1.2} diff --git a/satpy/etc/readers/atms_sdr_hdf5.yaml b/satpy/etc/readers/atms_sdr_hdf5.yaml index fa8e4105ce..6ad1a1e0a9 100644 --- a/satpy/etc/readers/atms_sdr_hdf5.yaml +++ b/satpy/etc/readers/atms_sdr_hdf5.yaml @@ -33,7 +33,7 @@ reader: file_types: atms_sdr_hdf5: file_reader: !!python/name:satpy.readers.atms_sdr_hdf5.ATMS_SDR_FileHandler - file_patterns: ['SATMS_{platform_shortname}_d{start_time:%Y%m%d_t%H%M%S%f}_e{end_time:%H%M%S%f}_b{orbit:5d}_c{creation_time:%Y%m%d%H%M%S%f}_{source}.h5', 'GATMO_{platform_shortname}_d{start_time:%Y%m%d_t%H%M%S%f}_e{end_time:%H%M%S%f}_b{orbit:5d}_c{creation_time:%Y%m%d%H%M%S%f}_{source}.h5'] + file_patterns: ['SATMS_{platform_shortname}_d{start_time:%Y%m%d_t%H%M%S%f}_e{end_time:%H%M%S%f}_b{orbit:5d}_c{creation_time:%Y%m%d%H%M%S%f}_{source}.h5', 'GATMO_{platform_shortname}_d{start_time:%Y%m%d_t%H%M%S%f}_e{end_time:%H%M%S%f}_b{orbit:5d}_c{creation_time:%Y%m%d%H%M%S%f}_{source}.h5','GATMO-SATMS_{platform_shortname}_d{start_time:%Y%m%d_t%H%M%S%f}_e{end_time:%H%M%S%f}_b{orbit:5d}_c{creation_time:%Y%m%d%H%M%S%f}_{source}.h5'] # Example filenames # GATMO_j01_d20221220_t0910240_e0921356_b26361_c20221220100456680030_cspp_dev.h5 # SATMS_j01_d20221220_t0910240_e0921356_b26361_c20221220100456348770_cspp_dev.h5