[ncl-talk] fatal:syntax error

Barry Lynn barry.h.lynn at gmail.com
Thu May 4 21:09:55 MDT 2017


Hi:

Assuming you copied the variable name correctly, perhaps the decimal point
is causing the problem.  I am not sure how to work around this, but you
might try add (:,:) at the end of your read so that NCL might possibly know
that the variable name continues.

Barry

On Fri, May 5, 2017 at 5:30 AM, Debasish Hazra <debasish.hazra5 at gmail.com>
wrote:

> Hi,
>
> I am trying to read bunch of variable in a netcdf file, which shows the
> following if I do ncl_filedump :
>
> float series_cnt_RMSE_fcstgt0.05_and_obsgt0.05 ( lat, lon )
>          _FillValue :   -9999
>          name : RMSE
>          long_name :    Root mean squared error
>
> But, when I am trying to read as :
>
>  rmse1 =  a1->series_cnt_RMSE_fcstgt0.05_and_obsgt0.05
>
> fatal:syntax error: line 24 in file series_plot.ncl before or near .05
>         rmse1 =  a1->series_cnt_RMSE_fcstgt0.05
> ---------------------------------------------------------------^
>
> Any help on this.Thanks
>
> Debasish
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>


-- 
Barry H. Lynn, Ph.D
Senior Lecturer,
The Institute of the Earth Science,
The Hebrew University of Jerusalem,
Givat Ram, Jerusalem 91904, Israel
Tel: 972 547 231 170
Fax: (972)-25662581

C.E.O, Weather It Is, LTD
Weather and Climate Focus
http://weather-it-is.com
Jerusalem, Israel
Local: 02 930 9525
Cell: 054 7 231 170
Int-IS: x972 2 930 9525
US 914 432 3108
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170505/c4963e1c/attachment.html 


More information about the ncl-talk mailing list