I would just like to know how to calculate EVI from Sentinel-2 atmospherically corrected product. I have been trying to calculate using the following formula:
I’m not very familiar with the EVI but the coefficients clearly influence the result. So there should be some empirical table where you can retrieve the constants according to the conditions in your study area.
Just using constants from another example may use the wrong assumtptions for your case. For example, the original index was based on Modis which has different wavelengths and bandwidths.
There is this nice index database. https://www.indexdatabase.de/search/?s=EVI
For EVI it lists the same equation (EVI2-2). Only that they missed a ‘-’ in the equation.
The coefficients are not sensor depended. The same equation is listed for many sensors. Only the appropriate bands are selected.
Just a short Post Scriptum from my side:
I find the EVI formulas presented on the IDB website inconsistent.
First of all, for S2 bands 9, 5 and 1 are suggested for NIR, red and blue bands, respectively. This is at least bizarre selection, especially when Bands 1 and 9 are not a standard sen2cor output and are located outside atmospheric windows. Not to mention that band 5 is not red but red edge band.
A quick comparison with Landsat-specific EVI formulation shows differences in bands selection, which translates on value differences. So i would take the proposed formula with a pinch of salt.
After some consideration I think that the ‘optimal’ EVI formula for S2 is:
EVI = G*(B8A-B04)/(B8A + C1B04 - C2B02 +1)
where: G = 2.5, C1 = 6, C2 = 7.5 and L = 1.
B8A is selected here over B08 due to its better fit to the MODIS band range (using which EVI was developed and tested).
To come back to your first question on the scaling factor: did you divide the BOA numerical counts by the scaling factor 10000, to obtain reflectances scaled between 0 and 1, before computing the EVI ? As there is a “+1” in the denominator you cannot use the numerical counts directly. You probably already did that, but just in case…
, NIR and RED are taken to be band 8 and 4 respectively. Which formula should I have to pay attention to? the general formula or the specific formula.
Because when I calculate using the general formula some of my VIs falls out of range (-1 to 1).
I would stick to 8 and 4. B5 is not in the red spectrum anymore. For NIR you have some freedom. Could be B8 or B9.
Maybe this http://www.met.rdg.ac.uk/~swsgrime/artemis/ch3/ndvi/ndvi.html (pvts.net) gives some insights.
Could be a mistake in the database. You can report this via the Feedback form or via mail.
Values higher 1 can be normal: