Skip to content

umr-lops/cdsodatacli

Repository files navigation

cdsodatacli

Build status Python Version Dependencies Status

Code style: black Security: bandit Pre-commit Semantic Versions License Coverage Report

odata client for Copernicus Data Space catalog

Very first steps

step 1: create a config file

  • create a copy of the config.yml called localconfig.yml where cdsodatacli is installed in your python environement.
cp config.yml localconfig.yml 
  • edit the localconfig.yml to set your own path for output directories and CDSE accounts
 vi  localconfig.yml

step 2: do a query on CDSE Odata API

queryCDS -h
# or
queryCDS --collection SENTINEL-1 --startdate 20230101T00:00:00 --stopdate 20230105T10:10:10 --mode IW --product SLC --querymode seq --geometry "POINT (-5.02 48.4)"

or use the method cdsodatacli.query.fetch_data()

step 3: download a listing of product

downloadFromCDS -h

Installation

pip install -U cdsodatacli

🛡 License

License

This project is licensed under the terms of the MIT license. See LICENSE for more details.

📃 Citation

@misc{cdsodatacli,
  author = {umr-lops},
  title = {odata client for Copernicus Data Space catalog},
  year = {2023},
  publisher = {GitHub},
  journal = {GitHub repository},
  howpublished = {\url{https://github.com/umr-lops/cdsodatacli}}
}

Credits 🚀 Your next Python package needs a bleeding-edge project structure.

This project was generated with python-package-template