-
Notifications
You must be signed in to change notification settings - Fork 301
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
RuntimeError with NetCDF4FileHandler #758
Comments
Reading data variables that do exist often results in I can read the file fine directly with |
Here no
Resulting in:
|
What do you get if you do What do you get if you do:
|
Replacing the bit after constructing the key = "data/vis_05/measured"
keys = ncfh.file_content.keys()
print("found", len(keys), "keys")
vis05_meas_keys = [k for k in keys if k.startswith(key)]
print("including", len(vis05_meas_keys), "starting with", key)
print(key, "in keys", key in keys)
try:
ncfh[key]
except KeyError:
print("but satpy can't find my data")
else:
print("and satpy finds it") the output becomes
|
If I try |
It doesn't read groups, not variables and attributes. |
Describe the bug
When trying to use the
NetCDF4FileHandler
to access the contents of my data file, it fails with aRuntimeError
(see below for details).To Reproduce
(file available to core PyTroll developers)
Expected behavior
I expect the contents of the file to be shown.
Actual results
Environment Info:
v0.14.2-64-ga2aae4a4
The text was updated successfully, but these errors were encountered: