methods descriptions

odata client for Copernicus Data Space catalog

processing

cdsodatacli.query.fetch_data(gdf, date=None, dtime=None, timedelta_slice=None, start_datetime=None, end_datetime=None, min_sea_percent=None, fig=None, top=None, cache_dir=None, mode='seq')

Fetches data based on provided parameters.

Parameters:
  • gdf (GeoDataFrame) – containing the geospatial data for the query.

  • geometry (list of tuples) – representing the geometry.

  • collection (String) – representing the collection information for filtering the data.

  • name (String) – representing the name information for filtering the data.

  • sensormode (String) – representing the mode of the sensor for filtering the data.

  • producttype (String) – representing the type of product for filtering the data.

  • start_datetime (String) – representing the starting date for the query.

  • end_datetime (String) – representing the ending date for the query.

  • publication_start (String) – representing the starting publication date for the query.

  • publication_end (String) – representing the ending publication date for the query.

  • top (String) – representing the ending publication date for the query.

  • mode (String) – seq ( Sequential) or multi (multithread)

  • timedelta_slice (datetime.timedelta) – optional param to split the queries wrt time in order to avoid missing product because of the 1000 product max returned by Odata

Returns:

data containing the fetched results.

Return type:

(pd.DataFame)