-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
data manager issue with sunpy.instr.goes #24
Comments
Looking at the warning, I'd say the file is not downloaded. Can you confirm whether the file is actually downloaded or not? If that doesn't give any insights, try removing the warn and raise the Exception produced.
The above code works fine for me. You can try this as a minimal example to reproduce the issue.
I'm sorry 😅. All the bad code in there should be attributed to me. Better error handling is due for downloading, I think. |
Hey @vn-ki ! No the file was not downloaded but I can't figure out why its not?
The data manager is great! Its my own ignorance in how it works is the problem 😆 |
looks like the key - maybe |
shouldnt that be automatically created? I purged the directories in the morning to test it out and it worked without any problems.
@hayesla I think you'll have to replace that warn with a |
This exists - I've checked it >>> os.path.exists('/Users/laurahayes/sunpy/data_manager/')
True Yep, I'll play around with it some more. Can I ask a silly question though - how are the hash keys generated? |
sha256 iirc |
thanks! Actually where else in core is the data manager used? Just want to test out some stuff |
It's not as far as I know. But we use it in aiapy: https://gitlab.com/LMSAL_HUB/aia_hub/aiapy/-/blob/master/aiapy/response/channel.py#L77 |
This should be everything. Looks like we are not using enough of data manager 😆 |
Description
I know we are planning to move the instr out of core, but I'm playing around with
sunpy.instr. calculate_temperature_em()
, and there seems to be a bug with the data manager to get the required chianti files.Expected behavior
and this should return a lovely timeseries with two extra columns for temperature and emission measure
Actual behavior
Where is the bug?
I'm pretty confused about where the bug is lying - where is the hash key generated here?
The url exists and can be downloaded, the data manager is hurting my head 🤯
The text was updated successfully, but these errors were encountered: