Giter Club home page Giter Club logo

sentinel2-process's Introduction

The purpose of this module is to download and preprocess Sentinel-2 satellite imagery data directly from Theia-land from given dates and a tile name or bounding box.

Prerequisites

Environment configuration

Using anaconda, create the environment using :

cd sentinel2-process
conda env create -f environment.yml
conda activate sentinel2-process

Usage

Code to download and preprocess a tile for Land Use and Land Cover analysis is summarized into the script pipeline_land_cover.py.

You must provide the following paths to execute a code from the following files :

  • A vector folder where you have :

    • Ground truth shapefile : Objects ID and labels to use for land cover training. The projection should be in your UTM (e.g 'espg:32631' for the tile TC31J (France)).
    • Polygon of the Area of Interest : shapefile that we be used to cropping the images with respect to your study zone.
  • Folder where Orfeo Toolbox is installed

  • Path to save the output GEOTIFFS images

Description of the outputs

The tile is cropped with respect to the extent of a given shapefile (script main.py, with Haute-Garonne as example in the variable mask_data) :

  • mask_R10_crop.tif : Binary cloud masks at 10 meters (int16)
  • mask_R20_crop.tif : Binary cloud masks at 20 meters (int16)
  • GFstack_X_crop.tif : Gap filled images with a given band X at 10 meters using linear interpolation (OTB) (float32)
  • GFstack_SI_X_crop.tif : Gap filled images with a given band X at 20 meters, superimposed at 10 meters, using linear interpolation (OTB) (float32)
  • Class_ID_crop.tif : ID of the class from the training dataset to predict for supervised task (script main.py) (int16)
  • Object_ID_crop.tif : ID of the objects from the training dataset (int16)
  • dates.csv : Csv file with acquisition dates that corresponds to the time index of each .tif image (except Class_ID and Objects_ID)

sentinel2-process's People

Contributors

j-desloires avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.