-
Notifications
You must be signed in to change notification settings - Fork 303
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
'AHIHSDFileHandler' object has no attribute 'area' #1348
Comments
@raybellwaves Thanks for submitting this issue. I tried your example and could reproduce the error. However, after further inspection of the downloaded files, it seems that you have 4 different areas downloaded, namely ...
curfiles = glob.glob('tmp/*JP02*')
scn = Scene(curfiles, reader='ahi_hsd')
dq = 'B14'
scn.load([dq])
scn.show(dq) Note that I chose The real issue then is that the printed error is totally unhelpful in diagnosing the error though, so this should be addressed. |
@mraspaud thanks for catching that!
Agreed. Welcome to close this and create a new issue. |
Hi, Traceback (most recent call last): |
@Plantain We know that the error is not helpful for the overall problem, but did you have the same issue @raybellwaves had? He was providing more than one time step (and region) to the |
And that
|
I'm going to close this issue since there haven't been any updates. The general issue is that you can't provide more than one time step (repeat cycle) to the Scene. The error message is not extremely helpful, but I'm not sure there is an easy way around that. A pull request is welcome if someone wants to improve the error handling of the AHI HSD reader's error when accessing |
Describe the bug
Running
scn.load(['B04'])
givesAttributeError: 'AHIHSDFileHandler' object has no attribute 'area'
To Reproduce
Tested on master
Expected behavior
It's work in the same way as if the data was FLDK (see https://gist.github.com/raybellwaves/4dd2f1472468e9f67424b6a148e9ac18)
Actual results
Environment Info:
The text was updated successfully, but these errors were encountered: