Closed acordonez closed 7 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
c83f46e
) 100.00% compared to head (400cebf
) 100.00%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@tomvothecoder Thanks for your quick review. It look like I don't have write access to merge this.
No problem! I'll merge this PR for you.
I added you as an xCDAT org member with write access. You'll be able to work with the main repo directly instead of using your fork, which should be more convenient next time.
Also FYI that I'll need to do another xCDAT release to have this fix publicly available. I'll look into it within the next two weeks.
If I recall correctly, PCMDI Metrics developers sometimes use the local xCDAT build from the main
branch to get access to the latest fixes/features. It's not recommended, but can be a temporary workaround.
@acordonez thank you for working on this.
If I recall correctly, PCMDI Metrics developers sometimes use the local xCDAT build from the main branch to get access to the latest fixes/features. It's not recommended, but can be a temporary workaround.
@tomvothecoder that is true, we can work with the latest version internally but PMP's new version release will be on hold until we get the latest xCDAT with this fix being incorporated. 2 weeks seems fine with us.
However, I am not sure how obs4MIPs folks are using xCDAT -- they might rely on official releases. As this fix also affects obs4MIPs, I think merging it ASAP would be appreciated. @gleckler1 Did I get this correct?
obs4MIPs is in high gear, but still prototyping - previously we've modified our codes to deal with past changes to add_missing_bounds but if things are stable now so will be the obs4MIPs processing codes. I typically get xcdat from conda forge creating an env with it and cmor. @manaster may want to chime in here..
@gleckler1 this is what I do in regards to xCDAT (create and environment with xCDAT from conda forge, so I think that's the official release?). This proposed fix would seems be great for those of us working on obs4MIPs (at least in terms of our prototype code)! We were thinking we would have to make some changes to our prototype codes based on changes made to 'add_missing_bounds()' between xCDAT version 0.3.3 and xCDAT version 0.6.0 (the most recent version Peter and I have been using). The fix proposed here would seem to negate the need for those code changes as far as I can tell.
@lee1043 @gleckler1 @manaster Got it. I'll draft up a changelog for v0.6.1 and see what other small changes can go in it before releasing within the next week or two.
Tagging @xCDAT/core-developers to make everyone aware.
Description
This PR adds default axes to the add_missing_bounds() function. If no axes are provided, the dataset will have X, Y, and T bounds added.
Checklist
If applicable: