<div dir="ltr"><div class="gmail_default" style="font-size:small">Dear Shani,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">It would help if you provide more information about how many files you actually have, and what "aerosol" looks like. </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Can you please include the output from your "printVarSummary(aerosol)" call, and also add the following two print statements to your script after the addfiles call, and provide me with the output from that as well:</div><div class="gmail_default" style="font-size:small"> <br></div> print("# of files = " + dimsizes(fils))<br> print(f1[0])<div class="gmail_default" style="font-size:small"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div class="gmail_default" style="font-size:small"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Thanks,</span></div><div class="gmail_default" style="font-size:small"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div class="gmail_default" style="font-size:small"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">--Mary</span></div><div class="gmail_default" style="font-size:small"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div class="gmail_default" style="font-size:small"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div class="gmail_default" style="font-size:small"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 5, 2018 at 2:35 AM, Shani Tiwari <span dir="ltr"><<a href="mailto:pshanitiwari@gmail.com" target="_blank">pshanitiwari@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear NCL users<div> I added multiple files using "systemfunc" and "ListSetType ". But the printVarSummary gave "ncl_join" size <b>exactly double</b> to the number of files present in to the directory. </div><div><div><br></div><div>begin<br></div><div><br></div><div>diri = "/Volumes/TIWARI/Arctic/<wbr>Climatology/ " ; input directory</div><div> fils = systemfunc ("ls "+diri+"*.nc") ; file paths</div><div> f1 = addfiles (fils, "r") </div><div> ListSetType (f1, "join") </div><div> aerosol = f1[:]->MIL3MAE_4_Optical_<wbr>depth_average_Green </div><div> AOD = mask(aerosol,(aerosol.lt.0 .or. aerosol.gt.1),False) </div><div> </div><div> Mean = dim_avg_n_Wrap(AOD, 0) </div><div> ; copy_VarCoords(Normal_AOD(0,:,<wbr>:), Mean) </div><div> Mean!0="lat"</div><div> Mean!1="lon"</div><div> Mean&lat = aerosol&lat ; assign coordinate values and </div><div> Mean&lon = aerosol&lon ; units attributes </div><div> </div><div> printVarSummary (aerosol)</div><div><br></div><div>end</div><div><div class="m_5992191853222446860gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><br></div><div>Kindly suggest me, how to overcome to this? </div><div><br></div><div><br></div><div>Regards</div><div><br></div><div><br></div><div>------------------------------<wbr>------------------------------<br></div><div dir="ltr">Shani Tiwari, Ph.D.</div><div>Graduate School of Environmental Studies, </div><div>Nagoya University, Nagoya, Japan </div><div dir="ltr"><div>Mob: <a href="tel:+91%2094519%2052997" value="+919451952997" target="_blank">+91 9451952997</a><br></div><div>Skype ID: shani.tiwari2</div><div>Research Gate: <a href="https://www.researchgate.net/profile/Shani_Tiwari2" style="color:rgb(17,85,204)" target="_blank">Dr. Shani Tiwari</a> <br></div><div>Google Scholar Web-page: <a href="https://scholar.google.co.jp/citations?user=IjIjMTMAAAAJ&hl=en" style="color:rgb(17,85,204)" target="_blank">Dr. Shani Tiwari</a></div></div></div><div dir="ltr"><div>------------------------------<wbr>------------------------------<wbr>-</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div></div>
<br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>