dartobsgen.polygon_from_vertices#

dartobsgen.polygon_from_vertices(lat_arr, lon_arr)[source]#

Build a shapely Polygon from 1D arrays of boundary vertices.

Parameters:
  • lat_arr (array-like) – Latitude of each boundary vertex (degrees).

  • lon_arr (array-like) – Longitude of each boundary vertex (degrees, -180 to 180).

Return type:

shapely.geometry.Polygon