How to calculate NDVI from MODIS MOD09GQ?

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
Posts: 8
Joined: Mon May 30, 2022 12:12 am America/New_York
Answers: 0

How to calculate NDVI from MODIS MOD09GQ?

by 5479584.asdf » Fri Aug 05, 2022 1:41 am America/New_York

I'm a research student who's just getting started in the field of remote sensing and GIS. Therefore I kindly request your valuable support to solve my question.

I downloaded the MODIS band 1 and band 2 files using in tif format.

Then I calculated the NDVI using QGIS. But my NDVI value range is -119 to 141.

Please help me to solve this matter.
raster calculate step.PNG
raster calculate step.PNG (50.57 KiB) Not viewed yet
Capture qgis.PNG
Capture qgis.PNG (239.75 KiB) Not viewed yet


LP DAAC - jwilson
User Services
User Services
Posts: 175
Joined: Mon Sep 30, 2019 12:39 pm America/New_York
Answers: 1
Has thanked: 7 times

Re: How to calculate NDVI from MODIS MOD09GQ?

by LP DAAC - jwilson » Tue Aug 16, 2022 1:21 pm America/New_York

Hi @5479584.asdf
We have forwarded your inquiry to our subject matter expert for further assistance. We have not received a reply back from the PI yet on this question.

LP DAAC - afriesz
Subject Matter Expert
Subject Matter Expert
Posts: 32
Joined: Tue Nov 12, 2019 4:02 pm America/New_York
Answers: 0

Re: How to calculate NDVI from MODIS MOD09GQ?

by LP DAAC - afriesz » Wed Aug 17, 2022 4:04 pm America/New_York


I was able to replicate what you are seeing in QGIS. I don’t see a problem other than you should be quality filtering these data before you calculate the NDVI. The MODIS granule you downloaded will have a “QC_250m_1” layer in it that you should use to quality filter your data. The QA bit flags for the QC_250m_1 layer is provided in Table 8 of the User Guide ( on page 19.

To better visualize the data you are working with, open the properties for your NDVI layer (i.e., ndvi in your screenshot), then select “Symbology”. Next…
- Change “Render type” to “Singleband pseudocolor”
- Change “Min” to “0” and “Max” to “1”
- Select a color ramp (I like BrBG for NDVI)
- Under the table, change “Mode” to “Equal Interval” and increase the “Classes” to “11”
- Finally, click “OK”

Hopefully that will give you a better view of the data.

Post Reply