<div dir="ltr">It usually means that the program cannot identify the file listed.<div><br></div><div>You should check that your path length is correct. Also, sometimes the file needs an &quot;.nc&quot; at the end.</div><div><br></div><div>Barry</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 2, 2017 at 6:46 PM, Izidine Pinto <span dir="ltr">&lt;<a href="mailto:izidinep@gmail.com" target="_blank">izidinep@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Dear NCL users<br><br>I&#39;m trying to read a bunch of netcdf files from a list using the script below. However I get the following error<br><br>fatal:[&quot;FileSupport.c&quot;:4159]:(<wbr>/home/user/Documents/yr/<wbr>tasmax/tasmax_NCC-NorESM1-M_<wbr>historical_19510101-20051231.<wbr>nc) has no file extension, can&#39;t determine type of file to open<br><br>It has worked before. Am I missing something obvious? <br>And I&#39;m using NCAR Command Language Version 6.3.0<br> <br><br><i>;*****************************<wbr>******************************<wbr>************<br>load &quot;$NCARG_ROOT/lib/ncarg/<wbr>nclscripts/csm/gsn_code.ncl&quot;<br>load &quot;$NCARG_ROOT/lib/ncarg/<wbr>nclscripts/csm/gsn_csm.ncl&quot;<br>load &quot;$NCARG_ROOT/lib/ncarg/<wbr>nclscripts/csm/contributed.<wbr>ncl&quot;<br>load &quot;$NCARG_ROOT/lib/ncarg/<wbr>nclscripts/csm/shea_util.ncl&quot;<br><br>begin<br><br>;*****************************<wbr>*******************<br>; read in netCDF file<br>;*****************************<wbr>*******************<br>    files = asciiread(&quot;/home/files_path.<wbr>txt&quot;,-1,&quot;string&quot;) <br>    print(files)<br>    f1 = addfiles(files,&quot;r&quot;)<br><br>end<br></i><br>The files_path.txt contains the path of the files such as <br><i><br>/home/user/Documents/yr/<wbr>tasmax/tasmax_NCC-NorESM1-M_<wbr>historical_19510101-20051231.<wbr>nc <br>/home/user/Documents/yr/<wbr>tasmax/tasmax_CNRM-CERFACS-<wbr>CNRM-CM5_historical_19510101-<wbr><a href="http://20051231.nc">20051231.nc</a></i><br><br></div>Thanks in advance <br><span class="HOEnZb"><font color="#888888"><br clear="all"><div><div><div class="m_-3087751893350672393gmail_signature"><div dir="ltr"><div>Izidine Pinto<br><br><br><br><br></div></div></div></div>
</div></font></span></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><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Barry H. Lynn, Ph.D<div><div>Senior Lecturer,</div><div><div><span style="color:rgb(136,136,136)">The Institute of the Earth Science, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">The Hebrew University of Jerusalem, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Givat Ram, Jerusalem 91904, Israel </span><br style="color:rgb(136,136,136)"></div><span style="color:rgb(136,136,136)">Tel: 972 547 231 170</span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Fax: (972)-25662581</span></div></div><div><span style="color:rgb(136,136,136)"><br></span></div><div>C.E.O, Weather It Is, LTD<br>Weather and Climate Focus<br><a href="http://weather-it-is.com" target="_blank">http://weather-it-is.com</a><br>Jerusalem, Israel<br>Local: 02 930 9525<br>Cell: 054 7 231 170<br>Int-IS: x972 2 930 9525<br>US 914 432 3108<br></div></div></div>
</div>