-
Notifications
You must be signed in to change notification settings - Fork 79
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
Trying to get mesh out of cpl_scalars
field
#398
Comments
I think, the main issue is in, Line 1718 in 98dcf46
This returns field count but if the coupling is unidirectional such as So, returning number of fields without scalar passes the point that code crash but then same thing also happens in following statement, CMEPS/mediator/med_fraction_mod.F90 Line 229 in 98dcf46
I am not sure by this is happening in my case. This is DATM+WAV configuration under ufs-coastal (it is a fork of ufs weather model) and CDEPS DATM only sends two wind component to WW3. As I know, there is no any wave configuration forced with DATM under UFS at this point. @DeniseWorthen do you have any information about it. Is it tested configuration under UFS? Anyway, I'll further investigate the issue. |
@uturuncoglu I just now found this mention. Sorry! Is this still an issue? We don't have a datm+wav configuration in UFS, but I've been thinking that we need one; this would allow UFS to test WW3 PRs using actively coupled ocean and ice (vs testing in the standalone system). |
@DeniseWorthen No worries. We setup datm+wav case under UFS Coastal and it is working fine. I fixed CMEPS under our fork. You could see the diff in the following link, NOAA-EMC/CMEPS@emc/develop...oceanmodeling:CMEPS:feature/coastalapp This has also other changes related with the new coupling mode (we could get rid of it once we have stable ufs-coastal and merge with ufs one but at this point I am not sure if there is an intention to push those changes along with the new components to UFS Weather Model level). Please see the changes in |
@uturuncoglu It'd be great to get anything you need for coastal coupling in WW3 to be sync'd back to the noaa-emc fork. I know there were conversations about this years ago, but perhaps we can restart them. Let me know if there's anything I can help with in that respect. |
@JessicaMeixner-NOAA Thanks. I could sync our fork with the NOAA-EMC and create draft PR. So, you could see the changes if you want. We also did minor modification in the cap to run WW3 standalone under UFS. Anyway, let me know what do you think. |
@uturuncoglu that sounds great! |
It seems that following if statement is not working properly and tries to get mesh out of
cpl_scalars
.CMEPS/mediator/med_methods_mod.F90
Line 390 in 98dcf46
Just before the if statement the code tries to remove the
cpl_scalars
from the field list but it is still in the FB and if it is the first field then CMEPS fails with following error (I put couple of more print statement to be sure) because it usescpl_scalars
.Anyway, I think assuming first field is not
cpl_scalars
is not a generic solution and it could fail in some cases. Anyway, I'll try to fix it in CMEPS side as a part of the work in Coastal App side if you agree that this is an issue.The text was updated successfully, but these errors were encountered: