<div dir="ltr"><div>Dear all,</div><div>I would like to use this example "<a href="https://www.ncl.ucar.edu/Applications/Scripts/ndvi_3.ncl">https://www.ncl.ucar.edu/Applications/Scripts/ndvi_3.ncl</a>",  available at: <a href="https://www.ncl.ucar.edu/Applications/ndvi.shtml">https://www.ncl.ucar.edu/Applications/ndvi.shtml</a></div><div>to plot NDVI from Advanced Very High-Resolution Radiometer (AVHRR) sensor. But, I got the following error:</div><div><br></div><div><span style="background-color:rgb(241,194,50)">fatal:error in statement<br>fatal:syntax error: line 55 in file ndvi before or near else <br>  else<br>-----^<br><br>fatal:error in statement<br>fatal:syntax error: line 57 in file ndvi before or near if <br>  end if<br>-------^</span><br></div><div>, "IF" statement is not complete. I do not know what condition has been considered for the "IF" statement. Would you please kindly advise me?<br></div><div>Thanks in advance,</div><div>Best wishes,<br></div><div><br></div><div><br></div><div><br></div><div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">S.Rahimi<br><br></div></div></div>