NDVI from MODIS data (2023)

Vegetation Indices

1. Create a folder called NDVI. On DIA 322 computers, you might want to create this folder in your user Documents folder (e.g. C:\Users\jdoe\Documents\ NDVI). On the DIA 222 computers, you might want to create this folder on the D: drive under D:\course number\user name\ (e.g. D:\ES212\jdoe\ NDVI).

  1. Download the data then uncompress the file's contents to your NDVI folder.

In this exercise, you will use ArcGIS’ Image Analysis toolto compute Normalized Difference Vegetation Index (NDVI) values for the HowlandForest area (located in Maine) using MODIS(Moderate-Resolution Imaging Spectroradiometer) satellite data. You will thenuse Spatial Analyst to compute zonal statistics for an area of interest.

NDVI is a vegetation index that is associated with vegetation density. It isoften used to distinguish vegetation from non-vegetation features. Itnormalizes the difference between the green leaf scattering in thenear-infrared to the chlorophyll absorption. The NDVI is computed as follows:

NDVI from MODIS data (1)

where RNIR is the reflectance in the near infrared part of thespectrum, and Rredis reflectance in the red part of the spectrum. The value of the index rangesfrom -1 to 1. A common range for green vegetation is 0.2 to 0.8.

Contents

Step 1: Open the map document

Step 2: Calculating an NDVI value for the month of January

Step 3: Compute NDVI values for the other 11 months

Step 4: Averaging NDVI values within an area defined by a polygon

Step 5: Graphing the NDVI values

Navigate to your NDVI project folder and openthe NDVI.mxd map document.

NDVI from MODIS data (2)

NDVI from MODIS data (3)

The yellow circle encompasses an area of the Maine Howland forest that is part of the AmeriFlux network. An instrumented tower is located at the center of the circle

The tower provides continuous observations of ecosystem level exchanges of CO2, water, energy and momentum spanning various time scales. The Howland forest main tower site is managed by the USDA Forest Service, the Woods Hole Research Station, the University of Maine, the University of Georgia and the University of California.

The forest surrounding the tower is composed of red spruce, eastern hemlock, other conifers such as balsam fir, white pine, northern white cedar, and hardwoods such as red maple and paper birch. A breakdown of each species follows:

· 41% red spruce (Picea rubens Sarg.),

· 25% eastern hemlock (Tsuga canadensis (L.) Carr.),

· 23% other conifers (primarily balsam fir, Abies balsamea (L.) Mill., white pine, Pinus strobus L., and northern white cedar, Thuja occidentalis L.) and,

· 11% hardwoods

Turn off the Howland_naip layer and turn on the Jan09 2008 group layer.

NDVI from MODIS data (4)

All 12 MODIS group layers in your map document are in araster data format, yet they don’t seem to follow an orthogonal grid of cellsthat you might be accustomed to seeing. This is because the MODIS data wereprovided to us in a Sinusoidalprojection which distorts shape in our area of interest. One could reprojectthe raster to a coordinate system better suited for the state of Maine however,in doing so, we risk ‘contaminating’ the original radiometric signal. This isbecause of the use of interpolation techniques that are needed to transform theraster from one coordinate system to another. We will therefore notreproject the MODIS rasters in this exercise.

NDVI from MODIS data (5)

A MODIS image is composed of different 'bands'. Each bandhas bits of information such as reflectance value for a particular bandwidthand solar zenith angle at the time of the image acquisition. The followingtable lists the bands and their description.

(Video) NDVI MODIS | Download and Calculate NDVI MODIS MOD13Q1

Band number

Description

UNITS

MULTIPLY BY SCALE FACTOR

1

500m Surface Reflectance Band 1
(620-670 nm)

Reflectance

0.0001

2

500m Surface Reflectance Band 2
(841-876 nm)

Reflectance

0.0001

3

500m Surface Reflectance Band 3
(459-479 nm)

Reflectance

0.0001

4

500m Surface Reflectance Band 4
(545-565 nm)

Reflectance

0.0001

5

500m Surface Reflectance Band 5
(1230-1250 nm)

Reflectance

0.0001

6

500m Surface Reflectance Band 6
(1628-1652 nm)

Reflectance

0.0001

7

500m Surface Reflectance Band 7
(2105-2155 nm)

Reflectance

0.0001

8

500m Reflectance Band Quality

Bit Field

na

9

Solar Zenith Angle

Degree

0.01

10

View Zenith Angle

Degree

0.01

11

Relative Azimuth Angle

Degree

0.01

12

500m State Flags

Bit field

na

13

Day of Year

Julian day

na

Only bands 1 and 2 (representing the red andnear-infrared parts of the spectrum) are present in this map project for eachmonth of the year 2008. The bands are grouped by month.

In this exercise you will use bands 1 and 2 to compute theNDVI values for each pixel in the MODIS rasters.

To calculate the NDVI value,you will need to activate the Spatial Analyst extension.

From theCustomizepull-down menuselectExtensions.

Turn on theSpatial Analystextensionby checking the box next to the extension.

NDVI from MODIS data (6)

ClickCloseto close the Extensionswindow.

If not already opened, open the Toolbox by clickingon theToolboxbuttonNDVI from MODIS data (7).

In ArcToolbox, expand SpatialAnalyst Tools >> Map Algebra.

NDVI from MODIS data (8)

Double-click on the RasterCalculator tool.

In the RasterCalculator window, click on the open parenthesis symbolNDVI from MODIS data (9).

This action will add theparenthesis symbol to the expression window.

NDVI from MODIS data (10)

Next, double-clickon NDVI from MODIS data (11).

This will add Band 2from the Jan 09 data set to the expression window.

NDVI from MODIS data (12)

Next, Click(single click) on the minus operator NDVI from MODIS data (13)to add it to the expression window.

NDVI from MODIS data (14)

Next, double-clickon NDVI from MODIS data (15).

NDVI from MODIS data (16)

(Video) Exploring MODIS time-series NDVI with Google Earth Engine

Next, click onthe close parenthesis symbol NDVI from MODIS data (17).

NDVI from MODIS data (18)

At this point, you havedefined the numerator NDVI from MODIS data (19)for the NDVIformula.

On your own, completethe expression by adding the denominator NDVI from MODIS data (20)component of the NDVI formula (don’t forget to add the ‘divide by’operator).

When done, your expressionbox should look like this:

NDVI from MODIS data (21)

There is yet one moreaddition to the expression that will be needed to compute the NDVI: the Floatfunction. All MODIS layers are of integer type. This means that the output of analgebraic expression will also be an integer even if a fraction is present inthe expression. For example, the fraction 245/340 will result in an outputvalue of 0 (value is rounded down). If a float output is desired, adding theFloat function to the numerator or denominator will be required such as Float(245)/340.

In the expression box,add the Float function in front of the first parenthesis by typing ‘Float’.

NDVI from MODIS data (22)

The expression now looks likethis:

Float("Jan 092008\MYD_SS.MYD09A1.A2008009 - Band_2" - "Jan 092008\MYD_SS.MYD09A1.A2008009 - Band_1") /
("Jan 09 2008\MYD_SS.MYD09A1.A2008009 - Band_2" + "Jan 092008\MYD_SS.MYD09A1.A2008009 - Band_1")

Finally, set theoutput path and raster name to …\NDVI\Jan_NDVI.img (you mightwant to click on the folder icon to set the directory path and define thefilename—don’t forget to add the .img extension).

NDVI from MODIS data (23)

Click OK to runthe geoprocess.

When the geoprocess iscomplete, a new raster layer will be added to the TOC.

NDVI from MODIS data (24)

The output image representsNDVI values for each pixel. The greater the value (i.e. the closer the value isto 1), the ‘greener’ the biomass within the pixel.

NDVI from MODIS data (25)

So far, you have onlycomputed an NDVI raster for the month of January.

On your own, repeat theprocedure outlined in step 2 to create NDVI rasters for the remaining 11months. Name the output rasters Feb.NDVI.img, Mar_NDVI.img, etc…

When complete, you should see12 NDVI rasters in your TOC.

(Video) Download MODIS NDVI MOD13Q1 and Calculate NDVI

NDVI from MODIS data (26)

You are interested in findingthe average NDVI value surrounding an instrumented tower in the Howland forest.The area encompassing the tower is represented by the data layer AOI .

