Skip to content

correct field exchange for air density#1438

Merged
JessicaMeixner-NOAA merged 5 commits into
NOAA-EMC:developfrom
umr-lops:bugfix/RHO
May 29, 2025
Merged

correct field exchange for air density#1438
JessicaMeixner-NOAA merged 5 commits into
NOAA-EMC:developfrom
umr-lops:bugfix/RHO

Conversation

@mickaelaccensi
Copy link
Copy Markdown
Collaborator

Pull Request Summary

correct field exchange for air density if provided as homogeneous input field

Description

add a test in w3fldh function to exchange scalar field with time interpolation

Issue(s) addressed

Commit Message

correct field exchange for air density if provided as homogeneous input field

Check list

Testing

  • How were these changes tested? matrix
  • Are the changes covered by regression tests? (If not, why? Do new tests need to be added?) new test in regtest ww3_tp2.15
  • Have the matrix regression tests been run (if yes, please note HPC and compiler)? datarmor with intel compiler
  • Please indicate the expected changes in the regression test output, (Note the list of known non-identical tests.) no changes except the new regtest ww3_tp2.15 which is added
  • Please provide the summary output of matrix.comp (matrix.Diff.txt, matrixCompFull.txt and matrixCompSummary.txt):
    matrixCompSummary.txt
    matrixCompFull.txt

Copy link
Copy Markdown
Collaborator

@JessicaMeixner-NOAA JessicaMeixner-NOAA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should ww3_tp2.15/info also be updated?

@@ -0,0 +1,117 @@
function extract_AA_STE
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this supposed to be added?

@mickaelaccensi
Copy link
Copy Markdown
Collaborator Author

I've updated the info and removed the unused matlab code

Copy link
Copy Markdown
Collaborator

@JessicaMeixner-NOAA JessicaMeixner-NOAA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Having some issues running the new tests with inp input.

F F Currents
T F Winds
F F Ice concentrations
T H Atmospheric momentum
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mickaelaccensi - The ww3_tp2.15 tests are failing for me. Should these H's be Ts? Also you have a blank space below.

I'm assuming you ran this test with nml and not the inp? We are stilll running the inp and got some errors.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've corrected the inp file. Now the test pass with inp. sorry for that

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the updates!

Copy link
Copy Markdown
Collaborator

@mingchen-NOAA mingchen-NOAA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Regression tests

 **********************************************************************
 ********************* non-identical cases ****************************
 **********************************************************************
 mww3_test_03/./work_PR2_UQ_MPI_d2                     (15 files differ)
 mww3_test_03/./work_PR2_UNO_MPI_d2                     (16 files differ)
 mww3_test_03/./work_PR2_UQ_MPI_e                     (1 files differ)
 mww3_test_03/./work_PR3_UNO_MPI_e                     (1 files differ)
 mww3_test_03/./work_PR3_UQ_MPI_d2_c                     (16 files differ)
 mww3_test_03/./work_PR3_UQ_MPI_d2                     (16 files differ)
 mww3_test_03/./work_PR3_UNO_MPI_d2_c                     (18 files differ)
 mww3_test_03/./work_PR1_MPI_d2                     (12 files differ)
 mww3_test_03/./work_PR3_UNO_MPI_d2                     (18 files differ)
 mww3_test_03/./work_PR1_MPI_e                     (1 files differ)
 mww3_test_03/./work_PR3_UNO_MPI_e_c                     (1 files differ)
 mww3_test_03/./work_PR3_UQ_MPI_e                     (1 files differ)
 mww3_test_03/./work_PR2_UNO_MPI_e                     (1 files differ)
 mww3_test_09/./work_MPI_ASCII                     (0 files differ)
 ww3_ta1/./work_UPD3_U_cap                     (2 files differ)
 ww3_ta1/./work_UPD0F_O                     (2 files differ)
 ww3_ta1/./work_UPD2_O                     (2 files differ)
 ww3_ta1/./work_UPD3_U                     (2 files differ)
 ww3_ta1/./work_UPD5_U_cap                     (2 files differ)
 ww3_ta1/./work_UPD3_O                     (2 files differ)
 ww3_ta1/./work_UPD6_O                     (2 files differ)
 ww3_ta1/./work_UPD6_U_cap                     (2 files differ)
 ww3_ta1/./work_UPD5_U                     (2 files differ)
 ww3_ta1/./work_UPD6_U                     (2 files differ)
 ww3_ta1/./work_UPD5_O                     (2 files differ)
 ww3_ta1/./work_UPD2_U                     (2 files differ)
 ww3_ta1/./work_UPD2_U_cap                     (2 files differ)
 ww3_ta1/./work_UPD0F_U                     (2 files differ)
 ww3_tp2.10/./work_MPI_OMPH                     (7 files differ)
 ww3_tp2.16/./work_MPI_OMPH                     (4 files differ)
 ww3_tp2.6/./work_ST4_ASCII                     (0 files differ)
 ww3_ts1/./work_ST4_T700                     (5 files differ)
 ww3_ts1/./work_ST4_WRT                     (2 files differ)
 ww3_ts1/./work_T707GQM                     (4 files differ)
 ww3_ts1/./work_ST4                     (2 files differ)
 ww3_ts1/./work_ST4_T500                     (2 files differ)
 ww3_ts1/./work_T713GQM                     (4 files differ)
 ww3_ts1/./work_Romero                     (4 files differ)
 ww3_ts1/./work_ST4_TSA                     (2 files differ)
 ww3_ts1/./work_ST4_CAP                     (2 files differ)
 ww3_ts1/./work_T702                     (4 files differ)
 ww3_ts1/./work_T701                     (4 files differ)
 ww3_ts1/./work_ST4_GMD                     (2 files differ)
 ww3_ufs1.3/./work_a                     (3 files differ)

matrixCompFull.txt
matrixCompSummary.txt

Copy link
Copy Markdown
Collaborator

@mingchen-NOAA mingchen-NOAA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My code is out of sync. I will redo the regtests

Copy link
Copy Markdown
Collaborator

@mingchen-NOAA mingchen-NOAA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Regression tests were as expected:


********************* non-identical cases ****************************


mww3_test_03/./work_PR2_UQ_MPI_d2                     (15 files differ)
mww3_test_03/./work_PR2_UNO_MPI_d2                     (15 files differ)
mww3_test_03/./work_PR2_UQ_MPI_e                     (1 files differ)
mww3_test_03/./work_PR3_UNO_MPI_e                     (1 files differ)
mww3_test_03/./work_PR3_UQ_MPI_d2_c                     (16 files differ)
mww3_test_03/./work_PR3_UQ_MPI_d2                     (15 files differ)
mww3_test_03/./work_PR3_UNO_MPI_d2_c                     (9 files differ)
mww3_test_03/./work_PR1_MPI_d2                     (10 files differ)
mww3_test_03/./work_PR3_UNO_MPI_d2                     (16 files differ)
mww3_test_03/./work_PR3_UQ_MPI_e_c                     (1 files differ)
mww3_test_03/./work_PR1_MPI_e                     (1 files differ)
mww3_test_03/./work_PR3_UNO_MPI_e_c                     (1 files differ)
mww3_test_09/./work_MPI_ASCII                     (0 files differ)
ww3_tp2.10/./work_MPI_OMPH                     (7 files differ)
ww3_tp2.16/./work_MPI_OMPH                     (4 files differ)
ww3_tp2.6/./work_ST4_ASCII                     (0 files differ)
ww3_ufs1.3/./work_a                     (3 files differ)

matrixCompFull.txt
matrixCompSummary.txt
matrixDiff.txt

Copy link
Copy Markdown
Collaborator

@JessicaMeixner-NOAA JessicaMeixner-NOAA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the updates @mickaelaccensi!

@JessicaMeixner-NOAA JessicaMeixner-NOAA merged commit e88ae71 into NOAA-EMC:develop May 29, 2025
3 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

air density field exchange

3 participants