Skip to content

Fix MOC edge sign and mask#518

Merged
xylar merged 1 commit intoMPAS-Dev:masterfrom
xylar:fix-moc-transects
Aug 7, 2023
Merged

Fix MOC edge sign and mask#518
xylar merged 1 commit intoMPAS-Dev:masterfrom
xylar:fix-moc-transects

Conversation

@xylar
Copy link
Collaborator

@xylar xylar commented Aug 7, 2023

Testing of #515 has exposed some issues with the code for computing MOC southern transects.

This fixes an attempt to mask out a dummy edge, but there is, in fact, no such dummy edge in the data written to files (just in the MPAS code).

This merge also fixes a related bug where the edge sign of edge -1 was being checked, whereas we want to ignore any edgesOnVertex that are -1.

@xylar
Copy link
Collaborator Author

xylar commented Aug 7, 2023

Testing

With this fix, files_for_e3sm/diagnostic_masks completes successfully for QU240, QUwISC240, EC30to60 and ECwISC30to60.

@xylar xylar merged commit d7f8fe0 into MPAS-Dev:master Aug 7, 2023
@xylar xylar deleted the fix-moc-transects branch August 7, 2023 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant