-
Notifications
You must be signed in to change notification settings - Fork 5
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
change in ESMValTool breaks eWaterCycle forcing #355
Comments
Yes, I also noticed that in eWaterCycle/infra#137. |
The source of this issue is ESMF changing their package's module name (in a minor release...). See here: By instead installing esmpy<8.4.0 with conda/mamba, this issue should be (temporarily) fixed. |
esmpy can't be installed
However: if we switch to the eWaterCycle conda environment, it does work. However, we are not sure how to link this environment to notebooks? |
I forgot to specify that the channel is conda-forge. conda install --channel=conda-forge "esmpy<8.4" should work. I just tested it (with micromamba). Except if you are on Python 3.11, then you will receive the following error:
If you want to create a new environment that is compatible with the current release of eWaterCycle, you should be able to use the following environment.yml. The python version is pinned to 3.10 here. ---
name: ewatercycle
channels:
- conda-forge
dependencies:
- python ==3.10
- esmvaltool-python >=2.3.0
- subversion
- esmpy !=8.1.0,<8.4 |
I'm trying to find where this yml file lives in the jupyterlab environment and to change it such that all user benefit from it. Any suggestions? |
You mean this one? |
do I need to restart the machine? (if so, how?) or do I need to do something else to make the changes work? Since I still do not see the environment become available in jupyterlab. I did try this : https://stackoverflow.com/questions/39604271/conda-environments-not-showing-up-in-jupyter-notebook/56409235#56409235 but it doesn't add the environment to my options in jupyterlab |
I think a recent change in ESMValTool breaks the eWaterCycle forcing module. Anytime you import ewaterCycle.forcing you get the following error:
ESMF is not a module that can be (easily?) installed using pip.
This means that currently on researchcloud (and other places) we can not work with eWaterCycle.
The text was updated successfully, but these errors were encountered: