Cube
- wcpms.wcpms.cube_query(collection, start_date, end_date, freq, band)
An object that contains the information associated with a collection that can be downloaded or acessed.
- Parameters:
collection – String containing the collection id identifier.
start_date – String containing the begin of a time interval. Following YYYY-MM-DD structure.
end_date – String containing the begin of a time interval. Following YYYY-MM-DD structure.
freq – String containing the frequency of images of the associated collection. Following (N-days) structure.
band – String containing the attribute (band) name.
Returns: dictionary: A dictionary with information about a BDC’s data cubes with collection, start_date, end_date, freq and band.
- 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.