cdsodatacli

Getting Started

  • Installation
    • conda install
    • docker image building
    • Update cdsodatacli to the latest version

Usage

  • Usage
    • List of Entrypoints
  • 1. queryCDS - Spatio-temporal product search
  • 2. get-metadata-from-product-names
  • 3. match_s1_prodtypes - Match Sentinel-1 product types
  • 4. get-odata-ids - Get OData IDs from SAFE names
  • 5. downloadMultiThreadMultiUserS3 - Multi-threaded S3 download
  • 6. countProductsLocally - Count local products
  • Programmatic Usage
  • Configuration
  • define a GeoDataFrame
  • How to use ‘id_query’ ?
    • we can check that product IDs are exatcly the same

Reference

  • API Documentation
    • cdsodatacli
    • cdsodatacli.query
      • query_client()
      • fetch_data()
      • normalize_gdf()
      • create_urls()
      • remove_duplicates()
      • multy_to_poly()
      • sea_percent()
    • cdsodatacli.get_products_metadata
      • validate_safe_name()
      • create_urls_from_safe_names()
      • create_urls_from_product_ids()
      • fetch_metadata_for_batch()
      • post_process_data()
      • fetch_all_batches()
    • cdsodatacli.download
      • cds_s3_download_one_product()
      • filter_product_already_present()
      • download_list_product_multithread_v4()
    • cdsodatacli.utils
      • get_conf()
      • check_safe_in_outputdir()
      • check_safe_in_spool()
      • WhichArchiveDir()
      • check_safe_in_archive()
    • cdsodatacli.session
      • get_sessions_download_available_s3()
    • cdsodatacli.s3_temporary_access_token
      • _get_fresh_s3_client()
    • cdsodatacli.rate_limiter
      • RateLimiter
        • RateLimiter.wait_if_needed()
        • RateLimiter.get_available_tokens()
        • RateLimiter.reset()
    • cdsodatacli.retry
      • retry_with_backoff()
    • cdsodatacli.product_parser
      • ExplodeSAFE
    • cdsodatacli.s3_path
    • cdsodatacli.fetch_access_token
      • get_access_token()
    • Example: Using fetch_data() for spatio-temporal queries
    • Example: Using get-metadata-from-product-names
    • Example: Downloading products
cdsodatacli
  • Search


© Copyright 2026, Ifremer LOPS/SIAM.

Built with Sphinx using a theme provided by Read the Docs.