foua-pps / level1c4pps

module to create level1c input files to PPS using satpy
GNU General Public License v3.0
3 stars 13 forks source link

Use Satpy for SEVIRI calibration #83

Open sfinkens opened 1 year ago

sfinkens commented 1 year ago

Use Satpy for SEVIRI calibration, once https://github.com/pytroll/satpy/issues/2571 has been merged.

ninahakansson commented 1 month ago

The "meirink-2023" can now be used from satpy. However there are new IR calibration done by EUMETSAT. Not sure how these can be combined.

sfinkens commented 1 month ago

I think currently you should be able to do this

eum_coefs = {
    'IR_108': {'gain': 1.234, 'offset': 0.123},
    # etc
}
scene = satpy.Scene(
    filenames,
    reader='seviri_l1b_...',
    reader_kwargs={
        'ext_calib_coefs': eum_coefs,
        'calib_mode': 'meirink-2023'
    }
)

During the last PCW I prepared for channel-specific coefficients, see https://satpy.readthedocs.io/en/stable/api/satpy.readers.utils.html#satpy.readers.utils.CalibrationCoefficientPicker. But I haven't adapted the SEVIRI readers, yet.