-
Notifications
You must be signed in to change notification settings - Fork 15
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
Replace CDAT #346
Comments
@tomvothecoder I'm not quite sure what needs to be done for
|
@forsyth2 I don't have familiarity with the My general approach to refactoring is to identify what needs to be refactored, understand the implementation, and find alternative solutions that would reproduce the same/similar results. |
It looks like you identified the CDAT modules that are used in |
Ok, great! https://cdat.llnl.gov/ lists "specific CDAT packages (
So, basically I just need replacements for |
Those are the packages whose dependencies are being maintained until end of CY2023. I doubt
|
Thanks, out of the list at https://anaconda.org/cdat/repo, we just have:
|
We can probably use |
@tomvothecoder What's the timeline/deadline for this issue? Are we trying not to have anything CDAT-related by the next Unified release? |
@forsyth2 Just CC'd you in an email chain with Xylar. He gave us 6-9 months to refactor any E3SM packages from CDAT to alternative solutions so they can work in E3SM Unified. It looks like |
@tomvothecoder Sounds good; I've moved this issue up in priority, so it can be completed by the next release (February/March of 2024) |
@tomvothecoder I apologize if this is a naive question, but are there It looks like we need to change 3 things here:
|
Yes, you can use either API if a single dataset is being opened.
In #80, Jill says " Since you'll be moving to xarray/xCDAT, I suggest exploring xarray.open_mfdataset() or xcdat.open_mfdataset(). These APIs can read a glob or list of
xCDAT has APIs for temporal averaging. The equivalent to Here's a CDAT to xCDAT mapping table (not all features are 1:1): https://xcdat.readthedocs.io/en/stable/api.html#cdat-mapping-table |
Reopening since #519 was a partial resolution. |
conda-forge/cdtime-feedstock#52 mentions that we need to replace
CDAT
inzppy
. Note that we already have #80, which is specifically aboutcdscan
.The text was updated successfully, but these errors were encountered: