<div dir="ltr"><div>Dear all,</div><div><br></div><div>I have downloaded <span style="background-color:rgb(241,194,50)"><font size="2"><span style="font-family:arial,sans-serif"><span style="font-weight:normal">the Normalized Difference Vegetation Index</span></span></font> (NDVI), from the Advanced Very High-Resolution Radiometer (AVHRR) s<span style="background-color:rgb(255,255,255)">ensor from the link below: </span><br></span></div><div><span style="background-color:rgb(234,153,153)"><a href="https://www.ncei.noaa.gov/metadata/geoportal/rest/metadata/item/gov.noaa.ncdc:C01558/html">https://www.ncei.noaa.gov/metadata/geoportal/rest/metadata/item/gov.noaa.ncdc:C01558/html</a> <br></span></div><div><span style="background-color:rgb(234,153,153)"><br></span></div><div><span style="background-color:rgb(255,255,255)">As you can see this link provides daily data. And I have downloaded daily data from 1986 to 2021. I put the daily data for each year in a separate folder. <br></span></div><div><span style="background-color:rgb(234,153,153)"><span style="background-color:rgb(255,255,255)">Now I tend to calculate the monthly anomaly of NDVI and do not know how to combine all these files. </span><br></span></div><div><span style="background-color:rgb(234,153,153)"><br></span></div><div><span style="background-color:rgb(234,153,153)"><span style="background-color:rgb(255,255,255)">I used the below commands to call the files:</span><br></span></div><div><span style="background-color:rgb(234,153,153)"><span style="background-color:rgb(255,255,255)">========================================</span><br></span></div><div><span style="background-color:rgb(234,153,153)"><span style="background-color:rgb(182,215,168)">fils = systemfunc("ls [1-2][8-9-0-1]*/*nc")<br>   print(fils)<br><br>   f   = addfiles (fils, "r")<br><br>   x   = short2flt(f[:]->NDVI)<br><br>   printVarSummary(x)</span></span></div><div><span style="background-color:rgb(234,153,153)"><span style="background-color:rgb(255,255,255)">=========================================</span><br></span></div><div><span style="background-color:rgb(255,255,255)">but got the attached error! Please have a look at the attached screenshot.</span></div><div><span style="background-color:rgb(234,153,153)"><span style="background-color:rgb(255,255,255)">How can I combine all those files together, please?</span></span></div><div><span style="background-color:rgb(255,255,255)">I really appreciate any help you can provide.</span></div><div><span style="background-color:rgb(234,153,153)"><span style="background-color:rgb(255,255,255)">Best wishes,</span><br></span></div><div><span style="background-color:rgb(241,194,50)"><br></span></div><div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">S.Rahimi<br><br></div></div></div>