Skip to content
/ NDVI Public

A simple python script for calculating NDVI index from earth observation data.

License

Notifications You must be signed in to change notification settings

alekfal/NDVI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NDVI Python Script

A simple python script for calculating NDVI values from earth observation multispectral data. Rasterio and numpy libraries are required.

Installation

Clone the repository and install the required libraries using pip:

git clone https://github.com/alekfal/NDVI.git
cd NDVI/
pip install -r requirements.txt

Terminal arguments

Short options Long options Description Required
-p --path Path to data Yes
-r --red_band Name of the red band image Yes
-n --nir_band Name of the NIR band image Yes
-o --output Name of the output image No

Examples

python NDVI.py -p . -r red_image.tif -n nir_image.tif -o my_new_ndvi_image.tif
python NDVI.py -p . -r red_image.tif -n nir_image.tif

About

A simple python script for calculating NDVI index from earth observation data.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages