Giter Club home page Giter Club logo

etl-sentinel-imagery's Introduction

ETL pipeline of Sentinel Imagery

License: MIT status: experimental

Overview

Within this repository, you'll find an ETL (Extract, Transform, Load) pipeline designed for the retrieval of Sentinel imagery. The pipeline seamlessly processes Sentinel data, executing essential transformations. Leveraging the ODATA protocol, it efficiently downloads Sentinel images from the dataspace.copernicus.eu API.

Installation

  1. Clone the repository:
git clone https://github.com/solo2307/etl-sentinel-imagery.git
cd etl-sentinel-imagery
  1. Create mamba environemt and install requierments from yaml file
mamba env create -f environment.yaml

Note: To install mamba please visit - https://mamba.readthedocs.io/en/latest/installation/mamba-installation.html

Configuration

  1. Create and add credentials to .env file. CopernicusHub username and password.Please create an account in https://dataspace.copernicus.eu/:
  2. Configure Area of Interest to retrieve from Copernicus in conf/config.yaml. Furthermore, for Sentinel-2, there is an option to retrieve data based on the tile_id.
# AOI acquisition and preprocessing descriptor parameters.
data:
  aoi: data/aoi.geojson
  crs: epsg:4326
  global_dataset: data/area/s2_tiles.csv
  tile_ids: []
  1. Set up credentials for the Copernicus Data Space Catalogue and configure image acquisitions.
# CopernicusHub credentials and Sentinel imagery configurations
imagery:
  # CopernicusHub API credentials
  api_url: ${oc.env:COPERNICUSHUB_API_URL}
  api_id: ${oc.env:COPERNICUSHUB_API_ID}
  api_secret: ${oc.env:COPERNICUSHUB_API_SECRET}

  # Image acquisition and preprocessing descriptor name.
  start_date: 2023-05-01
  end_date: 2023-09-05
  platform_name: SENTINEL-2
  processing_level: Level-2A
  product_type: S2MSI2A
  cloud_coverage_max: 4.0
  resolution: 10.0
  bands: [ 'B02', 'B03', 'B04', 'B08' ]
  format: UINT8
  1. Configure a local storage.
cache:
  feature_dir: cache/s2

Limitations and Quotas for General Users*

  1. Monthly transfer limit = 6Tb;
  2. Max number of activate sessions = 100;
  3. Number of concurrent connections limit = 4;
  4. A token stays active for 10 min;

etl-sentinel-imagery's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.