You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is likely not specific to ABI. I think the Unknown datasets message is only using what you've provided for the names ['C04']. So the message isn't necessarily wrong since counts is a calibration that Satpy knows about but C04 doesn't have that calibration: the C04 dataset, as requested, is unknown.
We could make the error message longer and include any of the other parameters that were provided (calibration, polarization, etc). That may have to change depending on how @mraspaud's dynamic DatasetIDs work.
Yes, I suspected it might be a bit more broad than just ABI. Would be nice to have it fixed, though, so that the user gets a more accurate error message.
Or, on the other hand, delete the code in the ABI reader and improve coverage ;)
djhoese
changed the title
ABI L1b reader gives incorrect error message for unknown calibration
Readers give incorrect error message for unknown calibration
Jul 7, 2020
Describe the bug
If a user selects an incorrect calibration type for the
abi_l1b
reader then the error message they receive is incorrect.To Reproduce
Expected behavior
An error message is produced that says:
Unknown calibration counts
.This is defined here.
Actual results
The following error message is given:
Environment Info:
Additional context
Running with an accepted calibration type (such as
calibration='radiance'
) works successfully.The text was updated successfully, but these errors were encountered: