xscape.core.get_glorys_var

xscape.core.get_glorys_var(points, seascape_size, variable, start_datetime, end_datetime)

Gets GLORYS data for a single variable for the specified region/time.

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.

  • variables (list of str) – GLORYS variable names to include in the returned data.

  • start_datetime (str) – Earliest date for which to get data.

  • end_datetime (str) – Latest date for which to get data.

  • variable (str)

Returns:

Dataset in the same format as that returned by copernicusmarine.

Return type:

xr.Dataset