<div dir="ltr"><div>Thanks Dave. I did just that and it is resovled now</div><div><br></div><div>Debasish.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 5, 2017 at 10:06 AM, Dave Allured - NOAA Affiliate <span dir="ltr"><<a href="mailto:dave.allured@noaa.gov" target="_blank">dave.allured@noaa.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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 = "series_cnt_RMSE_fcstgt0.</span><span style="font-size:12.8px">05_<wbr>and_obsgt0.05"</span><div><span style="font-size:12.8px"> </span><span style="font-size:12.8px">rmse1 = a1->$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" target="_blank">https://www.ncl.ucar.edu/<wbr>Document/Manuals/Ref_Manual/<wbr>NclVariables.shtml#StringRef</a></span><span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">--Dave</span></div></font></span><div><div class="h5"><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"><<a href="mailto:barry.h.lynn@gmail.com" target="_blank">barry.h.lynn@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><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"><<a href="mailto:debasish.hazra5@gmail.com" target="_blank">debasish.hazra5@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><div dir="ltr"><div>Thanks Barry. I put </div><div><br></div><div>rmse1 = a1->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="m_-8375287136826020116gmail-m_-3046846404380506256HOEnZb"><font color="#888888"><div><br></div><div>Debasish</div></font></span></div><div class="m_-8375287136826020116gmail-m_-3046846404380506256HOEnZb"><div class="m_-8375287136826020116gmail-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"><<a href="mailto:barry.h.lynn@gmail.com" target="_blank">barry.h.lynn@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><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="m_-8375287136826020116gmail-m_-3046846404380506256m_-5745708552441476895h5">On Fri, May 5, 2017 at 5:30 AM, Debasish Hazra <span dir="ltr"><<a href="mailto:debasish.hazra5@gmail.com" target="_blank">debasish.hazra5@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><div><div class="m_-8375287136826020116gmail-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->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->series_cnt_RMSE_fcstgt0.05<br>------------------------------<wbr>------------------------------<wbr>---^</div><div><br></div><div>Any help on this.Thanks</div><span class="m_-8375287136826020116gmail-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></div></div>
</blockquote></div><br></div>