-
Notifications
You must be signed in to change notification settings - Fork 7
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
ERROR: KeyError: key 60096 not found #18
Comments
So this issue is caused by the fact that data currently bundled with the package doesn't go through the requested date (2023-06-01, MJD 60096), the last bundled data is from 2023-04-13. Normally you could address this by calling An immediate solution would be to just choose an earlier date for the propagation, something like 2023-01-01. |
It would helpful to have a more explanatory error message that says basically what you said in your comment. However, I was actually hoping to be able to use Harris-Priester instead of MSIS, and I noticed that the H-P model is in this package, but there seems to be no way to select it in place of MSIS. I wrote a one-line fix to call H-P, but it doesn't work for me even manually loading the one calling function I patched, it always uses this repository version. (I am completely new to Julia so I don't know how to patch a package.) So my suggestion has two parts: make this error message more meaningful to the average user (something like "date requested 2023-06-01 is beyond the end of the available MSIS data (2023-04-13), choose an earlier date"), and make it possible to switch atmosphere models. |
I also experienced this problem and worked around it by downloading data files manually from
they seem to include data up to at least April 2024, but somehow they are not downloaded by |
Thank you for posting the fix and the current data sources for both files, as well as reminding me about this issue. I plan to go in and clean up the code to:
|
All of these issues should now be addressed with the |
This appears to be coming from an attempted MSIS data download.
The text was updated successfully, but these errors were encountered: