-
Notifications
You must be signed in to change notification settings - Fork 49
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
casegen error on Hera #523
Comments
@juliasimonson-noaa Sorry you having this issue (Moving this to the CCPP SCM repo where the experts can chime in). |
@juliasimonson-noaa I think there is a problem with the modules being loaded by the SCM. Can you try removing lines 12-14 from ccpp-scm/scm/etc/modules/hera_intel.lua , and then load the environment (>ml hera_intel), and rerun? |
@dustinswales I removed the lines and loading the environment, was able to avoid the netCDF4 error but still had issues running the SCM. But those issues might be due to something else, I was able to get it to work by running the casegen script in one terminal and running the SCM with hera_intel loaded in another terminal. |
@juliasimonson-noaa Good to hear. We are working on a fix for the environment conflict. |
I'm trying to generate a driver file on Hera using one of the casegen scripts (UFS_forcing_ensemble_generator.py), but when I ran the script I get the following error:
Traceback (most recent call last):
File "./UFS_forcing_ensemble_generator.py", line 8, in ‹module>
from netCDF4 import Dataset
File "/scratch1/NCEPDEV/nems/role.epic/spack-stack/spack-stack-1.6.0/envs/unified-env-rocky8/install/intel/2021.5.0/py-netcdf4-1.5.8-qs672u4/lib/python3.10/site-packages/netCDF4/init-py" , line 3, in ‹module>
from •_netCDF4 import *
ModuleNotFoundError: No module named 'netCDF4._netCDF4'
Prior to running the script, I had used Hera_intel.lua to load the necessary modules and had activated the conda environment env_ufscasegen.
The text was updated successfully, but these errors were encountered: