mpas_tools.seaice.mask.extend_seaice_mask
- mpas_tools.seaice.mask.extend_seaice_mask(filenameMesh, filenamePresence, extendDistance, unitSphere=False)[source]
Add a field
icePresenceExtendedtofilenamePresenceif it doesn’t already exist. This field is theicePresencefield extended by a distance ofextendDistance.- Parameters:
filenameMesh (str) – The filename of the MPAS-Seaice mesh
filenamePresence (str) – A filename for a file containing an
icePresencefield to be extended and to which a newicePresenceExtendedwill 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