create_patches_latlon¶
- giant.coverage.visualizer.create_patches_latlon(lat, lon)[source]¶
This helper function creates matplotlib Polygon patches for triangles from lat/lon arrays
- Parameters:
lat (ndarray[tuple[Any, ...], dtype[float64]]) – the lattitude values as a 2d array. Generally should be from the
project_triangles_latlon()
functionlon (ndarray[tuple[Any, ...], dtype[float64]]) – the longitude values as a 2d array. Generally should be from the
project_triangles_latlon()
function
- Returns:
a list of matplotlib Polygons as specified in the input
- Return type:
list[Polygon]