[ncl-talk] fatal:syntax error

Debasish Hazra debasish.hazra5 at gmail.com
Fri May 5 07:19:32 MDT 2017


Thanks Barry. I put

rmse1 =  a1->series_cnt_RMSE_fcstgt0.05_and_obsgt0.05(:,:)
but still getting the syntax error at the end. I attached screen shot oft
he error I got. Any help

Debasish

On Thu, May 4, 2017 at 11:09 PM, Barry Lynn <barry.h.lynn at gmail.com> wrote:

> 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 <(914)%20432-3108>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170505/1565801c/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: error_print.png
Type: image/png
Size: 7892 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170505/1565801c/attachment-0001.png 


More information about the ncl-talk mailing list