Support for HAFS UFSATM-HYCOM and DATM-HYCOM coupling.#154
Conversation
field with 9.99e20 then executes ESMF_FieldRegrid using bilinear RH with zeroregion select.
… creation before reset.
med_fraction_mod.F90.
|
@uturuncoglu |
|
@danrosen25 if you are talking about the GitHub action failure this is expected. We need to fix it. @jedwards4b do you want me to look at? |
|
@mvertens @DeniseWorthen I'll test this branch with CESM and add the details to PR. |
|
@uturuncoglu - thank you for offering to test with CESM. It was not clear to me from the changes in med_map_mod that this would not effect the cesm results - or the UFS results. |
|
@mvertens the changes in med_map_mod probably does not affect other applications because @danrosen25 introduced a new interpolation and I put some fix for the masking in the data component and they are isolated for HAFS app. Eventually, the definition of source and destination mask values need to be revisited to make this part of code more clean in CMEPS side. Currently, every application (or coupling mode) has its own way. Anyway, let me run the full CESM test suite and see what happens. If we see any answer change or etc. we could log at more detailed. Which baseline do I need to use for it? |
|
That sounds like a great idea. Thanks.
…On Thu, Jan 21, 2021 at 2:53 PM Ufuk Turunçoğlu ***@***.***> wrote:
@mvertens <https://github.com/mvertens> the changes in med_map_mod
probably does not affect other applications because @danrosen25
<https://github.com/danrosen25> introduced a new interpolation and I put
some fix for the masking in the data component and they are isolated for
HAFS app. Eventually, the definition of source and destination mask values
need to be revisited to make this part of code more clean in CMEPS side.
Currently, every application (or coupling mode) has its own way. Anyway,
let me run the full CESM test suite and see what happens. If we see any
answer change or etc. we could log at more detailed. Which baseline do I
need to use for it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#154 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB4XCEZIWT7OD5S3FWUIFSDS3CO3ZANCNFSM4WNO6ORA>
.
--
Mariana Vertenstein
CESM Software Engineering Group Head
National Center for Atmospheric Research
Boulder, Colorado
Office 303-497-1349
Email: mvertens@ucar.edu
|
|
I'm not able to build this in ufs-weather; I'm getting a error : I cloned my current ufs-weather fork and pointed to the support/HAFS branch ( /glade/work/worthen/ufs_testhafs). |
|
@DeniseWorthen I think you also need to update UFS model itself, at least the CMEPS-interface/CMakeLists.txt file to test with S2S. Could you replace your CMEPS-interface/CMakeLists.txt file with the following and try again, Eventually, all those model level changes need to be synced. Let me know if you have any other problem. |
|
The files in CMEPS/nems/util/ were moved a823ee5 You'll have to update the _nems_util_files list in CMEPS-interface/CMakeLists.txt list(APPEND _nems_util_files |
|
@danrosen25 If you merge the latest master to this PR the extbuild should now pass. |
|
@jedwards4b Is it okay to remove the empty .gitmodules file? |
|
yes, thanks |
|
@uturuncoglu @danrosen25 I've gotten it to build now in ufs-weather. I'll run the ufs-coupled and datm tests. |
|
Are you using the latest nuopc_dev hash to do this test?
On Mon, Jan 25, 2021 at 11:13 AM Mariana Vertenstein <mvertens@ucar.edu>
wrote:
… Please do not downgrade cdeps until I have a chance to test this. These
tests passed fine in my previous commit.
On Mon, Jan 25, 2021 at 10:47 AM Ufuk Turunçoğlu ***@***.***>
wrote:
> @mvertens <https://github.com/mvertens> i am not sure. maybe the updated
> CMEPS tires to use some feature which is not supported with the current
> CESM. Let me try to downgrade the CDEPS to be sure that it is not the issue
> and if pass, we could look at CMEPS and CIME side.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#154 (comment)>, or
> unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AB4XCE6COCLZ7OHJJGQVFZDS3WVE3ANCNFSM4WNO6ORA>
> .
>
--
Mariana Vertenstein
CESM Software Engineering Group Head
National Center for Atmospheric Research
Boulder, Colorado
Office 303-497-1349
Email: ***@***.***
--
Mariana Vertenstein
CESM Software Engineering Group Head
National Center for Atmospheric Research
Boulder, Colorado
Office 303-497-1349
Email: mvertens@ucar.edu
|
|
These tests use master |
|
@mvertens yes, I am using CDEPS master. BTW, is |
|
you need to add Vnuopc to your test to test CDEPS |
|
@jedwards4b okay, let me try again. Thanks. |
|
I have a fix for this in CDEPS and am happy to push back to CDEPS master if
that would help - or issue a PR. Let me know how you want to proceed.
…On Mon, Jan 25, 2021 at 12:10 PM jedwards4b ***@***.***> wrote:
you need to add Vnuopc to your test to test CDEPS
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#154 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB4XCE25CZR7LTWNEP4H67LS3W6Y3ANCNFSM4WNO6ORA>
.
--
Mariana Vertenstein
CESM Software Engineering Group Head
National Center for Atmospheric Research
Boulder, Colorado
Office 303-497-1349
Email: mvertens@ucar.edu
|
|
@mvertens @jedwards4b thanks for quick fix. I am testing it again. |
|
@mvertens @jedwards4b all the tests are passed after recent fix that Mariana put in CDEPS side. You could see the full log in the following path |
|
You still have a fail in the github build. It's a real error that needs to be fixed: |
|
@jedwards4b yes, I know. I'll look at it. CESM tests and regression tests are compiled without any problem. I think it is related with GNU. I'll fix it soon. |
|
@jedwards4b let's see what happens. I hope it will pass this time. |
coupling_mode. Check pointers returned from fldbun_getdata1d calls. Remove zero size allocation from med_methods_FB_reset.
|
@danrosen25 I need to check this version of PR with data components especially modifications related with the masking. I'll let you know about it. |
|
Hi @jedwards4b @DeniseWorthen I apologize for the string array mismatching length issue. That is something that depends on the compiler and I didn't notice it. |
|
I will run a sub-set of our tests just to confirm. I don't expect any negative impacts. Thanks. |
|
@danrosen25 i tested this version of brach and it works without any problem in the data configurations. |
|
*@uturuncoglu -* thanks for your testing.
…On Wed, Jan 27, 2021 at 10:13 AM Ufuk Turunçoğlu ***@***.***> wrote:
***@***.**** approved this pull request.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#154 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB4XCE566AW6ZBGCUBNUHN3S4BCTHANCNFSM4WNO6ORA>
.
--
Mariana Vertenstein
CESM Software Engineering Group Head
National Center for Atmospheric Research
Boulder, Colorado
Office 303-497-1349
Email: mvertens@ucar.edu
|
|
I apologize for another change. I reviewed the PR code changes one more time and found another allocate size zero. I also modified the previous allocate size zero fix to match the logic used for this one for consistency. It won't have an effect on any of the previous runs. |
Description of changes
Added mapping type for UFSATM-HYCOM coupling. New mapping type fills in destination points with 9.99e20, a physically unrealistic value, before executing bilinear regridding. Then bilinear regridding does not modify unmapped points. This allows destination component to identify unmapped points.
Small fixes were made to check FieldBundleIsCreated before accessing data pointer from FB. I believe this is due to a domain with a sparse decomposition.
HAFS field coupling configuration was modified/added to esmFldsExchange_hafs_mod.F90. There are now two configurations. system_type=CDEPS configures DATM-Active_Ocean coupling and includes flux calculation in the mediator. system_type=UFS configures Active_Atmosphere-Active_Ocean coupling and does not compute fluxes. I do have an Issue opened for this topic but the issue is only temporarily addressed here by adding the system_type to esmFldsExchange_hafs_mod.F90.
#92
This PR also aims to remove internal PIO from CMEPS completely and move the shared code to another folder (we removed the nems from the directory structure). The PIO initialization is in the NEMS side. @DeniseWorthen you need to use following branch in the PR to work under S2S (hafs-community/NEMS#2) because NEMS has additional mods that is required for PIO initialization.
Specific notes
Contributors other than yourself, if any:
@uturuncoglu - Worked on the DATM-Active_Ocean coupling for HAFS including internal PIO removal
@danrosen25 - Worked on the Active_Atmosphere-Active_Ocean coupling for HAFS including new mapping type
CMEPS Issues Fixed (include github issue #):
Addressed this issue by creating 'mapfillv_bilnr'
#91
Are changes expected to change answers?
Any User Interface Changes (namelist or namelist defaults changes)?
Testing performed if application target is CESM:(either UFS-S2S or CESM testing is required):
Testing performed if application target is UFS-coupled:
Testing performed if application target is UFS-HAFS:
Hashes used for testing: