Update WW3 cap for 2-way ocean-wave coupling #1348
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request Summary
The file wav_import_export.F90 located at model/src will be updated to convert a missing value to zero for the HAFS application.
Description
The HAFS application in the ufs-weather-model will be updated to include 2-way ocean-wave coupling capability. The related CMEPS component will be updated to interpolate ocean-current fields from MOM6 grid to WW3 grid. Since regional MOM6 domain and regional WW3 domain do not completely overlap, a missing value is assigned to the interpolated fields in the non-overlapped regions. In the CMEPS component, the missing value is 9.99e20.
To prevent a model crash, a short-term solution is to convert the missing value to zero in the file model/src/wav_import_export.F90. In the future, the ocean-current fields in the non-overlapped regions can be provided from a global MOM6 output.
Issue(s) addressed
-fixes #1346
Commit Message
Converting a missing value to zero for the imported ocean-current fields.
Check list
Testing