GithubHelp home page GithubHelp logo

mrr00b00t / batchsat Goto Github PK

View Code? Open in Web Editor NEW
11.0 2.0 0.0 419 KB

This project aims to build a software that can download Sentinel-2 satellite images in batch for data analysis.

License: MIT License

Python 100.00%
agronomy batch batch-processing data-analysis data-engineering data-processing precision-agriculture raster-images remote-sensing

batchsat's Introduction

batchsat

This project aims to build a software that can download Sentinel-2 satellite images in batch for data analysis.

how to install

with conda (we used miniconda3)

  1. download the project
  2. create a conda environment and run the following command: conda install rasterio=1.3.3 geopandas=0.12.1 -c conda-forge
  3. then, run the command: pip install sentinelsat==1.1.1 xmltodict==0.13.0

how to use

create a csv file with the columns:

polygon_id;polygon_wkt;dt_from;dt_to
<unique_polygon_id_0>;<polygon_wkt_0>;<YYYY-mm-dd>;<YYYY-mm-dd>
.
.
.
<unique_polygon_id_1>;<polygon_wkt_1>;<YYYY-mm-dd>;<YYYY-mm-dd>

then, run python products.py --csv-path <path_to_csv_file>. there are other arguments, see with python products.py -h you will see that a products-polygons.csv was created.

use it as input to the next script, running: python rasters.py --csv-path <path_to_output_of_products.py>. if everything goes ok, it will be created a folder named rasters and subfolders named with the poygons unique id. inside these subfolders you will see the downloaded raster files ready to be used.

example

Example of a True Color Image 10m resolution time series from a random crop near Brasília, from 2022-06-03 to 2022-10-26.

Alt text

project goals

  • build a knowledge on how to collect, prepare, process and work with raster files and raster files time series
  • learn digital and image processing techniques applied to satellite images
  • provide a script to concurrently download images from Sentinel-2 twin satellites using computer with relatively good resources
  • provide a container/microservice to scale the download satellite images in a k8s cluster
  • help programmers and researchers to easily get satellite image data to make the world a better and safer place

batchsat's People

Contributors

mrr00b00t avatar

Stargazers

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