<div dir="ltr">Just as Dave said. There is nothing wrong with the file, I just tested it using addfile. The syntax error was the problem.<div><br></div><div>Maria</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 21, 2015 at 4:27 PM, Dave Allured - NOAA Affiliate <span dir="ltr"><<a href="mailto:dave.allured@noaa.gov" target="_blank">dave.allured@noaa.gov</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">Ruben,<div><br></div><div>Please use "addfile", not "addfiles", to open a single Netcdf file.</div><span><font color="#888888"><div><br></div><div>--Dave</div></font></span><div><div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 21, 2015 at 4:19 PM, Ruben Santos <span dir="ltr"><<a href="mailto:jorge.ruben.santos@gmail.com" target="_blank">jorge.ruben.santos@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"><div><div>Hello,<br><br></div> I am having problems reading a netcdf file with addfile command, whereas the same file can be read with no inconvenient by using ncview commad.<br><br></div><b>The following ncl code:</b><br><br> ra=addfiles("<b><a href="http://radar.nc" target="_blank">radar.nc</a></b>","r")<br><br>printVarSummary(ra)<br><br>accum=ra->ACCUM_Z_ZDR<br><br><div> <b>Produces the following error message:</b></div><div><br>Variable: ra<br>Type: list <concat | fifo><br>Total items: 1<br><br>fatal:(ra) not reference to a valid file<br>fatal:["Execute.c":8575]:Execute: Error occurred at or near line 124 in file readgsmap.ncl<br><br></div><div> I attach the file <b><a href="http://radar.nc" target="_blank">radar.nc</a> </b>and the ncview_radar.png to show the variable list.<br><br></div><div> Help is really appreciated!!!<br><br></div><div>Thanks <br><span><font color="#888888"><br></font></span></div><span><font color="#888888"><div>Ruben</div></font></span></div></blockquote></div></div></div></div></div>
<br>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">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/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div></div>