-
Notifications
You must be signed in to change notification settings - Fork 287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add reading of pixel_quality variable to FCI FDHSI reader #1171
Comments
The |
To reproduce: from satpy import Scene
from satpy.utils import debug_on
debug_on()
sc = Scene(["/media/nas/x21308/2020_04_MTG_unofficial_Testdata/20130804_RC72/W_XX-EUMETSAT-Darmstadt,IMG+SAT,MTI1+FCI-1C-RRAD-FDHSI-FD--CHK-BODY--L2P-NC4E_C_EUMT_20130804115845_GTT_DEV_20130804115330_20130804115345_N__C_0072_0035.nc"], reader="fci_l1c_fdhsi")
sc.load(["nir_22"]) Result:
|
The |
|
We have this same problem with ABI L1b and the DQF flag. We currently just don't include it. One solution would be to prefix/suffix the field like |
I will try to implement renaming. It's a bit of a hack, but it works because Satpy calls the |
Yeah that's a good point. So the reader would add an extra key for DatasetIDs so it could define |
Add a test to ensure that using the FCI reader does not lead to any log messages at warning level or above. Although I expect this test to fail as I haven't fixed pytroll#1171 yet, it is currently failing for the wrong reason as despite running with pytest, it doesn't seem to understand using the caplog fixture.
Add a test to ensure that using the FCI reader does not lead to any log messages at warning level or above. Although I expect this test to fail as I haven't fixed pytroll#1171 yet, it is currently failing for the wrong reason as despite running with pytest, it doesn't seem to understand using the caplog fixture.
On slack @mraspaud suggested that you might want to use the |
Feature Request
Is your feature request related to a problem? Please describe.
Currently the FCI FDHSI reader is issuing the warning
[WARNING: 2020-04-30 15:01:51 : satpy.readers.yaml_reader] Can't load ancillary dataset pixel_quality
This is because the reading of that variable is not implemented.
Describe the solution you'd like
Implement the reading of the pixel_quality variable and make it available as a dataset.
Describe any changes to existing user workflow
/
Additional context
/
The text was updated successfully, but these errors were encountered: