<div dir="ltr"><div><div><div>HI,<br><br></div>I believe Barry is correct. If you have the NetCDF operators (nco) installed, its possible to rename a variable in a file:<br><br><a href="http://research.jisao.washington.edu/data_sets/nco/#example7">http://research.jisao.washington.edu/data_sets/nco/#example7</a><br><br></div>HTH...<br></div>Rick<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 5, 2017 at 7: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:0 0 0 .8ex;border-left:1px #ccc solid;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"><<a href="mailto:debasish.hazra5@gmail.com" target="_blank">debasish.hazra5@gmail.com</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>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_3446917348833131827HOEnZb"><font color="#888888"><div><br></div><div>Debasish</div></font></span></div><div><div class="h5"><div class="m_3446917348833131827HOEnZb"><div class="m_3446917348833131827h5"><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:0 0 0 .8ex;border-left:1px #ccc solid;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="m_3446917348833131827m_-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_3446917348833131827m_-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_3446917348833131827m_-5745708552441476895m_-6002104452826303577HOEnZb"><font color="#888888"><div><br></div><div>Debasish</div></font></span></div>
<br></div></div>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailma<wbr>n/listinfo/ncl-talk</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_3446917348833131827m_-5745708552441476895m_-6002104452826303577gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Barry H. Lynn, Ph.D<div><div>Senior Lecturer,</div><div><div><span style="color:rgb(136,136,136)">The Institute of the Earth Science, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">The Hebrew University of Jerusalem, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Givat Ram, Jerusalem 91904, Israel </span><br style="color:rgb(136,136,136)"></div><span style="color:rgb(136,136,136)">Tel: 972 547 231 170</span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Fax: (972)-25662581</span></div></div><div><span style="color:rgb(136,136,136)"><br></span></div><div>C.E.O, Weather It Is, LTD<br>Weather and Climate Focus<br><a href="http://weather-it-is.com" target="_blank">http://weather-it-is.com</a><br>Jerusalem, Israel<br>Local: 02 930 9525<br>Cell: 054 7 231 170<br>Int-IS: x972 2 930 9525<br>US <a href="tel:(914)%20432-3108" value="+19144323108" target="_blank">914 432 3108</a><br></div></div></div>
</div>
</blockquote></div><br></div>
</div></div></div></div></blockquote></div><div><div class="h5"><br><br clear="all"><div><br></div>-- <br><div class="m_3446917348833131827gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Barry H. Lynn, Ph.D<div><div>Senior Lecturer,</div><div><div><span style="color:rgb(136,136,136)">The Institute of the Earth Science, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">The Hebrew University of Jerusalem, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Givat Ram, Jerusalem 91904, Israel </span><br style="color:rgb(136,136,136)"></div><span style="color:rgb(136,136,136)">Tel: 972 547 231 170</span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Fax: (972)-25662581</span></div></div><div><span style="color:rgb(136,136,136)"><br></span></div><div>C.E.O, Weather It Is, LTD<br>Weather and Climate Focus<br><a href="http://weather-it-is.com" target="_blank">http://weather-it-is.com</a><br>Jerusalem, Israel<br>Local: 02 930 9525<br>Cell: 054 7 231 170<br>Int-IS: x972 2 930 9525<br>US <a href="tel:(914)%20432-3108" value="+19144323108" target="_blank">914 432 3108</a><br></div></div></div>
</div></div></div>
<br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>