Timeseries (region)

wcpms.wcpms.get_timeseries_region(url, cube, geom)

Retrieves the satellite images time series for each pixel centers within the boundaries of the given region from the Brazil Data Cube catalog.

Parameters:
  • url – The url of the available wcpms service running.

  • cube – Dictionary with information about a BDC’s data cubes with collection, start_date, end_date, freq and band.

  • geom – GeoJSON containing the geometry used to retrive time series, according to EPSG:4326.

Returns: list: A list of dictionaries with satellite images time series for each pixel.

Raises:
  • ConnectionError – If the server is not reachable.

  • HTTPError – If the server response indicates an error.

  • ValueError – If the response body is not a json document.