Got an error when runnin "UFS_IC_generator.py" (CCPP-SCM v5.0.0) #315
-
Hi, Within the scm/etc/script, I tried "UFS_IC_generator.py" script to generate the example UFS Atmosphere initial condition case input file. I got an error when I run "UFS_IC_generator.py" to create ICs on NOAA's Hera HPC. For example, I just try a sample case as follows: ./UFS_IC_generator.py -l 261.51 38.2 -d 201610030000 -i ../../data/raw_case_input/FV3_C96_example_ICs -g ../../data/raw_case_input/FV3_C96_example_ICs -n fv3_model_point_noah -oc The error message shows as follows: BTW, the shapely python package is installed on Hera. Is it still a problem related to python version? Thanks, Weizhong |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 11 replies
-
@wzzheng90 I can replicate this error on Hera. It may be that the setup Hera setup script needs updating. FWIW, this script works on Cheyenne. I will take a look this afternoon. |
Beta Was this translation helpful? Give feedback.
-
In the meantime you can use this environment to run the script. |
Beta Was this translation helpful? Give feedback.
-
[Dustin.Swales@hfe09 scripts]$ where python You should see a second python that appears when you activate py27env? |
Beta Was this translation helpful? Give feedback.
-
@dustinswales It works now if "/scratch2/BMC/ome/Dustin.Swales/libs/miniconda3/envs/py27env/bin/python" is used before UFS_IC_generator.py, although I can not see the second python if I type "where python". Thank you very much for your kind help !! |
Beta Was this translation helpful? Give feedback.
-
Really appreciate it. It's working now.
…On Wed, Jun 22, 2022 at 6:40 PM dustinswales ***@***.***> wrote:
@wzzheng90 <https://github.com/wzzheng90>
Sorry, I just restored my py27 environment. You should be able to clone
this as before and it "should" work.
—
Reply to this email directly, view it on GitHub
<#315 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALOCL25N2AEC5I7FBC7H66LVQOI4NANCNFSM5WFZQPQA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Weizhong Zheng, Dr.
IMSG at Environmental Modeling Center
NCEP/NWS/NOAA
5830 University Research Court , #2028
College Park, MD 20740
TEL: 301-683-3694 (O)
FAX: 301-683-3703
Email: ***@***.*** ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hello, I am having the same problem with the UFS_IC_generator.py (as shown by wwzhen90 in the first part of this question), but in Cheyenne. There is any specific conda environment that I should use at Cheyenne? or there is any updated version of this script (in Python 3.0+)? Regards Christian |
Beta Was this translation helpful? Give feedback.
In the meantime you can use this environment to run the script.
conda create --name py27env --clone /scratch2/BMC/ome/Dustin.Swales/libs/miniconda3/envs/py27
conda activate py27env