<div dir="ltr"><div>Thanks Rick and Dave, it solved the problem. <br></div><div><br></div><div>Debasish<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Dec 10, 2020 at 2:24 PM Rick Brownrigg <<a href="mailto:brownrig@ucar.edu">brownrig@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Yea, I can see where that would be a syntax error to NCL. I *think* this might work:<br></div><div><br></div><div>vname = "series_cts_CSI_ge0.3"</div><div>csi_mod  = b1->$vname$</div><div><br></div><div>Hope that helps...</div><div>Rick<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Dec 10, 2020 at 11:48 AM Debasish Hazra via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi,</div><div>I am trying to read a netcdf file generated from other statistical package and getting the following error using NCL : <br></div><div>fatal:syntax error: line 19 in file statread.ncl before or near .3<br>          csi_mod  = b1->series_cts_CSI_ge0.3<br>------------------------------------------------------------------^</div><div>But when I did ncl_filedump I see variable do exist :</div><div><br></div><div>Variable: series_cts_CSI_ge0.3<br>    Type: float<br>    Total Size: 207936 values<br>                831744 bytes<br>    Number of Dimensions: 2<br>    Dimensions and sizes:       [ 361 <lat> x 576 <lon> ]<br>    Coordinates:<br>                lat: [-90..90]<br>                lon: [-180..179.375]<br>        Number of Attributes:        5<br>            _FillValue  :       -9999<br>            name        :       CSI<br>            long_name   :       Critical success index<br>           <br></div><div>Any help on this ? <br></div><div>Thanks</div><div>Debasish<br></div></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div>
</blockquote></div>