-
Notifications
You must be signed in to change notification settings - Fork 3
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
check_completion
command didn't work
#170
Comments
The issues seems to be in: CoupledModelDriver/coupledmodeldriver/client/check_completion.py Lines 126 to 128 in ba4c6a9
Where we should have had something like: - for model_type in Model.values():
- if not is_model_directory(directory, model=model_type):
+ for model_type in Model:
+ if not is_model_directory(directory, model=model_type.value):
continue @FariborzDaneshvar-NOAA can you please try installing |
@SorooshMani-NOAA I made these changes locally and re-installed it. But now I'm getting a new error: [2024-08-21 09:43:28,049] /work2/noaa/nos-surge/daneshva/miniconda3/envs/stormwf_v002/lib/python3.11/site-packages/coupledmodeldriver/_depend.py WARNING : can't find the 'adcircpy' module
/work2/noaa/nos-surge/daneshva/miniconda3/envs/stormwf_v002/lib/python3.11/site-packages/pyschism/forcing/hycom/gofs.py:8: UserWarning: The seawater library is deprecated! Please use gsw instead.
import seawater as sw
[2024-08-21 09:43:31,947] /work2/noaa/nos-surge/daneshva/miniconda3/envs/stormwf_v002/lib/python3.11/site-packages/coupledmodeldriver/_depend.py WARNING : can't find the 'adcircpy' module
[2024-08-21 09:43:31,950] /work2/noaa/nos-surge/daneshva/miniconda3/envs/stormwf_v002/lib/python3.11/site-packages/coupledmodeldriver/_depend.py WARNING : can't find the 'adcircpy' module
[2024-08-21 09:43:31,955] /work2/noaa/nos-surge/daneshva/miniconda3/envs/stormwf_v002/lib/python3.11/site-packages/coupledmodeldriver/_depend.py WARNING : can't find the 'adcircpy' module
Traceback (most recent call last):
File "/work2/noaa/nos-surge/daneshva/miniconda3/envs/stormwf_v002/bin/check_completion", line 8, in <module>
sys.exit(main())
^^^^^^
File "/work2/noaa/nos-surge/daneshva/miniconda3/envs/stormwf_v002/lib/python3.11/site-packages/coupledmodeldriver/client/check_completion.py", line 208, in main
completion_status = check_completion(**parse_check_completion_arguments())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/work2/noaa/nos-surge/daneshva/miniconda3/envs/stormwf_v002/lib/python3.11/site-packages/coupledmodeldriver/client/check_completion.py", line 127, in check_completion
if not is_model_directory(directory, model=model_type.value):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/work2/noaa/nos-surge/daneshva/miniconda3/envs/stormwf_v002/lib/python3.11/site-packages/coupledmodeldriver/client/check_completion.py", line 72, in is_model_directory
raise NotImplementedError(f'model "{model}" not implemented')
NotImplementedError: model "ADCIRC" not implemented |
Sorry I think we actually don't need |
@SorooshMani-NOAA now I getting this error with my old (nhc_colab) environment, that doesn't have stormworkflow and was working fine a few months ago.
|
This is the same issue as #170 (comment), right? I don't think I ever fixed it |
Yes, it is. |
I have a conda environment with these packages:
The
check_completion
command failed with this error:The text was updated successfully, but these errors were encountered: