<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 Rick,<div class=""><br class=""></div><div class="">Thanks for the response. Let me figure out how to use the ftp.</div><div class=""><br class=""></div><div class="">Dawit</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Apr 1, 2017, at 5:13 PM, Rick Brownrigg &lt;<a href="mailto:brownrig@ucar.edu" class="">brownrig@ucar.edu</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class=""><div class="">Hi,<br class=""><br class=""></div>It sounds like that one file in particular, <span style="font-variant-ligatures:no-common-ligatures" class="">"<a href="http://pre_199501_mondat.nc/" target="_blank" class="">pre_199501_mondat.nc</a>", is corrupt. I note that it is not the same file as the single file instance that you cited, and I *think* NCL would have ingested all the files from 1901 up to the 199501 before throwing the error. Are you able to open the file with the ncl_filedump command, or any of the NCO/CDO operators?&nbsp; If you want to send it to our ftp site, I'll take a look at it (instructions below).<br class=""><br class=""></span></div><span style="font-variant-ligatures:no-common-ligatures" class="">Rick<br class=""></span><div class=""><span style="font-variant-ligatures:no-common-ligatures" class=""><br class=""></span><br class=""><b class="">You can ftp larger datasets and files to:</b><div class="">

<br class="webkit-block-placeholder"></div><pre class="">ftp <a href="http://ftp.cgd.ucar.edu/" class="">ftp.cgd.ucar.edu</a>
anonymous
&lt;use your email address for the password&gt;
cd incoming
put ...
put ...



quit
</pre><p class="">

<font color="red" class="">Note that for security reasons, you cannot list the
contents of this directory, and neither can we.  We need to know
the <i class="">exact</i> names of the files in order to retrieve them.</font>
</p></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Sat, Apr 1, 2017 at 7:40 AM, Dawit Abebe <span dir="ltr" class="">&lt;<a href="mailto:dawit.kan@gmail.com" target="_blank" class="">dawit.kan@gmail.com</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" 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. &nbsp;</div><div class=""><br class=""></div><div class=""><font color="#0433ff" class="">Command used</font></div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""><span class="m_-6484431340853010663Apple-tab-span" style="white-space:pre-wrap">        </span>diri = "./"&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">ncl 29&gt; files = systemfunc("ls *.nc")&nbsp; &nbsp;</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">ncl 30&gt; f &nbsp; &nbsp; = addfiles(diri+files, "r")</span></div></div><div class=""><br class=""></div><div class=""><font color="#0433ff" class="">Return message for all files</font></div><div class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><br class=""></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">warning:_NclOpenFile: Can not open file &lt;<a href="http://pre_199501_mondat.nc/" target="_blank" class="">pre_199501_mondat.nc</a>&gt;; file format not supported or file is corrupted</span></div><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>:&nbsp;</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">ncl 10&gt; diri = "./"</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">ncl 11&gt; fili = "<a href="http://pre_201412_mondat.nc/" target="_blank" class="">pre_201412_mondat.nc</a>" &nbsp;</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">ncl 12&gt; f&nbsp; &nbsp; = addfile(diri+fili, "r")</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">ncl 13&gt; prc = f-&gt;pre &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">ncl 14&gt; printVarSummary(prc)</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Variable: prc</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Type: double</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Total Size: 288 bytes</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 36 values</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Number of Dimensions: 3</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Dimensions and sizes:<span class="m_-6484431340853010663Apple-tab-span" style="white-space:pre-wrap">        </span>[time | 1] x [lat | 4] x [lon | 9]</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Coordinates:&nbsp;</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; time: [41987..41987]</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lat: [3.75..5.25]</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lon: [36.75..40.75]</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Number Of Attributes: 5</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">&nbsp; correlation_decay_distance :<span class="m_-6484431340853010663Apple-tab-span" style="white-space:pre-wrap">        </span>&nbsp;450</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">&nbsp; long_name :<span class="m_-6484431340853010663Apple-tab-span" style="white-space:pre-wrap">        </span>precipitation</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">&nbsp; units :<span class="m_-6484431340853010663Apple-tab-span" style="white-space:pre-wrap">        </span>mm/month</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">&nbsp; missing_value :<span class="m_-6484431340853010663Apple-tab-span" style="white-space:pre-wrap">        </span>9.96920996839e+36</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">&nbsp; _FillValue :<span class="m_-6484431340853010663Apple-tab-span" style="white-space:pre-wrap">        </span>9.96920996839e+36</span></div><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><span class="HOEnZb"><font color="#888888" class=""><div class=""><font color="#0433ff" class="">Dawit</font></div></font></span></div></div><br class="">______________________________<wbr class="">_________________<br class="">
ncl-talk mailing list<br class="">
<a href="mailto:ncl-talk@ucar.edu" class="">ncl-talk@ucar.edu</a><br class="">
List instructions, subscriber options, unsubscribe:<br class="">
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank" class="">http://mailman.ucar.edu/<wbr class="">mailman/listinfo/ncl-talk</a><br class="">
<br class=""></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></body></html>