<div dir="ltr"><div><span style="font-size:12.8px">Use a string reference for variable names containing problematic special characters.</span></div><span style="font-size:12.8px"><div><span style="font-size:12.8px"><br></span></div>    varname = &quot;series_cnt_RMSE_fcstgt0.</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">05_and_obsgt0.05&quot;</span><div><span style="font-size:12.8px">    </span><span style="font-size:12.8px">rmse1 =  a1-&gt;$varname$</span><span style="font-size:12.8px"><br></span><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><a href="https://www.ncl.ucar.edu/Document/Manuals/Ref_Manual/NclVariables.shtml#StringRef">https://www.ncl.ucar.edu/Document/Manuals/Ref_Manual/NclVariables.shtml#StringRef</a></span><br></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">--Dave</span></div><div><span style="font-size:12.8px"><br></span><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 5, 2017 at 6:35 AM, Barry Lynn <span dir="ltr">&lt;<a href="mailto:barry.h.lynn@gmail.com" target="_blank">barry.h.lynn@gmail.com</a>&gt;</span> wrote:<br><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">Hi:<div><br></div><div>I stil think it is the decimal point causing the problem, but one the NCL folk (or someone else) will have to clarify how to read a variable like this.</div><div><br></div><div>Are you able to test reading a different variable that does not have decimal points?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 5, 2017 at 4:19 PM, Debasish Hazra <span dir="ltr">&lt;<a href="mailto:debasish.hazra5@gmail.com" target="_blank">debasish.hazra5@gmail.com</a>&gt;</span> wrote:<br><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>Thanks Barry. I put </div><div><br></div><div>rmse1 =  a1-&gt;series_cnt_RMSE_fcstgt0.05<wbr>_and_obsgt0.05(:,:)</div><div>but still getting the syntax error at the end. I attached screen shot oft he error I got. Any help</div><span class="gmail-m_-3046846404380506256HOEnZb"><font color="#888888"><div><br></div><div>Debasish</div></font></span></div><div class="gmail-m_-3046846404380506256HOEnZb"><div class="gmail-m_-3046846404380506256h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 4, 2017 at 11:09 PM, Barry Lynn <span dir="ltr">&lt;<a href="mailto:barry.h.lynn@gmail.com" target="_blank">barry.h.lynn@gmail.com</a>&gt;</span> wrote:<br><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">Hi:<div><br></div><div>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.</div><div><br></div><div>Barry</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="gmail-m_-3046846404380506256m_-5745708552441476895h5">On Fri, May 5, 2017 at 5:30 AM, Debasish Hazra <span dir="ltr">&lt;<a href="mailto:debasish.hazra5@gmail.com" target="_blank">debasish.hazra5@gmail.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left:1px solid rgb(204,204,204)"><div><div class="gmail-m_-3046846404380506256m_-5745708552441476895h5"><div dir="ltr"><div>Hi,</div><div><br></div><div>I am trying to read bunch of variable in a netcdf file, which shows the following if I do ncl_filedump :</div><div><br></div><div>float series_cnt_RMSE_fcstgt0.05_and<wbr>_obsgt0.05 ( lat, lon )<br>         _FillValue :   -9999<br>         name : RMSE<br>         long_name :    Root mean squared error</div><div><br></div><div>But, when I am trying to read as :</div><div><br></div><div> rmse1 =  a1-&gt;series_cnt_RMSE_fcstgt0.05<wbr>_and_obsgt0.05</div><div><br></div><div>fatal:syntax error: line 24 in file series_plot.ncl before or near .05<br>        rmse1 =  a1-&gt;series_cnt_RMSE_fcstgt0.05<br>------------------------------<wbr>------------------------------<wbr>---^</div><div><br></div><div>Any help on this.Thanks</div><span class="gmail-m_-3046846404380506256m_-5745708552441476895m_-6002104452826303577HOEnZb"><font color="#888888"><div><br></div><div>Debasish</div></font></span></div></div></div></blockquote></div></div></blockquote></div></div></div></div></blockquote></div></div></blockquote></div></div></div></div></div>