no attribute 'GFSDynamicalCore'
- CliMT version: 17.12
- Python version: 3.10.12
- Operating System: Ubuntu 22.04.3 LTS 64-bit GNOME 42.9
Description
I'm trying to run an example case full_radiation_with_insolation_gcm.py to see how climt works. But I got module 'climt' has no attribute 'GFSDynamicalCore', does it mean I need to update climt?
I also installed climt via anaconda, got the same error.
What I Did
python3 full_radiation_with_insolation_gcm.py
Traceback (most recent call last):
File "/home/climt/climt_develop/examples/full_radiation_with_insolation_gcm.py", line 60, in <module>
dycore = climt.GFSDynamicalCore(
AttributeError: module 'climt' has no attribute 'GFSDynamicalCore'
I used pip3 install climt, I think I installed the latest version.
I am having the same issue. Any update on this?
I found the following documentation online: https://gfs-dynamical-core.readthedocs.io/en/latest/
We've moved GFS dynamical core to be a separate package for ease of maintenance. Please find it here -
https://github.com/Ai33L/gfs_dynamical_core
Thank you for this information. I am having some issues getting this installed, when running pip install gfs-dynamical-core, the following error is given:
ERROR: Cannot install climt==0.17.5, gfs-dynamical-core and gfs-dynamical-core==0.1.0 because these package versions have conflicting dependencies.
The conflict is caused by:
gfs-dynamical-core 0.1.0 depends on sympl==0.4.1
climt 0.17.5 depends on sympl==0.4.0
gfs-dynamical-core 0.1.0 depends on sympl==0.4.1
climt 0.16.25 depends on sympl==0.4.0
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
Any advise on how to solve this?
Which python version are you using? Please use one of py 3.8, 3.9 or 3.10 Using a conda environment with one of these python versions would be best.