<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]:(/home/user/Documents/yr/tasmax/tasmax_NCC-NorESM1-M_historical_19510101-20051231.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>;***********************************************************************<br>load &quot;$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl&quot;<br>load &quot;$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl&quot;<br>load &quot;$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl&quot;<br>load &quot;$NCARG_ROOT/lib/ncarg/nclscripts/csm/shea_util.ncl&quot;<br><br>begin<br><br>;************************************************<br>; read in netCDF file<br>;************************************************<br>    files = asciiread(&quot;/home/files_path.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/tasmax/tasmax_NCC-NorESM1-M_historical_19510101-20051231.nc <br>/home/user/Documents/yr/tasmax/tasmax_CNRM-CERFACS-CNRM-CM5_historical_19510101-20051231.nc</i><br><br></div>Thanks in advance <br><br clear="all"><div><div><div class="gmail_signature"><div dir="ltr"><div>Izidine Pinto<br><br><br><br><br></div></div></div></div>
</div></div>