PCMDI / pcmdi_metrics

Open-source Python package for Systematic Evaluation of Climate and Earth System Models
http://pcmdi.github.io/pcmdi_metrics/
BSD 3-Clause "New" or "Revised" License
104 stars 40 forks source link

[Feature]: Removal of CDAT, cdms, cdutil, etc. #1163

Closed lee1043 closed 1 week ago

lee1043 commented 1 month ago

Remove dependency to CDAT libraries.

Note: This task is aligned with E3SM Unified Env version update. See https://github.com/E3SM-Project/e3sm-unified/pull/118

lee1043 commented 1 month ago

During the mean time, numpy version restriction caused by cdms was resolved by @xylar. The patched cdms can be installed via the following way:

https://github.com/E3SM-Project/e3sm-unified/pull/118#issuecomment-2442825954

We can make the removal as two steps: 1) update numpy to newer version to ensure no breaking 2) remove cdat dependencies

Note: remaining cdat components are in:

xylar commented 1 month ago

Make sure to test cdms2 and numpy >=2.0, because it's definitely possible that my patching hasn't caught all the incompatibilities. Please ping me as you notice numpy issues and/or create an issue: https://github.com/conda-forge/cdms2-feedstock/issues