[ncl-talk] Reading NETCDF files OK with NCVIEW but Not Working in NCL

Ruben Santos jorge.ruben.santos at gmail.com
Tue Jul 21 16:19:09 MDT 2015


Hello,

 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.


*The following ncl code:*

 ra=addfiles("*radar.nc <http://radar.nc>*","r")

printVarSummary(ra)

accum=ra->ACCUM_Z_ZDR

 *Produces the following error message:*


Variable: ra
Type: list <concat | fifo>
Total items: 1

fatal:(ra) not reference to a valid file
fatal:["Execute.c":8575]:Execute: Error occurred at or near line 124 in
file readgsmap.ncl


 I attach the file *radar.nc <http://radar.nc> *and the ncview_radar.png to
show the variable list.

 Help is really appreciated!!!

Thanks

Ruben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150721/ca2bda16/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: radar.nc
Type: application/x-netcdf
Size: 947818 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150721/ca2bda16/attachment-0001.nc 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ncview_radar.png
Type: image/png
Size: 18883 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150721/ca2bda16/attachment-0001.png 


More information about the ncl-talk mailing list