From ac6a70595c94c9e9409e2b759624a7a8f088a3a3 Mon Sep 17 00:00:00 2001 From: Panu Lahtinen Date: Fri, 10 Nov 2023 09:59:32 +0200 Subject: [PATCH 1/2] Remove duplicate entries of required netcdf variables in FCI reader --- satpy/etc/readers/fci_l1c_nc.yaml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/satpy/etc/readers/fci_l1c_nc.yaml b/satpy/etc/readers/fci_l1c_nc.yaml index f89699ae3a..4462087a39 100644 --- a/satpy/etc/readers/fci_l1c_nc.yaml +++ b/satpy/etc/readers/fci_l1c_nc.yaml @@ -37,16 +37,12 @@ file_types: - data/{channel_name}/measured/index_map - data/mtg_geos_projection/attr/inverse_flattening - data/mtg_geos_projection/attr/longitude_of_projection_origin - - data/mtg_geos_projection/attr/longitude_of_projection_origin - - data/mtg_geos_projection/attr/perspective_point_height - - data/mtg_geos_projection/attr/perspective_point_height - data/mtg_geos_projection/attr/perspective_point_height - data/mtg_geos_projection/attr/semi_major_axis - data/swath_direction - data/swath_number - index - state/celestial/earth_sun_distance - - state/celestial/earth_sun_distance - state/celestial/subsolar_latitude - state/celestial/subsolar_longitude - state/celestial/sun_satellite_distance @@ -95,16 +91,12 @@ file_types: - data/{channel_name}/measured/index_map - data/mtg_geos_projection/attr/inverse_flattening - data/mtg_geos_projection/attr/longitude_of_projection_origin - - data/mtg_geos_projection/attr/longitude_of_projection_origin - - data/mtg_geos_projection/attr/perspective_point_height - - data/mtg_geos_projection/attr/perspective_point_height - data/mtg_geos_projection/attr/perspective_point_height - data/mtg_geos_projection/attr/semi_major_axis - data/swath_direction - data/swath_number - index - state/celestial/earth_sun_distance - - state/celestial/earth_sun_distance - state/celestial/subsolar_latitude - state/celestial/subsolar_longitude - state/celestial/sun_satellite_distance From f3c4c7945512b2e01821ea358b25a2751da8325f Mon Sep 17 00:00:00 2001 From: Panu Lahtinen Date: Fri, 10 Nov 2023 10:25:54 +0200 Subject: [PATCH 2/2] Remove attribute names that are read via their parent --- satpy/etc/readers/fci_l1c_nc.yaml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/satpy/etc/readers/fci_l1c_nc.yaml b/satpy/etc/readers/fci_l1c_nc.yaml index 4462087a39..d241b3fa9e 100644 --- a/satpy/etc/readers/fci_l1c_nc.yaml +++ b/satpy/etc/readers/fci_l1c_nc.yaml @@ -20,7 +20,6 @@ file_types: expected_segments: 40 required_netcdf_variables: - attr/platform - - data/mtg_geos_projection - data/{channel_name}/measured/start_position_row - data/{channel_name}/measured/end_position_row - data/{channel_name}/measured/radiance_to_bt_conversion_coefficient_wavenumber @@ -35,10 +34,7 @@ file_types: - data/{channel_name}/measured/y - data/{channel_name}/measured/pixel_quality - data/{channel_name}/measured/index_map - - data/mtg_geos_projection/attr/inverse_flattening - - data/mtg_geos_projection/attr/longitude_of_projection_origin - - data/mtg_geos_projection/attr/perspective_point_height - - data/mtg_geos_projection/attr/semi_major_axis + - data/mtg_geos_projection - data/swath_direction - data/swath_number - index @@ -74,7 +70,6 @@ file_types: expected_segments: 40 required_netcdf_variables: - attr/platform - - data/mtg_geos_projection - data/{channel_name}/measured/start_position_row - data/{channel_name}/measured/end_position_row - data/{channel_name}/measured/radiance_to_bt_conversion_coefficient_wavenumber @@ -89,10 +84,7 @@ file_types: - data/{channel_name}/measured/y - data/{channel_name}/measured/pixel_quality - data/{channel_name}/measured/index_map - - data/mtg_geos_projection/attr/inverse_flattening - - data/mtg_geos_projection/attr/longitude_of_projection_origin - - data/mtg_geos_projection/attr/perspective_point_height - - data/mtg_geos_projection/attr/semi_major_axis + - data/mtg_geos_projection - data/swath_direction - data/swath_number - index