how to calculate NDVI using LANDSAT 8 in google earth engine
Вставка
- Опубліковано 9 лис 2024
- In this tutorial, I will present how to calculate NDVI using Landsat 8 images in Google Earth Engine
Google Earth Engine (EE) is a cloud/browser-based platform for planetary scale geospatial analysis that relies on Google's processing and storage capabilities to enable large analyses in very little time. Earth Engine is home to hundreds of public remote sensing/geospatial datasets totaling more than thirty petabytes, and is continuously updated as images are captured. Here, we take advantage of the up-to-date and easy-to-access satellite imagery in Earth Engine to calculate and display a vegetation index (NDVI) from recent Sentinel imagery, anywhere on earth.
Besides tabular and time-series data, Data Scientists or Data Analysts can also draw information and insight from image data and demonstrate satellite image analysis using Google Earth Engine, or referred to as Earth Engine. Satellite images are raster data just like any image. What makes them different is that satellite images have spatial attributes. Each pixel represents a location in the real world. Analyzing satellite images means we are going to get information on what is in our study area. The science focusing on studying this field is Remote Sensing.
Earth Engine is a platform to perform Remote Sensing, like satellite image analysis. It has many satellite images in its archive. I am not going to explain much about Earth Engine and Remote Sensing here because I have done it in another article here. If you are not familiar with Remote Sensing or Earth Engine, please find yourself a simple explanation in that article. That article actually performed how to apply Machine Learning for land cover detection on Landsat 8 images.
Normalized Difference Vegetation Index (NDVI) using Landsat 8 images too. NDVI is an index commonly used in satellite image analysis to get basic information on vegetation distribution.
Landsat 8 images, just like other images, consist of pixels. Each pixel contains values. While the colorful image has 3 bands, usually red, green, and blue, Landsat 8 has 11 bands. Two of these bands used to generate NDVI are band 5 (NIR) and band 4 (Red). Figure 1 is the spectral curves showing spectral response to 3 objects. The green curve represents the spectral response to vegetation. We can see that vegetation reflects NIR the most and absorbs the red spectrum the most. Other objects have different characteristics. The water barely reflects the red spectrum and reflects all NIR. Soil reflects less NIR but reflects more red spectrum than vegetation does.
Please how to extract monthly datas of NDVI or another parameters in CSV format with GEE?
Thanks, very usefull! Just a doubt, I'm a beginner in using GEE, why the scale of image is 30?
It is the resolution of the Landsat 8 Image
why do i get this message while running
"ndvi image: Layer error: Image.select: Band pattern 'B4' was applied to an Image with no bands."
facing the same issue
You cant substract from an ee.ImageCollection . the console will type "nir.subtract is not a function"
You have missed something
You have missed something
How do you correct this
I am facing the same issue
@@maileletsoalo7443 After image write .first()
thank you
I can't view the image in desktop Qgis, why is it??
You have to change image properties in software
this code doesn't work!!!
Boyle Prairie
Jalyn Forest
Green Corner
Kuhic Ridge
Lebsack Plains
Asha Rue
Elfrieda Burg
Everardo Causeway
Keshaun Ports
Krajcik Meadows
Hermiston Courts
Vivienne Turnpike
Hane Gateway
Celia Way
Gottlieb Rue
Juanita View
White Rest
Cedrick Flats
Adrien Street
Donny Crossing
Jones Estate
Imani Harbors
Wisoky Harbors
Hessel Oval
Jaylan Lights
Hamill Passage
Hintz Estate
Conroy Ville
Pietro Squares
Tristin Parkways
Franecki Fields
Reagan Isle
DuBuque Light
Jalon Court
Frami Burg
Dangelo Square
Jedediah Street
Lind Route
Anastacio Ports
Bechtelar Locks
Beier Isle
Kling Keys
Collier Spurs
Meredith Land
Wiegand Causeway
Von Villages
Leffler Way
Keara Pike
Ziemann Unions
Pfannerstill Ford