From 816426ec7d6824bcfcd460bfecde1bc9fa6e7b24 Mon Sep 17 00:00:00 2001 From: Simon Proud Date: Tue, 25 Jun 2024 16:08:22 +0200 Subject: [PATCH 1/2] Add MERSI3 / FY3F support. --- satpy/etc/composites/mersi-3.yaml | 160 ++++++++ satpy/etc/readers/mersi3_l1b.yaml | 645 ++++++++++++++++++++++++++++++ 2 files changed, 805 insertions(+) create mode 100644 satpy/etc/composites/mersi-3.yaml create mode 100644 satpy/etc/readers/mersi3_l1b.yaml diff --git a/satpy/etc/composites/mersi-3.yaml b/satpy/etc/composites/mersi-3.yaml new file mode 100644 index 0000000000..fc178c803d --- /dev/null +++ b/satpy/etc/composites/mersi-3.yaml @@ -0,0 +1,160 @@ +sensor_name: visir/mersi-3 + +modifiers: + rayleigh_corrected: + modifier: !!python/name:satpy.modifiers.PSPRayleighReflectance + atmosphere: us-standard + aerosol_type: rayleigh_only + prerequisites: + - name: '3' + modifiers: [sunz_corrected] + optional_prerequisites: + - name: satellite_azimuth_angle + - name: satellite_zenith_angle + - name: solar_azimuth_angle + - name: solar_zenith_angle + sunz_corrected: + modifier: !!python/name:satpy.modifiers.SunZenithCorrector + prerequisites: + - solar_zenith_angle + + nir_reflectance: + modifier: !!python/name:satpy.modifiers.NIRReflectance + prerequisites: + - name: '24' + optional_prerequisites: + - solar_zenith_angle + + +composites: + + ash: + compositor: !!python/name:satpy.composites.GenericCompositor + prerequisites: + - compositor: !!python/name:satpy.composites.DifferenceCompositor + prerequisites: + - name: '25' + - name: '24' + - compositor: !!python/name:satpy.composites.DifferenceCompositor + prerequisites: + - name: '24' + - name: '23' + - name: '24' + standard_name: ash + + true_color_raw: + compositor: !!python/name:satpy.composites.GenericCompositor + prerequisites: + - '3' + - '2' + - '1' + standard_name: true_color + + true_color: + compositor: !!python/name:satpy.composites.GenericCompositor + prerequisites: + - name: '3' # 0.65 + modifiers: [sunz_corrected, rayleigh_corrected] + - name: '2' + modifiers: [sunz_corrected, rayleigh_corrected] + - name: '1' # 0.47 + modifiers: [sunz_corrected, rayleigh_corrected] + standard_name: true_color + + natural_color: + compositor: !!python/name:satpy.composites.RatioSharpenedRGB + prerequisites: + - name: '6' + modifiers: [sunz_corrected] + - name: '15' + modifiers: [sunz_corrected] + - name: '3' + modifiers: [sunz_corrected] + optional_prerequisites: + - name: '4' + modifiers: [sunz_corrected] + standard_name: natural_color + high_resolution_band: green + + natural_color_lowres: + compositor: !!python/name:satpy.composites.GenericCompositor + prerequisites: + - name: '6' + modifiers: [sunz_corrected] + - name: '15' + modifiers: [sunz_corrected] + - name: '12' + modifiers: [sunz_corrected] + standard_name: natural_color + + overview_raw: + compositor: !!python/name:satpy.composites.GenericCompositor + prerequisites: + - name: '12' + - name: '15' + - name: '24' + standard_name: overview + + overview: + compositor: !!python/name:satpy.composites.GenericCompositor + prerequisites: + - name: '12' + modifiers: [sunz_corrected] + - name: '15' + modifiers: [sunz_corrected] + - name: '24' + standard_name: overview + + cloudtop: + compositor: !!python/name:satpy.composites.GenericCompositor + prerequisites: + - name: '20' + - name: '24' + - name: '25' + standard_name: cloudtop + + day_microphysics: + compositor: !!python/name:satpy.composites.GenericCompositor + prerequisites: + - name: '15' + modifiers: [sunz_corrected] + - name: '20' + modifiers: [nir_reflectance] + - name: '24' + standard_name: day_microphysics + + night_fog: + compositor: !!python/name:satpy.composites.GenericCompositor + prerequisites: + - compositor: !!python/name:satpy.composites.DifferenceCompositor + prerequisites: + - name: '25' + - name: '24' + - compositor: !!python/name:satpy.composites.DifferenceCompositor + prerequisites: + - name: '24' + - name: '20' + - name: '24' + standard_name: night_fog + + fog: + compositor: !!python/name:satpy.composites.GenericCompositor + prerequisites: + - compositor: !!python/name:satpy.composites.DifferenceCompositor + prerequisites: + - name: '25' + - name: '24' + - compositor: !!python/name:satpy.composites.DifferenceCompositor + prerequisites: + - name: '24' + - name: '23' + - name: '24' + standard_name: fog + + green_snow: + compositor: !!python/name:satpy.composites.GenericCompositor + prerequisites: + - name: '6' + - name: '3' + - name: '24' + standard_name: green_snow diff --git a/satpy/etc/readers/mersi3_l1b.yaml b/satpy/etc/readers/mersi3_l1b.yaml new file mode 100644 index 0000000000..b8bd43907d --- /dev/null +++ b/satpy/etc/readers/mersi3_l1b.yaml @@ -0,0 +1,645 @@ +reader: + name: mersi3_l1b + short_name: MERSI-3 l1b + long_name: MERSI-3 L1B data in HDF5 format + description: FY-3F Medium Resolution Spectral Imager 3 (MERSI-3) L1B Reader + status: Beta + supports_fsspec: false + sensors: [mersi-3] + reader: !!python/name:satpy.readers.yaml_reader.FileYAMLReader + +file_types: + mersi2_l1b_1000: + file_reader: !!python/name:satpy.readers.mersi_l1b.MERSIL1B + rows_per_scan: 10 + file_patterns: + # From National Meteorological Satellite Center + - '{platform_shortname}_MERSI_GRAN_L1_{start_time:%Y%m%d_%H%M}_1000M_V0.{ext:3s}' + # Generic + - '{filename_mda}_MERSI_1000M_L1B.{ext:3s}' + + mersi2_l1b_250: + file_reader: !!python/name:satpy.readers.mersi_l1b.MERSIL1B + rows_per_scan: 40 + file_patterns: + # From National Meteorological Satellite Center + - '{platform_shortname}_MERSI_GRAN_L1_{start_time:%Y%m%d_%H%M}_0250M_V0.{ext:3s}' + # Generic + - '{filename_mda}_MERSI_0250M_L1B.{ext:3s}' + + mersi2_l1b_1000_geo: + file_reader: !!python/name:satpy.readers.mersi_l1b.MERSIL1B + rows_per_scan: 10 + file_patterns: + # From National Meteorological Satellite Center + - '{platform_shortname}_MERSI_GRAN_L1_{start_time:%Y%m%d_%H%M}_GEO1K_V0.{ext:3s}' + # Generic + - '{filename_mda}_MERSI_GEO1K_L1B.{ext:3s}' + + mersi2_l1b_250_geo: + file_reader: !!python/name:satpy.readers.mersi_l1b.MERSIL1B + rows_per_scan: 40 + file_patterns: + # From National Meteorological Satellite Center + - '{platform_shortname}_MERSI_GRAN_L1_{start_time:%Y%m%d_%H%M}_GEOQK_V0.{ext:3s}' + # Generic + - '{filename_mda}_MERSI_GEOQK_L1B.{ext:3s}' + + +# NOTE: OSCAR website currently has bands in wavelength order +# https://www.wmo-sat.info/oscar/instruments/view/279 +# The order below is by the wavelength in the input files +# The slides at the below link have band 5 and 19 swapped: +# http://www.wmo.int/pages/prog/sat/meetings/documents/IPET-SUP-4_Doc_05-04_FY-3D-ppt.pdf +datasets: + '1': + name: '1' + wavelength: [0.445, 0.470, 0.495] + resolution: + 1000: + file_type: mersi2_l1b_1000 + file_key: Data/EV_250_Aggr.1KM_RefSB + band_index: 0 + calibration_key: Calibration/VIS_Cal_Coeff + calibration_index: 0 + 250: + file_type: mersi2_l1b_250 + file_key: Data/EV_250_RefSB_b1 + calibration_key: Calibration/VIS_Cal_Coeff + calibration_index: 0 + coordinates: [longitude, latitude] + calibration: + reflectance: + units: "%" + standard_name: toa_bidirectional_reflectance + radiance: + units: 'mW/ (m2 cm-1 sr)' + standard_name: toa_outgoing_radiance_per_unit_wavelength + counts: + units: "1" + standard_name: counts + '2': + name: '2' + wavelength: [0.525, 0.550, 0.575] + resolution: + 1000: + file_type: mersi2_l1b_1000 + file_key: Data/EV_250_Aggr.1KM_RefSB + band_index: 1 + calibration_key: Calibration/VIS_Cal_Coeff + calibration_index: 1 + 250: + file_type: mersi2_l1b_250 + file_key: Data/EV_250_RefSB_b2 + calibration_key: Calibration/VIS_Cal_Coeff + calibration_index: 1 + coordinates: [longitude, latitude] + calibration: + reflectance: + units: "%" + standard_name: toa_bidirectional_reflectance + radiance: + units: 'mW/ (m2 cm-1 sr)' + standard_name: toa_outgoing_radiance_per_unit_wavelength + counts: + units: "1" + standard_name: counts + '3': + name: '3' + wavelength: [0.625, 0.650, 0.675] + resolution: + 1000: + file_type: mersi2_l1b_1000 + file_key: Data/EV_250_Aggr.1KM_RefSB + band_index: 2 + calibration_key: Calibration/VIS_Cal_Coeff + calibration_index: 2 + 250: + file_type: mersi2_l1b_250 + file_key: Data/EV_250_RefSB_b3 + calibration_key: Calibration/VIS_Cal_Coeff + calibration_index: 2 + coordinates: [longitude, latitude] + calibration: + reflectance: + units: "%" + standard_name: toa_bidirectional_reflectance + radiance: + units: 'mW/ (m2 cm-1 sr)' + standard_name: toa_outgoing_radiance_per_unit_wavelength + counts: + units: "1" + standard_name: counts + '4': + name: '4' + wavelength: [0.840, 0.865, 0.890] + resolution: + 1000: + file_type: mersi2_l1b_1000 + file_key: Data/EV_250_Aggr.1KM_RefSB + band_index: 3 + calibration_key: Calibration/VIS_Cal_Coeff + calibration_index: 3 + 250: + file_type: mersi2_l1b_250 + file_key: Data/EV_250_RefSB_b4 + calibration_key: Calibration/VIS_Cal_Coeff + calibration_index: 3 + coordinates: [longitude, latitude] + calibration: + reflectance: + units: "%" + standard_name: toa_bidirectional_reflectance + radiance: + units: 'mW/ (m2 cm-1 sr)' + standard_name: toa_outgoing_radiance_per_unit_wavelength + counts: + units: "1" + standard_name: counts + '5': + name: '5' + wavelength: [1.37, 1.38, 1.39] # or 30nm bandwidth? + resolution: 1000 + file_type: mersi2_l1b_1000 + file_key: Data/EV_1KM_RefSB + band_index: 0 + calibration_key: Calibration/VIS_Cal_Coeff + calibration_index: 0 + coordinates: [longitude, latitude] + calibration: + reflectance: + units: "%" + standard_name: toa_bidirectional_reflectance + radiance: + units: 'mW/ (m2 cm-1 sr)' + standard_name: toa_outgoing_radiance_per_unit_wavelength + counts: + units: "1" + standard_name: counts + '6': + name: '6' + wavelength: [1.615, 1.640, 1.665] + resolution: 1000 + file_type: mersi2_l1b_1000 + file_key: Data/EV_1KM_RefSB + band_index: 1 + calibration_key: Calibration/VIS_Cal_Coeff + calibration_index: 1 + coordinates: [longitude, latitude] + calibration: + reflectance: + units: "%" + standard_name: toa_bidirectional_reflectance + radiance: + units: 'mW/ (m2 cm-1 sr)' + standard_name: toa_outgoing_radiance_per_unit_wavelength + counts: + units: "1" + standard_name: counts + '7': + name: '7' + wavelength: [2.105, 2.130, 2.155] + resolution: 1000 + file_type: mersi2_l1b_1000 + file_key: Data/EV_1KM_RefSB + band_index: 2 + calibration_key: Calibration/VIS_Cal_Coeff + calibration_index: 2 + coordinates: [longitude, latitude] + calibration: + reflectance: + units: "%" + standard_name: toa_bidirectional_reflectance + radiance: + units: 'mW/ (m2 cm-1 sr)' + standard_name: toa_outgoing_radiance_per_unit_wavelength + counts: + units: "1" + standard_name: counts + '8': + name: '8' + wavelength: [0.402, 0.412, 0.422] + resolution: 1000 + file_type: mersi2_l1b_1000 + file_key: Data/EV_1KM_RefSB + band_index: 3 + calibration_key: Calibration/VIS_Cal_Coeff + calibration_index: 3 + coordinates: [longitude, latitude] + calibration: + reflectance: + units: "%" + standard_name: toa_bidirectional_reflectance + radiance: + units: 'mW/ (m2 cm-1 sr)' + standard_name: toa_outgoing_radiance_per_unit_wavelength + counts: + units: "1" + standard_name: counts + '9': + name: '9' + wavelength: [0.433, 0.443, 0.453] + resolution: 1000 + file_type: mersi2_l1b_1000 + file_key: Data/EV_1KM_RefSB + band_index: 4 + calibration_key: Calibration/VIS_Cal_Coeff + calibration_index: 4 + coordinates: [longitude, latitude] + calibration: + reflectance: + units: "%" + standard_name: toa_bidirectional_reflectance + radiance: + units: 'mW/ (m2 cm-1 sr)' + standard_name: toa_outgoing_radiance_per_unit_wavelength + counts: + units: "1" + standard_name: counts + '10': + name: '10' + wavelength: [0.480, 0.490, 0.500] + resolution: 1000 + file_type: mersi2_l1b_1000 + file_key: Data/EV_1KM_RefSB + band_index: 5 + calibration_key: Calibration/VIS_Cal_Coeff + calibration_index: 5 + coordinates: [longitude, latitude] + calibration: + reflectance: + units: "%" + standard_name: toa_bidirectional_reflectance + radiance: + units: 'mW/ (m2 cm-1 sr)' + standard_name: toa_outgoing_radiance_per_unit_wavelength + counts: + units: "1" + standard_name: counts + '11': + name: '11' + wavelength: [0.545, 0.555, 0.565] + resolution: 1000 + file_type: mersi2_l1b_1000 + file_key: Data/EV_1KM_RefSB + band_index: 6 + calibration_key: Calibration/VIS_Cal_Coeff + calibration_index: 6 + coordinates: [longitude, latitude] + calibration: + reflectance: + units: "%" + standard_name: toa_bidirectional_reflectance + radiance: + units: 'mW/ (m2 cm-1 sr)' + standard_name: toa_outgoing_radiance_per_unit_wavelength + counts: + units: "1" + standard_name: counts + '12': + name: '12' + wavelength: [0.660, 0.670, 0.680] + resolution: 1000 + file_type: mersi2_l1b_1000 + file_key: Data/EV_1KM_RefSB + band_index: 7 + calibration_key: Calibration/VIS_Cal_Coeff + calibration_index: 7 + coordinates: [longitude, latitude] + calibration: + reflectance: + units: "%" + standard_name: toa_bidirectional_reflectance + radiance: + units: 'mW/ (m2 cm-1 sr)' + standard_name: toa_outgoing_radiance_per_unit_wavelength + counts: + units: "1" + standard_name: counts + '13': + name: '13' + wavelength: [0.699, 0.709, 0.719] + resolution: 1000 + file_type: mersi2_l1b_1000 + file_key: Data/EV_1KM_RefSB + band_index: 8 + calibration_key: Calibration/VIS_Cal_Coeff + calibration_index: 8 + coordinates: [longitude, latitude] + calibration: + reflectance: + units: "%" + standard_name: toa_bidirectional_reflectance + radiance: + units: 'mW/ (m2 cm-1 sr)' + standard_name: toa_outgoing_radiance_per_unit_wavelength + counts: + units: "1" + standard_name: counts + '14': + name: '14' + wavelength: [0.736, 0.746, 0.756] + resolution: 1000 + file_type: mersi2_l1b_1000 + file_key: Data/EV_1KM_RefSB + band_index: 9 + calibration_key: Calibration/VIS_Cal_Coeff + calibration_index: 9 + coordinates: [longitude, latitude] + calibration: + reflectance: + units: "%" + standard_name: toa_bidirectional_reflectance + radiance: + units: 'mW/ (m2 cm-1 sr)' + standard_name: toa_outgoing_radiance_per_unit_wavelength + counts: + units: "1" + standard_name: counts + '15': + name: '15' + wavelength: [0.855, 0.865, 0.875] + resolution: 1000 + file_type: mersi2_l1b_1000 + file_key: Data/EV_1KM_RefSB + band_index: 10 + calibration_key: Calibration/VIS_Cal_Coeff + calibration_index: 10 + coordinates: [longitude, latitude] + calibration: + reflectance: + units: "%" + standard_name: toa_bidirectional_reflectance + radiance: + units: 'mW/ (m2 cm-1 sr)' + standard_name: toa_outgoing_radiance_per_unit_wavelength + counts: + units: "1" + standard_name: counts + '16': + name: '16' + wavelength: [0.895, 0.905, 0.915] + resolution: 1000 + file_type: mersi2_l1b_1000 + file_key: Data/EV_1KM_RefSB + band_index: 11 + calibration_key: Calibration/VIS_Cal_Coeff + calibration_index: 11 + coordinates: [longitude, latitude] + calibration: + reflectance: + units: "%" + standard_name: toa_bidirectional_reflectance + radiance: + units: 'mW/ (m2 cm-1 sr)' + standard_name: toa_outgoing_radiance_per_unit_wavelength + counts: + units: "1" + standard_name: counts + '17': + name: '17' + wavelength: [0.926, 0.936, 0.946] + resolution: 1000 + file_type: mersi2_l1b_1000 + file_key: Data/EV_1KM_RefSB + band_index: 12 + calibration_key: Calibration/VIS_Cal_Coeff + calibration_index: 12 + coordinates: [longitude, latitude] + calibration: + reflectance: + units: "%" + standard_name: toa_bidirectional_reflectance + radiance: + units: 'mW/ (m2 cm-1 sr)' + standard_name: toa_outgoing_radiance_per_unit_wavelength + counts: + units: "1" + standard_name: counts + '18': + name: '18' + wavelength: [0.915, 0.940, 0.965] + resolution: 1000 + file_type: mersi2_l1b_1000 + file_key: Data/EV_1KM_RefSB + band_index: 13 + calibration_key: Calibration/VIS_Cal_Coeff + calibration_index: 13 + coordinates: [longitude, latitude] + calibration: + reflectance: + units: "%" + standard_name: toa_bidirectional_reflectance + radiance: + units: 'mW/ (m2 cm-1 sr)' + standard_name: toa_outgoing_radiance_per_unit_wavelength + counts: + units: "1" + standard_name: counts + '19': + name: '19' + wavelength: [1.23, 1.24, 1.25] # or 1.03um? + resolution: 1000 + file_type: mersi2_l1b_1000 + file_key: Data/EV_1KM_RefSB + band_index: 14 + calibration_key: Calibration/VIS_Cal_Coeff + calibration_index: 14 + coordinates: [longitude, latitude] + calibration: + reflectance: + units: "%" + standard_name: toa_bidirectional_reflectance + radiance: + units: 'mW/ (m2 cm-1 sr)' + standard_name: toa_outgoing_radiance_per_unit_wavelength + counts: + units: "1" + standard_name: counts + '20': + name: '20' + wavelength: [3.710, 3.800, 3.890] + resolution: 1000 + file_type: mersi2_l1b_1000 + file_key: Data/EV_1KM_Emissive + band_index: 0 + calibration_key: Calibration/IR_Cal_Coeff + calibration_index: 0 + coordinates: [longitude, latitude] + calibration: + brightness_temperature: + units: "K" + standard_name: toa_brightness_temperature + radiance: + units: 'mW/ (m2 cm-1 sr)' + standard_name: toa_outgoing_radiance_per_unit_wavelength + counts: + units: "1" + standard_name: counts + '21': + name: '21' + wavelength: [3.9725, 4.050, 4.1275] + resolution: 1000 + file_type: mersi2_l1b_1000 + file_key: Data/EV_1KM_Emissive + band_index: 1 + calibration_key: Calibration/IR_Cal_Coeff + calibration_index: 1 + coordinates: [longitude, latitude] + calibration: + brightness_temperature: + units: "K" + standard_name: toa_brightness_temperature + radiance: + units: 'mW/ (m2 cm-1 sr)' + standard_name: toa_outgoing_radiance_per_unit_wavelength + counts: + units: "1" + standard_name: counts + '22': + name: '22' + wavelength: [6.950, 7.20, 7.450] + resolution: 1000 + file_type: mersi2_l1b_1000 + file_key: Data/EV_1KM_Emissive + band_index: 2 + calibration_key: Calibration/IR_Cal_Coeff + calibration_index: 2 + coordinates: [longitude, latitude] + calibration: + brightness_temperature: + units: "K" + standard_name: toa_brightness_temperature + radiance: + units: 'mW/ (m2 cm-1 sr)' + standard_name: toa_outgoing_radiance_per_unit_wavelength + counts: + units: "1" + standard_name: counts + '23': + name: '23' + wavelength: [8.400, 8.550, 8.700] + resolution: 1000 + file_type: mersi2_l1b_1000 + file_key: Data/EV_1KM_Emissive + band_index: 3 + calibration_key: Calibration/IR_Cal_Coeff + calibration_index: 3 + coordinates: [longitude, latitude] + calibration: + brightness_temperature: + units: "K" + standard_name: toa_brightness_temperature + radiance: + units: 'mW/ (m2 cm-1 sr)' + standard_name: toa_outgoing_radiance_per_unit_wavelength + counts: + units: "1" + standard_name: counts + '24': + name: '24' + wavelength: [10.300, 10.800, 11.300] + resolution: + 1000: + file_type: mersi2_l1b_1000 + file_key: Data/EV_250_Aggr.1KM_Emissive + band_index: 0 + calibration_key: Calibration/IR_Cal_Coeff + calibration_index: 4 + 250: + file_type: mersi2_l1b_250 + file_key: Data/EV_250_Emissive_b24 + calibration_key: Calibration/IR_Cal_Coeff + calibration_index: 4 + coordinates: [longitude, latitude] + calibration: + brightness_temperature: + units: "K" + standard_name: toa_brightness_temperature + radiance: + units: 'mW/ (m2 cm-1 sr)' + standard_name: toa_outgoing_radiance_per_unit_wavelength + counts: + units: "1" + standard_name: counts + '25': + name: '25' + wavelength: [11.500, 12.000, 12.500] + resolution: + 1000: + file_type: mersi2_l1b_1000 + file_key: Data/EV_250_Aggr.1KM_Emissive + band_index: 1 + calibration_key: Calibration/IR_Cal_Coeff + calibration_index: 5 + 250: + file_type: mersi2_l1b_250 + file_key: Data/EV_250_Emissive_b25 + calibration_key: Calibration/IR_Cal_Coeff + calibration_index: 5 + coordinates: [longitude, latitude] + calibration: + brightness_temperature: + units: "K" + standard_name: toa_brightness_temperature + radiance: + units: 'mW/ (m2 cm-1 sr)' + standard_name: toa_outgoing_radiance_per_unit_wavelength + counts: + units: "1" + standard_name: counts + + longitude: + name: longitude + units: degrees_east + standard_name: longitude + resolution: + 1000: + file_type: mersi2_l1b_1000_geo + file_key: Geolocation/Longitude + 250: + file_type: mersi2_l1b_250_geo + file_key: Longitude + latitude: + name: latitude + units: degrees_north + standard_name: latitude + resolution: + 1000: + file_type: mersi2_l1b_1000_geo + file_key: Geolocation/Latitude + 250: + file_type: mersi2_l1b_250_geo + file_key: Latitude + solar_zenith_angle: + name: solar_zenith_angle + units: degree + standard_name: solar_zenith_angle + resolution: 1000 + coordinates: [longitude, latitude] + file_type: mersi2_l1b_1000_geo + file_key: Geolocation/SolarZenith + solar_azimuth_angle: + name: solar_azimuth_angle + units: degree + standard_name: solar_azimuth_angle + resolution: 1000 + coordinates: [longitude, latitude] + file_type: mersi2_l1b_1000_geo + file_key: Geolocation/SolarAzimuth + satellite_zenith_angle: + name: satellite_zenith_angle + units: degree + standard_name: sensor_zenith_angle + resolution: 1000 + coordinates: [longitude, latitude] + file_type: mersi2_l1b_1000_geo + file_key: Geolocation/SensorZenith + satellite_azimuth_angle: + name: satellite_azimuth_angle + units: degree + standard_name: sensor_azimuth_angle + resolution: 1000 + coordinates: [longitude, latitude] + file_type: mersi2_l1b_1000_geo + file_key: Geolocation/SensorAzimuth From 3151495bcaa19a75634f8702dba1b6edbee26039 Mon Sep 17 00:00:00 2001 From: Simon Proud Date: Thu, 11 Jul 2024 08:44:01 +0200 Subject: [PATCH 2/2] Fix name of MERSI3 reader. --- satpy/etc/readers/mersi3_l1b.yaml | 86 +++++++++++++++---------------- 1 file changed, 43 insertions(+), 43 deletions(-) diff --git a/satpy/etc/readers/mersi3_l1b.yaml b/satpy/etc/readers/mersi3_l1b.yaml index b8bd43907d..d7078786db 100644 --- a/satpy/etc/readers/mersi3_l1b.yaml +++ b/satpy/etc/readers/mersi3_l1b.yaml @@ -9,7 +9,7 @@ reader: reader: !!python/name:satpy.readers.yaml_reader.FileYAMLReader file_types: - mersi2_l1b_1000: + mersi3_l1b_1000: file_reader: !!python/name:satpy.readers.mersi_l1b.MERSIL1B rows_per_scan: 10 file_patterns: @@ -18,7 +18,7 @@ file_types: # Generic - '{filename_mda}_MERSI_1000M_L1B.{ext:3s}' - mersi2_l1b_250: + mersi3_l1b_250: file_reader: !!python/name:satpy.readers.mersi_l1b.MERSIL1B rows_per_scan: 40 file_patterns: @@ -27,7 +27,7 @@ file_types: # Generic - '{filename_mda}_MERSI_0250M_L1B.{ext:3s}' - mersi2_l1b_1000_geo: + mersi3_l1b_1000_geo: file_reader: !!python/name:satpy.readers.mersi_l1b.MERSIL1B rows_per_scan: 10 file_patterns: @@ -36,7 +36,7 @@ file_types: # Generic - '{filename_mda}_MERSI_GEO1K_L1B.{ext:3s}' - mersi2_l1b_250_geo: + mersi3_l1b_250_geo: file_reader: !!python/name:satpy.readers.mersi_l1b.MERSIL1B rows_per_scan: 40 file_patterns: @@ -57,13 +57,13 @@ datasets: wavelength: [0.445, 0.470, 0.495] resolution: 1000: - file_type: mersi2_l1b_1000 + file_type: mersi3_l1b_1000 file_key: Data/EV_250_Aggr.1KM_RefSB band_index: 0 calibration_key: Calibration/VIS_Cal_Coeff calibration_index: 0 250: - file_type: mersi2_l1b_250 + file_type: mersi3_l1b_250 file_key: Data/EV_250_RefSB_b1 calibration_key: Calibration/VIS_Cal_Coeff calibration_index: 0 @@ -83,13 +83,13 @@ datasets: wavelength: [0.525, 0.550, 0.575] resolution: 1000: - file_type: mersi2_l1b_1000 + file_type: mersi3_l1b_1000 file_key: Data/EV_250_Aggr.1KM_RefSB band_index: 1 calibration_key: Calibration/VIS_Cal_Coeff calibration_index: 1 250: - file_type: mersi2_l1b_250 + file_type: mersi3_l1b_250 file_key: Data/EV_250_RefSB_b2 calibration_key: Calibration/VIS_Cal_Coeff calibration_index: 1 @@ -109,13 +109,13 @@ datasets: wavelength: [0.625, 0.650, 0.675] resolution: 1000: - file_type: mersi2_l1b_1000 + file_type: mersi3_l1b_1000 file_key: Data/EV_250_Aggr.1KM_RefSB band_index: 2 calibration_key: Calibration/VIS_Cal_Coeff calibration_index: 2 250: - file_type: mersi2_l1b_250 + file_type: mersi3_l1b_250 file_key: Data/EV_250_RefSB_b3 calibration_key: Calibration/VIS_Cal_Coeff calibration_index: 2 @@ -135,13 +135,13 @@ datasets: wavelength: [0.840, 0.865, 0.890] resolution: 1000: - file_type: mersi2_l1b_1000 + file_type: mersi3_l1b_1000 file_key: Data/EV_250_Aggr.1KM_RefSB band_index: 3 calibration_key: Calibration/VIS_Cal_Coeff calibration_index: 3 250: - file_type: mersi2_l1b_250 + file_type: mersi3_l1b_250 file_key: Data/EV_250_RefSB_b4 calibration_key: Calibration/VIS_Cal_Coeff calibration_index: 3 @@ -160,7 +160,7 @@ datasets: name: '5' wavelength: [1.37, 1.38, 1.39] # or 30nm bandwidth? resolution: 1000 - file_type: mersi2_l1b_1000 + file_type: mersi3_l1b_1000 file_key: Data/EV_1KM_RefSB band_index: 0 calibration_key: Calibration/VIS_Cal_Coeff @@ -180,7 +180,7 @@ datasets: name: '6' wavelength: [1.615, 1.640, 1.665] resolution: 1000 - file_type: mersi2_l1b_1000 + file_type: mersi3_l1b_1000 file_key: Data/EV_1KM_RefSB band_index: 1 calibration_key: Calibration/VIS_Cal_Coeff @@ -200,7 +200,7 @@ datasets: name: '7' wavelength: [2.105, 2.130, 2.155] resolution: 1000 - file_type: mersi2_l1b_1000 + file_type: mersi3_l1b_1000 file_key: Data/EV_1KM_RefSB band_index: 2 calibration_key: Calibration/VIS_Cal_Coeff @@ -220,7 +220,7 @@ datasets: name: '8' wavelength: [0.402, 0.412, 0.422] resolution: 1000 - file_type: mersi2_l1b_1000 + file_type: mersi3_l1b_1000 file_key: Data/EV_1KM_RefSB band_index: 3 calibration_key: Calibration/VIS_Cal_Coeff @@ -240,7 +240,7 @@ datasets: name: '9' wavelength: [0.433, 0.443, 0.453] resolution: 1000 - file_type: mersi2_l1b_1000 + file_type: mersi3_l1b_1000 file_key: Data/EV_1KM_RefSB band_index: 4 calibration_key: Calibration/VIS_Cal_Coeff @@ -260,7 +260,7 @@ datasets: name: '10' wavelength: [0.480, 0.490, 0.500] resolution: 1000 - file_type: mersi2_l1b_1000 + file_type: mersi3_l1b_1000 file_key: Data/EV_1KM_RefSB band_index: 5 calibration_key: Calibration/VIS_Cal_Coeff @@ -280,7 +280,7 @@ datasets: name: '11' wavelength: [0.545, 0.555, 0.565] resolution: 1000 - file_type: mersi2_l1b_1000 + file_type: mersi3_l1b_1000 file_key: Data/EV_1KM_RefSB band_index: 6 calibration_key: Calibration/VIS_Cal_Coeff @@ -300,7 +300,7 @@ datasets: name: '12' wavelength: [0.660, 0.670, 0.680] resolution: 1000 - file_type: mersi2_l1b_1000 + file_type: mersi3_l1b_1000 file_key: Data/EV_1KM_RefSB band_index: 7 calibration_key: Calibration/VIS_Cal_Coeff @@ -320,7 +320,7 @@ datasets: name: '13' wavelength: [0.699, 0.709, 0.719] resolution: 1000 - file_type: mersi2_l1b_1000 + file_type: mersi3_l1b_1000 file_key: Data/EV_1KM_RefSB band_index: 8 calibration_key: Calibration/VIS_Cal_Coeff @@ -340,7 +340,7 @@ datasets: name: '14' wavelength: [0.736, 0.746, 0.756] resolution: 1000 - file_type: mersi2_l1b_1000 + file_type: mersi3_l1b_1000 file_key: Data/EV_1KM_RefSB band_index: 9 calibration_key: Calibration/VIS_Cal_Coeff @@ -360,7 +360,7 @@ datasets: name: '15' wavelength: [0.855, 0.865, 0.875] resolution: 1000 - file_type: mersi2_l1b_1000 + file_type: mersi3_l1b_1000 file_key: Data/EV_1KM_RefSB band_index: 10 calibration_key: Calibration/VIS_Cal_Coeff @@ -380,7 +380,7 @@ datasets: name: '16' wavelength: [0.895, 0.905, 0.915] resolution: 1000 - file_type: mersi2_l1b_1000 + file_type: mersi3_l1b_1000 file_key: Data/EV_1KM_RefSB band_index: 11 calibration_key: Calibration/VIS_Cal_Coeff @@ -400,7 +400,7 @@ datasets: name: '17' wavelength: [0.926, 0.936, 0.946] resolution: 1000 - file_type: mersi2_l1b_1000 + file_type: mersi3_l1b_1000 file_key: Data/EV_1KM_RefSB band_index: 12 calibration_key: Calibration/VIS_Cal_Coeff @@ -420,7 +420,7 @@ datasets: name: '18' wavelength: [0.915, 0.940, 0.965] resolution: 1000 - file_type: mersi2_l1b_1000 + file_type: mersi3_l1b_1000 file_key: Data/EV_1KM_RefSB band_index: 13 calibration_key: Calibration/VIS_Cal_Coeff @@ -440,7 +440,7 @@ datasets: name: '19' wavelength: [1.23, 1.24, 1.25] # or 1.03um? resolution: 1000 - file_type: mersi2_l1b_1000 + file_type: mersi3_l1b_1000 file_key: Data/EV_1KM_RefSB band_index: 14 calibration_key: Calibration/VIS_Cal_Coeff @@ -460,7 +460,7 @@ datasets: name: '20' wavelength: [3.710, 3.800, 3.890] resolution: 1000 - file_type: mersi2_l1b_1000 + file_type: mersi3_l1b_1000 file_key: Data/EV_1KM_Emissive band_index: 0 calibration_key: Calibration/IR_Cal_Coeff @@ -480,7 +480,7 @@ datasets: name: '21' wavelength: [3.9725, 4.050, 4.1275] resolution: 1000 - file_type: mersi2_l1b_1000 + file_type: mersi3_l1b_1000 file_key: Data/EV_1KM_Emissive band_index: 1 calibration_key: Calibration/IR_Cal_Coeff @@ -500,7 +500,7 @@ datasets: name: '22' wavelength: [6.950, 7.20, 7.450] resolution: 1000 - file_type: mersi2_l1b_1000 + file_type: mersi3_l1b_1000 file_key: Data/EV_1KM_Emissive band_index: 2 calibration_key: Calibration/IR_Cal_Coeff @@ -520,7 +520,7 @@ datasets: name: '23' wavelength: [8.400, 8.550, 8.700] resolution: 1000 - file_type: mersi2_l1b_1000 + file_type: mersi3_l1b_1000 file_key: Data/EV_1KM_Emissive band_index: 3 calibration_key: Calibration/IR_Cal_Coeff @@ -541,13 +541,13 @@ datasets: wavelength: [10.300, 10.800, 11.300] resolution: 1000: - file_type: mersi2_l1b_1000 + file_type: mersi3_l1b_1000 file_key: Data/EV_250_Aggr.1KM_Emissive band_index: 0 calibration_key: Calibration/IR_Cal_Coeff calibration_index: 4 250: - file_type: mersi2_l1b_250 + file_type: mersi3_l1b_250 file_key: Data/EV_250_Emissive_b24 calibration_key: Calibration/IR_Cal_Coeff calibration_index: 4 @@ -567,13 +567,13 @@ datasets: wavelength: [11.500, 12.000, 12.500] resolution: 1000: - file_type: mersi2_l1b_1000 + file_type: mersi3_l1b_1000 file_key: Data/EV_250_Aggr.1KM_Emissive band_index: 1 calibration_key: Calibration/IR_Cal_Coeff calibration_index: 5 250: - file_type: mersi2_l1b_250 + file_type: mersi3_l1b_250 file_key: Data/EV_250_Emissive_b25 calibration_key: Calibration/IR_Cal_Coeff calibration_index: 5 @@ -595,10 +595,10 @@ datasets: standard_name: longitude resolution: 1000: - file_type: mersi2_l1b_1000_geo + file_type: mersi3_l1b_1000_geo file_key: Geolocation/Longitude 250: - file_type: mersi2_l1b_250_geo + file_type: mersi3_l1b_250_geo file_key: Longitude latitude: name: latitude @@ -606,10 +606,10 @@ datasets: standard_name: latitude resolution: 1000: - file_type: mersi2_l1b_1000_geo + file_type: mersi3_l1b_1000_geo file_key: Geolocation/Latitude 250: - file_type: mersi2_l1b_250_geo + file_type: mersi3_l1b_250_geo file_key: Latitude solar_zenith_angle: name: solar_zenith_angle @@ -617,7 +617,7 @@ datasets: standard_name: solar_zenith_angle resolution: 1000 coordinates: [longitude, latitude] - file_type: mersi2_l1b_1000_geo + file_type: mersi3_l1b_1000_geo file_key: Geolocation/SolarZenith solar_azimuth_angle: name: solar_azimuth_angle @@ -625,7 +625,7 @@ datasets: standard_name: solar_azimuth_angle resolution: 1000 coordinates: [longitude, latitude] - file_type: mersi2_l1b_1000_geo + file_type: mersi3_l1b_1000_geo file_key: Geolocation/SolarAzimuth satellite_zenith_angle: name: satellite_zenith_angle @@ -633,7 +633,7 @@ datasets: standard_name: sensor_zenith_angle resolution: 1000 coordinates: [longitude, latitude] - file_type: mersi2_l1b_1000_geo + file_type: mersi3_l1b_1000_geo file_key: Geolocation/SensorZenith satellite_azimuth_angle: name: satellite_azimuth_angle @@ -641,5 +641,5 @@ datasets: standard_name: sensor_azimuth_angle resolution: 1000 coordinates: [longitude, latitude] - file_type: mersi2_l1b_1000_geo + file_type: mersi3_l1b_1000_geo file_key: Geolocation/SensorAzimuth