From ecded87f5e062398d7b3e412e316c6e90034dbbe Mon Sep 17 00:00:00 2001 From: "kaur.inderpreet" Date: Wed, 20 May 2026 11:10:33 +0200 Subject: [PATCH 1/4] Added readers for the new cloud base height product in PPS --- satpy/etc/enhancements/generic.yaml | 37 +++++++++++++++ satpy/etc/readers/nwcsaf-pps_nc.yaml | 70 ++++++++++++++++++++++++++++ 2 files changed, 107 insertions(+) diff --git a/satpy/etc/enhancements/generic.yaml b/satpy/etc/enhancements/generic.yaml index d89be70b61..f883e37b96 100644 --- a/satpy/etc/enhancements/generic.yaml +++ b/satpy/etc/enhancements/generic.yaml @@ -599,6 +599,43 @@ enhancements: - dataset: ctth_tempe_pal color_scale: 255 + cloud_base_height: + standard_name: cloud_base_height + operations: + - name: colorize + method: !!python/name:satpy.enhancements.colormap.colorize + kwargs: + palettes: + - dataset: cbh_alti_pal + + cloud_base_pressure: + standard_name: cloud_base_pressure + operations: + - name: colorize + method: !!python/name:satpy.enhancements.colormap.colorize + kwargs: + palettes: + - dataset: cbh_pres_pal + + cloud_base_height_in_hectofeet: + standard_name: cloud_base_height_in_hectofeet + operations: + - name: colorize + method: !!python/name:satpy.enhancements.colormap.colorize + kwargs: + palettes: + - dataset: cbh_hfeet_pal + + cloud_base_temperature: + standard_name: cloud_base_temperature + operations: + - name: colorize + method: !!python/name:satpy.enhancements.colormap.palettize + kwargs: + palettes: + - dataset: cbh_tempe_pal + color_scale: 255 + cloud_top_phase: standard_name: cloud_top_phase operations: diff --git a/satpy/etc/readers/nwcsaf-pps_nc.yaml b/satpy/etc/readers/nwcsaf-pps_nc.yaml index 45c2ecd0bd..19010dd9cb 100644 --- a/satpy/etc/readers/nwcsaf-pps_nc.yaml +++ b/satpy/etc/readers/nwcsaf-pps_nc.yaml @@ -45,6 +45,15 @@ file_types: file_patterns: ['S_NWC_CMIC_{platform_id}_{orbit_number}_{start_time:%Y%m%dT%H%M%S%f}Z_{end_time:%Y%m%dT%H%M%S%f}Z.nc'] file_key_prefix: cmic_ + nc_nwcsaf_cbh: + file_reader: !!python/name:satpy.readers.nwcsaf_nc.NcNWCSAF + file_patterns: ['S_NWC_CBH_{platform_id}_{orbit_number}_{start_time:%Y%m%dT%H%M%S%f}Z_{end_time:%Y%m%dT%H%M%S%f}Z.nc'] + + nc_nwcsaf_adcot: + file_reader: !!python/name:satpy.readers.nwcsaf_nc.NcNWCSAF + file_patterns: ['S_NWC_ADCOT_{platform_id}_{orbit_number}_{start_time:%Y%m%dT%H%M%S%f}Z_{end_time:%Y%m%dT%H%M%S%f}Z.nc'] + + datasets: lon: @@ -53,6 +62,8 @@ datasets: - nc_nwcsaf_cma - nc_nwcsaf_ct - nc_nwcsaf_ctth + - nc_nwcsaf_cbh + - nc_nwcsaf_adcot units: "degrees" standard_name: longitude lat: @@ -61,6 +72,8 @@ datasets: - nc_nwcsaf_cma - nc_nwcsaf_ct - nc_nwcsaf_ctth + - nc_nwcsaf_cbh + - nc_nwcsaf_adcot units: "degrees" standard_name: latitude @@ -350,3 +363,60 @@ datasets: file_key: dcot file_type: [nc_nwcsaf_cpp, nc_nwcsaf_cmic] coordinates: [lon, lat] + +# ---- CBH products ------------ + + cbh_alti: + name: cbh_alti + file_type: nc_nwcsaf_cbh + coordinates: [lon, lat] + + cbh_alti_pal: + name: cbh_alti_pal + scale_offset_dataset: cbh_alti + file_type: nc_nwcsaf_cbh + + cbh_quality: + name: cbh_quality + file_type: nc_nwcsaf_cbh + coordinates: [lon, lat] + + cbh_conditions: + name: cbh_conditions + file_type: nc_nwcsaf_cbh + coordinates: [lon, lat] + + cbh_status_flag: + name: cbh_status_flag + file_type: nc_nwcsaf_cbh + coordinates: [lon, lat] + + cbh_pres: + name: cbh_pres + file_type: nc_nwcsaf_cbh + coordinates: [lon, lat] + + cbh_pres_pal: + name: cbh_pres_pal + scale_offset_dataset: cbh_pres + file_type: nc_nwcsaf_cbh + + cbh_tempe: + name: cbh_tempe + file_type: nc_nwcsaf_cbh + coordinates: [lon, lat] + + cbh_tempe_pal: + name: cbh_tempe_pal + scale_offset_dataset: cbh_tempe + file_type: nc_nwcsaf_cbh + + cbh_hfeet: + name: cbh_hfeet + file_type: nc_nwcsaf_cbh + coordinates: [lon, lat] + + cbh_hfeet_pal: + name: cbh_hfeet_pal + scale_offset_dataset: cbh_hfeet + file_type: nc_nwcsaf_cbh \ No newline at end of file From 8a899959bb2e5e221bbf9579b89019f1baf83d37 Mon Sep 17 00:00:00 2001 From: "kaur.inderpreet" Date: Wed, 20 May 2026 11:16:41 +0200 Subject: [PATCH 2/4] added name to the list --- AUTHORS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/AUTHORS.md b/AUTHORS.md index a8da9ec5f5..6a2d1d4298 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -53,6 +53,7 @@ The following people have made contributions to this project: - [Johannes Johansson (JohannesSMHI)](https://github.com/JohannesSMHI) - [Sauli Joro (sjoro)](https://github.com/sjoro) - [Przemyslaw Juda (pjuda)](https://github.com/pjuda) +- [Inderpreet Kaur](https://github.com/ikaur17) - [Pouria Khalaj](https://github.com/pkhalaj) - [Janne Kotro (jkotro)](https://github.com/jkotro) - [Beke Kremmling (bkremmli)](https://github.com/bkremmli) - Deutscher Wetterdienst From b0a5f55d48e9f37d5a90b7d54e06469d6b1cd90d Mon Sep 17 00:00:00 2001 From: "kaur.inderpreet" Date: Tue, 26 May 2026 12:22:41 +0200 Subject: [PATCH 3/4] added readers for new product in PPS: all day cloud optical thickness (ADCOT) --- satpy/etc/enhancements/generic.yaml | 11 ++++++++++- satpy/etc/readers/nwcsaf-pps_nc.yaml | 13 ++++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/satpy/etc/enhancements/generic.yaml b/satpy/etc/enhancements/generic.yaml index f883e37b96..218ea7ac9b 100644 --- a/satpy/etc/enhancements/generic.yaml +++ b/satpy/etc/enhancements/generic.yaml @@ -633,9 +633,18 @@ enhancements: method: !!python/name:satpy.enhancements.colormap.palettize kwargs: palettes: - - dataset: cbh_tempe_pal + - dataset: cbh_tempe_pal color_scale: 255 + adcot: + standard_name: adcot + operations: + - name: colorize + method: !!python/name:satpy.enhancements.colormap.colorize + kwargs: + palettes: + - dataset: adcot_pal + cloud_top_phase: standard_name: cloud_top_phase operations: diff --git a/satpy/etc/readers/nwcsaf-pps_nc.yaml b/satpy/etc/readers/nwcsaf-pps_nc.yaml index 19010dd9cb..7cf843b02e 100644 --- a/satpy/etc/readers/nwcsaf-pps_nc.yaml +++ b/satpy/etc/readers/nwcsaf-pps_nc.yaml @@ -419,4 +419,15 @@ datasets: cbh_hfeet_pal: name: cbh_hfeet_pal scale_offset_dataset: cbh_hfeet - file_type: nc_nwcsaf_cbh \ No newline at end of file + file_type: nc_nwcsaf_cbh + +# ------------------------------------- + adcot: + name: adcot + file_type: nc_nwcsaf_adcot + coordinates: [lon, lat] + + adcot_pal: + name: adcot_pal + scale_offset_dataset: adcot + file_type: nc_nwcsaf_adcot From a246cc22ef246e9d8cb380339d7626689a5c1c84 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 26 May 2026 10:26:30 +0000 Subject: [PATCH 4/4] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- satpy/etc/enhancements/generic.yaml | 2 +- satpy/etc/readers/nwcsaf-pps_nc.yaml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/satpy/etc/enhancements/generic.yaml b/satpy/etc/enhancements/generic.yaml index 218ea7ac9b..37200160c6 100644 --- a/satpy/etc/enhancements/generic.yaml +++ b/satpy/etc/enhancements/generic.yaml @@ -607,7 +607,7 @@ enhancements: kwargs: palettes: - dataset: cbh_alti_pal - + cloud_base_pressure: standard_name: cloud_base_pressure operations: diff --git a/satpy/etc/readers/nwcsaf-pps_nc.yaml b/satpy/etc/readers/nwcsaf-pps_nc.yaml index 7cf843b02e..f535f6c700 100644 --- a/satpy/etc/readers/nwcsaf-pps_nc.yaml +++ b/satpy/etc/readers/nwcsaf-pps_nc.yaml @@ -51,8 +51,8 @@ file_types: nc_nwcsaf_adcot: file_reader: !!python/name:satpy.readers.nwcsaf_nc.NcNWCSAF - file_patterns: ['S_NWC_ADCOT_{platform_id}_{orbit_number}_{start_time:%Y%m%dT%H%M%S%f}Z_{end_time:%Y%m%dT%H%M%S%f}Z.nc'] - + file_patterns: ['S_NWC_ADCOT_{platform_id}_{orbit_number}_{start_time:%Y%m%dT%H%M%S%f}Z_{end_time:%Y%m%dT%H%M%S%f}Z.nc'] + datasets: @@ -410,7 +410,7 @@ datasets: name: cbh_tempe_pal scale_offset_dataset: cbh_tempe file_type: nc_nwcsaf_cbh - + cbh_hfeet: name: cbh_hfeet file_type: nc_nwcsaf_cbh