meshutils module

gridtools.meshutils.writeLandmask(grd, dsData, dsVariable, outVariable, outFile, **kwargs)

Write a land mask based on provided information. This routine assumes a depth field is being passed as an argument to create the mask.

MOM6 h-points are masked at and above the MASKING_DEPTH. A depth equal to the MASKING_DEPTH is masked as land. MASKING_DEPTH is ignored if negative. The default depth is zero (0.0).

gridtools.meshutils.writeOceanmask(grd, dsData, dsVariable, outVariable, outFile, **kwargs)

Write a ocean mask based on provided information. This routine assumes a depth field is being passed as an argument to create the mask.

MOM6 h-points are masked at and above the MASKING_DEPTH. A depth equal to the MASKING_DEPTH is masked as land. MASKING_DEPTH is ignored if negative. The default depth is zero (0.0).