One way to average the NDVIvalues within an area of interest is to use theIdentifytoolto read each pixel's NDVI value then compute the average. This may be a timeconsuming process, especially if you need to perform this task for all 12 NDVIdata layers.Fortunately,ArcGIS provides us with a tool that computes an average value for all pixelsfalling within an area of interest.

In the ArcToolbox menutree, navigate toSpatialAnalyst Tools >> Zonaland selectZonal Statistics as Table.

NDVI from MODIS data (27)

In the ZonalStatistics as Table window selectAOIas the 'Input raster or feature zone data' value,Idas thezone field,Jan_NDVIas theinput value raster and …\NDVI\Jan.dbfasthe output table (don’t forget to add the .dbf extension).

Set the Statisticstype to MEAN.

NDVI from MODIS data (28)

Click OK to runthe geoprocess.

The newly created Jantable will be added to your TOC.

NDVI from MODIS data (29)

Right-click on Jan andselect Open.

NDVI from MODIS data (30)

This brings up the attributetable.

NDVI from MODIS data (31)

The mean NDVI value for themonth of January within the AOI extent is 0.53.

Compute the ZonalStatistics for the remaining 11 months. Name the outputs Feb.dbf, Mar.dbf,etc…

When complete, you should see12 NDVI tables in your TOC.

NDVI from MODIS data (32)

Next, you will combine thetables into a single table.

From the Geoprocessingpull-down menu, select Merge.

(Video) How to Download MODIS normalize difference vegetation index (NDVI) data from USGS?

NDVI from MODIS data (33)

In the Mergewindow, add all twelve tables. Make sure that the tables appear inchronological order!

Save the output table inthe NDVI folder and name it all_NDVI.dbf (don’t forget to specify the.dbf extension)

NDVI from MODIS data (34)

Click OK to runthe geoprocess.

The new all_NDVI tablewill be added to the TOC.

In the last and final step,you will graph the results.

From the Viewpull-down menu, go to Graphs and select Create Graph.

NDVI from MODIS data (35)

In the Create GraphWizard window, select Vertical Line as graph type.

Select all_NDVIas the table.

Select MEAN forthe Y field.

NDVI from MODIS data (36)

Click Next.

Click Finish.

The output orderfollows the month order in the all_NDVI table (which explains why their orderin the Merge function was critical).

NDVI from MODIS data (37)

Note the peak NDVI values inSummer--as expected. You will also note that the NDVI values for the wintermonths are not low. This is because most trees in the AOI are evergreens(hence, they remain green year round).

Save your Map document.

Close your map document

This concludes this session.

(Video) How to download multiple MODIS NDVI images for time series

NDVI from MODIS data (38)Manuel Gimond, last modified on 3/2/2012

Videos

1. Calculate NDVI MODIS MOD09A1| ِCalculer NDVI MODIS MOD09A1
(Learn geomatics - EA)
2. Vegetation Assessment Using MODIS data | NDVI in Google Earth Engine
(Geospatial Lab (GeoL))
3. Google Earth Engine -Time Series NDVI Extraction from MODIS and Sentinel-2 Data
(OpenGeo Lab)
4. EVI: Enhanced Vegetation Index from MODIS Data
(miXcel)
5. Earth Engine 19: Importing MODIS data & Analyzing Seasonal NDVI Variation Using Year Chart
(Terra Spatial)
6. MODIS- Download MODIS (Vegetation Index NDVI) satellite data for the state of Telangana and AP
(Bhaskar Reddy Pulsani)
Top Articles
Latest Posts
Article information

Author: Virgilio Hermann JD

Last Updated: 15/09/2023

Views: 6387

Rating: 4 / 5 (61 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Virgilio Hermann JD

Birthday: 1997-12-21

Address: 6946 Schoen Cove, Sipesshire, MO 55944

Phone: +3763365785260

Job: Accounting Engineer

Hobby: Web surfing, Rafting, Dowsing, Stand-up comedy, Ghost hunting, Swimming, Amateur radio

Introduction: My name is Virgilio Hermann JD, I am a fine, gifted, beautiful, encouraging, kind, talented, zealous person who loves writing and wants to share my knowledge and understanding with you.