NOAA-GFDL / SIS2

NOAA-GFDL's Sea Ice Simulator version 2
Other
16 stars 43 forks source link

Standardize syntax in mask2d logical tests #172

Closed Hallberg-NOAA closed 2 years ago

Hallberg-NOAA commented 2 years ago

Modified the syntax of the logical comparisons with the various mask2d variables to always check whether they are larger than 0.0, not 0.5 and use similar syntax throughout the SIS2 code. Because these arrays are always either 0.0 or 1.0, the answers are bitwise identical.

marshallward commented 2 years ago

Gaea regression: https://gitlab.gfdl.noaa.gov/ogrp/MOM6/-/pipelines/15618 :heavy_check_mark: