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
Tiegcm #113
Tiegcm #113
Conversation
Should the ICON files be a separate tag? |
I don't have a UCAR file to test with but the ICON times are now loading correctly. The ICON UCAR file stores the time units and epoch as part of the variable metadata which xarray now parses for us. |
test_remote_file_list is failing for UCAR TIEGCM. I can get the test to pass if I include a fake filename but I think that will lead to downstream issues. I'm going to think about things but we may need a flag for disabling that test for certain tags. |
Is this because the zip file is technically a different name? |
No, the CDAWeb TIEGCM data is fine. It is the UCAR tag of '' that is the issue. There are no remote files to build a list from. I have a warning but the pysat test checks for non-zero number of filenames returned. I was thinking last night we could mod the test slightly to look for the warning, and it not present, check for returned filenames, or something like that. |
Tests pass using pysat/pysat#1007 merged with |
# Conflicts: # pysatModels/models/ucar_tiegcm.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's an additional ref for the ICON version:
Maute, A. Thermosphere-Ionosphere-Electrodynamics General Circulation Model for the Ionospheric Connection Explorer: TIEGCM-ICON. Space Sci Rev 212, 523–551 (2017). https://doi.org/10.1007/s11214-017-0330-3
Specifically, the versions we are grabbing here are generated using Hough Mode Extensions generated by ICON data, which probably should be mentioned in the docstring somewhere. The team has also been uploading a second set not driven by the HMEs at: https://cdaweb.gsfc.nasa.gov/pub/data/icon/l4/tiegcm_nohme/
Not sure we want to add the second set just yet. Long term I'd like to add the unzip support to pysatNASA, which involves more changes here, but that's a future pull.
Long term I'm fine with decompression support being built in somewhere. That's where I got the code from 😸 |
I've been waiting for all the tests to pass before merging. When I started re-running tests I only did the documentation tests but it somehow triggered a bunch more. Anyway.... tests that take 30 minutes for Ubuntu are stilling running on windows after 3+ hours. |
GitHub Actions is installing the problematic xarray version for some reason. Perhaps it is causing the windows issues? Trying it out. |
Starting work on another branch to see if the windows issues are there too. |
EDIT: see pysat info in following comments
Old version (20220710.1): https://github.com/actions/runner-images/blob/win22/20220710.1/images/win/Windows2022-Readme.md New version (20220731.1): https://github.com/actions/runner-images/blob/win22/20220731.1/images/win/Windows2022-Readme.md Skimming the list, I don't see anything that jumps out as breaking the code. |
OK, it is related to the new pysat version. On ubuntu, the working version from 23 days ago ran Ran a new branch with a pysat cap: https://github.com/pysat/pysatModels/actions/runs/2834175762 All tests completed in the shorter amount of time with the new runners and scipy. |
Specifically, the culprit is the tests for |
Thanks for finding the area with an issue.... bummer it is my code 🙈 |
Tiegcm patch -- broken windows tests
Description
Addresses #109
Adds TIEGCM data from ICON hosted via CDAWeb. Downloads are not tested due to file size. pysatModels now requires pysatNASA.
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details for
your test configuration
Test Configuration:
develop
branch, not released version.Checklist:
develop
(notmain
) branchCHANGELOG.md
, summarizing the changes