-
Notifications
You must be signed in to change notification settings - Fork 69
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
OMNI (not OMNI2) Data Not Up to Date #731
Comments
VIRBO.org is no longer getting updates. OMNI data are retrievable from https://spdf.gsfc.nasa.gov/pub/data/omni/omni_cdaweb/ (CDF files) or via the CDAS and HAPI APIs from CDAWeb. |
I think it would be smart to have spacepy pull from that website if VIRBO is now out-of-date, since it will just get more out-of-date the more time goes on. Either way, I'm not sure how to get spacepy to work with the provided CDFs for my purposes. The directory that L-shell calculations pull OMNI data from ( |
The "OMNI2" is taken directly from NASA's OMNI2 data set (the 2 distinguishes it from the ~70s era OMNI product). The "OMNI" data set used by SpacePy is a derived product that's more widely known - at least these days - as Qin-Denton data. Hence the QD in the As noted previously ViRBO were generating and serving that. After ViRBO ceased to generate the data, LANL picked up the processing and intermittently passed updates back to ViRBO to serve. At some point the processing and provision was passed to the Van Allen Probes ECT suite since they had support for a website and data processing, as well as a need for the data product. So the current update code pulls the older data from ViRBO and then pulls the hourly-resolution (text) files from the ECT website to build a combined data set. The issue is that Van Allen Probes ended and post-mission support has effective ended too. So there's currently no current public-facing generation of the Qin-Denton data products past January 2022. They are used by the NASA MMS mission in generation of the MEC data product (at higher resolution, but we generate 1, 5 and 60 minute files), but the underlying files aren't served. We're currently looking for a more permanent home for the ongoing data processing to generate that data product as well as to serve it. SpacePy doesn't have funding to support ongoing processing and data hosting. As a temporary fix I can grab the post-2022 files and find a spot to make them available. It'll probably end up being a dump on Zenodo or something similar. I'll update here once I have the best path for that figured out. |
The QD data can be archived at SPDF; adding to CDAWeb would also need a version in CDF form with ISTP metadata. If only the OMNI values are needed, the ASCII files for OMNI are in the high and low res directories under https://spdf.gsfc.nasa.gov/pub/data/omni/ . I mentioned the OMNI CDFs since they are generally easier to load (such as with pycdf https://spacepy.github.io/pycdf.html ) or even easier direct from CDAWeb using its API via cdasws https://cdaweb.gsfc.nasa.gov/WebServices/REST/ . |
Hi, I'm sorry if this is a silly question. I am unsure how to download the OMNI data from the websites provided in such a way that spacepy can use them for L-shell calculations. The files don't appear to be formatted in the same way as the QDHourly data that spacepy uses, which causes spacepy to throw KeyErrors when it looks at the provided data that is formatted differently than the Qin-Denton data. I find myself still unable to use What would be the best way going about getting L-shell from position & time after Jan 2022? If using the differently-formatted OMNI data, should I reformat it myself or is there a setting in spacepy I can use? |
@julia-claxton, right now the best option is unfortunately to wait until Steve can get things squared away. The original OMNI CDF files at CDAWeb/SPDF do not have some of the derived quantities which are in the QD files, which is why we use the QD. The OMNI2 data, in addition to having a different set of names than OMNI/QD, also don't have those derived quantities, so effectively they can't be used as inputs to the IRBEM routines. See #617. @candeynasa , if you're offering to host the QD files at SPDF, and hopefully even figure a means of routine production, we should talk. We need a low-friction way to keep these things up to date and it's been hampered by being on a volunteer basis. |
@drsteve, @candeynasa, and others at SPDF have been working on hosting. In the meantime, Steve generated up-to-date files and I've processed them into the final parsed SpacePy database. That can be downloaded here. Place that .h5 file in the |
That worked perfectly, thank you so much @jtniehof! |
Hello! I have noticed that my OMNI data only goes through January 2022, no matter how often I update it. My OMNI2 data is up to date, however using OMNI2 data in calculation of L-shell (my use case for the OMNI data) results in an error saying that the OMNI2 data does not have Kp index. MWE is given below.
Minimal example to reproduce issue:
Error message/Traceback:
OS, Python version, and dependency version information:
I am using a MacBook Pro with an M1 (Apple silicon) processor.
Version of SpacePy
spacepy=0.4.1
Downloaded via pip and updated prior to running MWE script. I am running spacepy with Python 3.9 because that is the only way I could get spacepy to run properly on my machine.
The text was updated successfully, but these errors were encountered: