huracanpy.info.is_land#

huracanpy.info.is_land(lon, lat, resolution='10m', crs=None)[source]#

Detect whether each point is over land

Parameters:
  • lon (float or array_like)

  • lat (float or array_like)

  • resolution (str) –

    The resolution of the Land/Sea outlines dataset to use. One of

    • 10m (1:10,000,000)

    • 50m (1:50,000,000)

    • 110m (1:110,000,000)

  • crs (cartopy.crs.CRS)

Returns:

Array of “Land” or “Ocean” for each lon/lat point. Should return the same type of array as the input lon/lat, or a length 1 numpy.ndarray if lon/lat are floats

Return type:

array_like[bool]