xscape.utils.get_request_extent
- xscape.utils.get_request_extent(points, seascape_size, gridsize)
Calculates the area needed to cover all points and their seascapes.
- Parameters:
points (pd.DataFrame) – DataFrame of points as rows with “lat” and “lon” columns.
seascape_size (float) – Size (in degrees) of the seascape around each point.
gridsize (float) – Size (in degrees) of each pixel in the original background field.
- Returns:
copernicusmarine-style dictionary of max/min lat/lon.
- Return type:
dict
See also