Phenometrics (region)

wcpms.wcpms.get_phenometrics_region(url, cube, timeseries)

List phenological metrics calculated for each spatial location within the boundaries of the given region.

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.

  • timeseries – JSON containing a list of dictionaries with satellite images time series for each pixel.

Returns: list: A list of dictionaries with phenological metrics calculated for each pixel centers.

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.