Coder Social home page Coder Social logo

flowfarouk / sentinel-util Goto Github PK

View Code? Open in Web Editor NEW

This project forked from developmentseed/sentinel-util

0.0 1.0 0.0 270 KB

A CLI for downloading, processing, and making a mosaic from Sentinel-1, -2 and -3 data

License: MIT License

Python 100.00%

sentinel-util's Introduction

Sentinel Util

Sentinel Util is a command line utility to create a mosaic from Sentinel images.

Install

  1. Install Conda (on linux, use curl -o install )
  2. Install gcc
  3. Install GDAL and Gippy v1.0.0b8 (and dependencies: swig, g++, etc.)
  4. Make sure the conda installation of python is the default intallation
  5. Download the repo

Use

python sentinel-util.py out bbox username password [-m mission] [-b beginning] [-e end] [-t type] [-p maxProducts]

out The folder where the image file will be written (i.e. /path/to/your/folder).

bbox Defines the bounding box in the form lat1,lon1,lat2,lon2, where each value is in decimal degrees. lat1 must be greater than lat2 and lon1 must be less than lon2 (i.e. the coordinate lat1,lon1 is the top left corner of the bounding box and lat2,lon2 is the bottom right corner).

username Your username for Copernicus Open Access Hub. Can be created here.

password Your password for Copernicus Open Access Hub. Can be created here.

-m mission The mission to download images from. 1, 2, or 3. Defaults to 1.

-b beginning If included, the mosaic will not incorporate images ingested before this date. Of the form yyyy-mm-dd (i.e. 1999-12-31).

-e end If included, the mosaic will not incorporate images ingested after this date. Of the form yyyy-mm-dd (i.e. 1999-12-31).

-t type For Sentinel-1 only, defaults to GRD.

-p maxProducts Default 100. Must be a positive integer โ‰ค 100. Limits the number of products downloaded.'

Alternatively, to run in the background and continue even after closing your terminal window (helpful for running on servers), run like nohup python sentinel-util.py [args] &

What will happen

  1. It will download up to 100 products that match the search criteria
  2. Each of the images in the products will be reduced from 16bit to 8bit and switched to WebMercator
  3. All the images will be stitched into a mosaic

sentinel-util's People

Contributors

ellielitwack avatar

Watchers

A 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.