aitorarjona / cloudbutton-geospatial-usecase

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cloudbutton Geospatial Use Case Workflows

Workflows

  • NDVI: It gets tiles captured by Sentinel-2 and performs atmospheric correction. Then, coumputes NDVI (Normalized Difference Vegetation Index). Finally, it processes the calculated NDVI indexes to compute averages by shape and month.

NDVI graph

  • Water Consumption: It computes water consumption of crop fields based on temperature and solar irradiance.

Water Consumption graph

Setup:

Note: These notebooks have been developed using Python3.7 - other Python versions might not work.

  1. Install Lithops Serverless Framework

  2. Setup local Python virtual environment:

    $ python3.7 -m venv venv
    $ source venv/bin/activate
    $ (venv) pip install -r requirements
    
  3. Setup Jupyter notebook kernel.

    $ (venv) ipython kernel install --name "geospatial" --user
    $ (venv) jupyter nbextension enable --py --sys-prefix widgetsnbextension
    $ (venv) jupyter nbextension enable --py --sys-prefix ipyleaflet
    
  4. Start local Jupyter Notebook:

    $ (venv) jupyter notebook
    
  5. Follow further instructions listed in each notebook.

Authors

About

License:Apache License 2.0


Languages

Language:Python 48.9%Language:Jupyter Notebook 47.7%Language:Dockerfile 3.4%