Opened 6 years ago

Closed 5 years ago

#3385 closed task (fixed)

Typo in the man page

Reported by: micha Owned by: grass-dev@…
Priority: normal Milestone: 7.2.3
Component: Docs Version: 7.2.0
Keywords: Vegetation Index Cc:
CPU: Unspecified Platform: All


I think there's a small error in the equation for MSAVI2 in the man page for Here's what appears: MSAVI2 = (1/2)*(2(NIR+1)-sqrt((2*NIR+1)2-8(NIR-red)))

Should be (incorrect parentheses):

MSAVI2 = (1/2)*(2*NIR+1-sqrt((2*NIR+1)2-8(NIR-red)))

Can anyone verify?

Change History (7)

comment:1 by micha, 6 years ago

I see that the source for MSAVI2 in is consistant with the docs. The equation in the source is:


whereas in:

Qi, J., Chehbouni, A., Huete, A.R., Kerr, Y.H., Sorooshian, S., 1994. A Modified Soil Adjusted Vegetation Index. REMOTE SENS. ENVIRO 48, 119–126.

The MSAVI2 equation is slightly different. There it's 0.5*(2*nir + 1 - sqrt(...))


comment:2 by ychemin, 6 years ago

it might be a typo indeed. can you correct the source code and submit a revision?

comment:3 by neteler, 6 years ago


Ticket retargeted after milestone closed

comment:4 by neteler, 5 years ago


comment:5 by veroandreo, 5 years ago

In 72549: corrected MSAVI2 equation according to, see #3385

comment:6 by veroandreo, 5 years ago

In 72552: corrected MSAVI2 equation according to, see #3385 (trunk, r72549)

comment:7 by veroandreo, 5 years ago

Resolution: fixed
Status: newclosed

In 72554: corrected MSAVI2 equation according to, fix #3385 (trunk, r72549)

Note: See TracTickets for help on using tickets.