-
Notifications
You must be signed in to change notification settings - Fork 293
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
How to get the available dataset names from the reader #263
Comments
Each dataset name represents a band of channel in your local drive ( you need to have files in different bands saved in your local directory). Which band to be loaded into the Scene object depends on those parameters. The long list there tells you that you have all files in different bands in your base directory but not loaded will save the data in "IR_016" band into a PNG image file. |
@adybbroe As discussed on slack, this "issue" is expected because currently the base reader uses a datasets
|
As mentioned in the other issue, this is covered by #434. I'll close this in favor of that discussion. |
Problem description
We have a MSG SEVIRI native format data file with a subset of SEVIRI bands in the file.
However, when we request the available dataset names we get all. This is because the scene object does not use the information already retrieved in the reader. Reading the file header we have the information of which datasets are in the file. But this is not passed further. We tried adding a
available_dataset_ids
method to the reader, but this is not called/used when doing the below. We also tried passing the read-name to the call but that didn't make a difference.How should one do?
Expected Output
Versions of Python, package at hand and relevant dependencies
This was using the SatPy from the latest msg-hrit-native-merge branch, which we are working on for a PR.
The above is seen both in python 3.4.6 and 2.7.5
Thank you for reporting an issue !
The text was updated successfully, but these errors were encountered: