NOC-MSM / pyBDY

pyBDY: a Python based regional NEMO model configuration toolbox.
GNU General Public License v3.0
7 stars 7 forks source link

Conda update introduces breaking change because of scipy #151

Closed JMorado closed 11 months ago

JMorado commented 12 months ago

@anwiseNOCL mentioned in PR #147 that updating Conda before pushing introduces a breaking change due to SciPy:

By the way I found that as part of the pre-push process my pybdy conda environment was updated. Scipy gets updated to 1.11.1 and introduces a breaking change. It affects how scipy.spatial.ckdtree handles nans and this cause it to error when do the vertical interpolation I think. After much confusion I reverted back to 1.10.1 and it works again.

A potential interim solution for this could involve specifying scipy=1.10.1 within the environment.yml file. However, in the long run, it would be advisable to modify PyBDY to align with the altered behavior of the newer SciPy version.