MPAS-Dev / MPAS-Tools

MPAS Tools Repository
Other
37 stars 63 forks source link

Fix MOC edge sign and mask #518

Closed xylar closed 1 year ago

xylar commented 1 year ago

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 commented 1 year ago

Testing

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