mpas_tools.seaice.mask.extend_seaice_mask
- mpas_tools.seaice.mask.extend_seaice_mask(filenameMesh, filenamePresence, extendDistance, unitSphere=False)[source]
Add a field
icePresenceExtended
tofilenamePresence
if it doesn’t already exist. This field is theicePresence
field extended by a distance ofextendDistance
.- Parameters:
filenameMesh (str) – The filename of the MPAS-Seaice mesh
filenamePresence (str) – A filename for a file containing an
icePresence
field to be extended and to which a newicePresenceExtended
will be addedextendDistance (float) – The distance in km to expand (no expansion is performed if
extendDistance=0.0
)unitSphere (bool, optional) – Whether the mesh is provided on the unit sphere, rather than one with the radius of the Earth