<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Dear NCL users,<div class=""><br class=""></div><div class="">I’m having a challenge to add multiple files to NCL. I’m intending to work on monthly files ranging from 1901 - 2014. I tried the command below but failed. </div><div class=""><br class=""></div><div class=""><font color="#0433ff" class="">Command used</font></div><div class=""><br class=""></div><div class=""><p class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;">        </span>diri = "./" </span></p><p class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">ncl 29> files = systemfunc("ls *.nc") </span></p><p class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">ncl 30> f = addfiles(diri+files, "r")</span></p></div><div class=""><br class=""></div><div class=""><font color="#0433ff" class="">Return message for all files</font></div><div class=""><p class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><br class=""></p><p class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">warning:_NclOpenFile: Can not open file <pre_199501_mondat.nc>; file format not supported or file is corrupted</span></p><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><font color="#0433ff" class="">The command and return for single file seems working as showed bellow</font>: </div><div class=""><br class=""></div><div class=""><p class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">ncl 10> diri = "./"</span></p><p class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">ncl 11> fili = "pre_201412_mondat.nc" </span></p><p class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">ncl 12> f = addfile(diri+fili, "r")</span></p><p class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">ncl 13> prc = f->pre </span></p><p class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">ncl 14> printVarSummary(prc)</span></p><p class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;"><span class="" style="font-variant-ligatures: no-common-ligatures;"></span><br class=""></p><p class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">Variable: prc</span></p><p class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">Type: double</span></p><p class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">Total Size: 288 bytes</span></p><p class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"> 36 values</span></p><p class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">Number of Dimensions: 3</span></p><p class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">Dimensions and sizes:<span class="Apple-tab-span" style="white-space: pre;">        </span>[time | 1] x [lat | 4] x [lon | 9]</span></p><p class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">Coordinates: </span></p><p class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"> time: [41987..41987]</span></p><p class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"> lat: [3.75..5.25]</span></p><p class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"> lon: [36.75..40.75]</span></p><p class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">Number Of Attributes: 5</span></p><p class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"> correlation_decay_distance :<span class="Apple-tab-span" style="white-space: pre;">        </span> 450</span></p><p class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"> long_name :<span class="Apple-tab-span" style="white-space: pre;">        </span>precipitation</span></p><p class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"> units :<span class="Apple-tab-span" style="white-space: pre;">        </span>mm/month</span></p><p class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"> missing_value :<span class="Apple-tab-span" style="white-space: pre;">        </span>9.96920996839e+36</span></p><p class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"> _FillValue :<span class="Apple-tab-span" style="white-space: pre;">        </span>9.96920996839e+36</span></p><div class=""><br class=""></div></div><div class=""><font color="#0433ff" class="">Where is my problem?</font></div><div class=""><font color="#0433ff" class=""><br class=""></font></div><div class=""><font color="#0433ff" class="">Thanks</font></div><div class=""><font color="#0433ff" class="">Dawit</font></div></div></body></html>