-
Notifications
You must be signed in to change notification settings - Fork 40
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
Open multiple files using xcdat #926
Conversation
…_open` defined locally in PMP
I'll give this a test run today |
@tomvothecoder As discussed at the xcdat meeting, CI/CD build test is failing and with the log that complains it cannot find xcdat 0.5.0. Could you please take a look?
|
- Add step to install local build of pcmdi_metrics in GH Actions conda env
Hi @lee1043 I'm looking at this issue right now. Ignore my many commits for trying to fix this issue. I think the root cause might be related to the GH Actions conda environment using a cached version of the packages. |
- Update build workflow dependencies - Update build workflow conda caching mechanism based on date and environment file
e5ad015
to
b86fc64
Compare
@lee1043 This fails for me using the demo dataset, where there is a single input file per model. Here's the error text, I can send the full log if that's useful:
|
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.
The GH Actions build is now passing. I updated the CI/CD conda environment to correctly update the cache instead of referencing old package versions.
Summary of Changes:
build_workflow.yml
- Bumped dependency versions
- Updated conda caching to cache entire environment and refresh cache every 24 hours
- Update conda environment build step to use
mamba
for speed - Add "Install pcmdi_metrics" step to install local branch version of the package to run tests against
dev.yml
- Bump dependencies versions -- these should be updated periodically (recommended before a new software version release)
@acordonez thank you for checking the demo. Can you please confirm you have the input file, |
@tomvothecoder Thank you very much for making the build test working! That is a huge help! |
@lee1043 you're right, once I updated the obs demo data this is working now. I don't have any xml clims to test, but I can also run that if there is some data you can point me to. |
@acordonez thank you for checking. I think it is okay to merge. Merging this now. |
open_mfdataset
instead ofxcdat_open
that was defined locally in PMPmodpath="/MY/FILES/*.nc"