Skip to content
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

Automatic downloading of F10.7 and ap #23

Merged
merged 15 commits into from
Nov 14, 2022
Merged

Conversation

greglucas
Copy link
Member

This adds the ability to retrieve external F10.7 ap data. It maintains full backwards compatibility, but if you leave out F10.7 or ap we can try to retrieve those from the historical records. The data file is cached locally, so downloads don't happen every time.

This adds the ability to download the space weather data and automatically
calculate the required ap and F10.7 data values and format for the user.
This adds the ability to use historical F10.7 and ap data downloaded
from an external source.
Provide a better error message if the requested dates are out of the
range of data we have for geomagnetic data.
Get full coverage for the F107 and ap data handling utilities.
Fix up a few mistakes I found along the way.
This gets coverage up to 100% for all modules, making sure we get
the auto values filled from the external data files.
Previously, this would crash the application, so put some smoke
tests and make sure we raise when that happens before calling
into the Fortran libraries.
Reorganize the README to make it flow better and add some quick
references to get started quicker.
@greglucas greglucas merged commit f928d08 into SWxTREC:main Nov 14, 2022
@greglucas greglucas deleted the auto-f107-ap branch November 14, 2022 23:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant