<div dir="ltr">Guido:<div><br></div><div>Thank you.</div><div><br></div><div>Exactly what I was looking for!</div><div><br></div><div>Barry</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 21, 2016 at 2:43 PM, Guido Cioni <span dir="ltr"><<a href="mailto:guidocioni@gmail.com" target="_blank">guidocioni@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 style="word-wrap:break-word">By the way, NCL can read GRIB file directly, which is definitely better than converting it into netcdf. See <a href="https://www.ncl.ucar.edu/Document/Functions/Built-in/addfile.shtml" target="_blank">https://www.ncl.ucar.edu/<wbr>Document/Functions/Built-in/<wbr>addfile.shtml</a><div><div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br class="m_-7603283270170896591Apple-interchange-newline">Guido Cioni</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><a href="http://guidocioni.altervista" target="_blank">http://guidocioni.altervista</a>.<wbr>org</div>
</div>
<br><div><blockquote type="cite"><div><div class="h5"><div>On 21 Nov 2016, at 13:41, Guido Cioni <<a href="mailto:guidocioni@gmail.com" target="_blank">guidocioni@gmail.com</a>> wrote:</div><br class="m_-7603283270170896591Apple-interchange-newline"></div></div><div><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">Hey Barry,</span><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div><div class="h5"><br><div><ol class="m_-7603283270170896591MailOutline"><li>ncl_grib2nc is deprecated, please use ncl_convert2nc instead.</li><li>This is a shell command, you have to call it outside of NCL (in the terminal). I just tried and it worked, although with some warning... </li></ol></div></div></div><div><div><div class="h5"><div>cheers</div><div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br class="m_-7603283270170896591Apple-interchange-newline">Guido Cioni</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><a href="http://guidocioni.altervista/" target="_blank">http://guidocioni.altervista</a>.<wbr>org</div></div><br></div></div><div><blockquote type="cite"><div><div class="h5"><div>On 21 Nov 2016, at 12:38, Barry Lynn <<a href="mailto:barry.h.lynn@gmail.com" target="_blank">barry.h.lynn@gmail.com</a>> wrote:</div><br class="m_-7603283270170896591Apple-interchange-newline"></div></div><div><div dir="ltr"><div><div class="h5">Hi:<div><br></div><div>I assume that I need to convert namanl files to .nc format before using NCL.</div><div><br></div><div>However, the attached program (which should be simple to execute) will not read the attached file.</div><div><br></div><div>Thank you for your help,</div><div><br></div><div>Barry</div><div><br></div></div></div><div><div><div class="h5"><div>[wrf@mn03 NAM]$ ncl ./grib_to_ncl.ncl </div><div> Copyright (C) 1995-2014 - All Rights Reserved</div><div> University Corporation for Atmospheric Research</div><div> NCAR Command Language Version 6.2.1</div><div> The use of this software is governed by a License Agreement.</div><div> See<span class="m_-7603283270170896591Apple-converted-space"> </span><a href="http://www.ncl.ucar.edu/" target="_blank">http://www.ncl.ucar.edu/</a><span class="m_-7603283270170896591Apple-converted-space"> </span><wbr>for more details.</div><div>fatal:syntax error: line 19 in file ./grib_to_ncl.ncl before or near namanl_218_20130208_0000_000 </div><div> ncl_grib2nc namanl_218_20130208_0000_000</div><div>------------------------------<wbr>-----------^</div><div><br></div><div>fatal:error in statement</div><div>fatal:Syntax Error in block, block not executed</div><div>fatal:error at line 21 in file ./grib_to_ncl.ncl</div><div><div class="gmail_chip gmail_drive_chip" style="width:396px;height:18px;max-height:18px;background-color:rgb(245,245,245);padding:5px;color:rgb(34,34,34);font-family:arial;font-style:normal;font-weight:bold;font-size:13px;border:1px solid rgb(221,221,221);line-height:1"><a href="https://drive.google.com/file/d/0B3E3GjUeKpBdQmJMZ01WVGdBRFk/view?usp=drive_web" style="display:inline-block;max-width:366px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none;padding:1px 0px;border:none" target="_blank"><img src="https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png" style="vertical-align:bottom;border:none"> <span dir="ltr" style="color:rgb(17,85,204);text-decoration:none;vertical-align:bottom">namanl_218_20130208_0000_000.<wbr>grb</span></a></div><br></div><div><br></div></div></div><span class="">--<span class="m_-7603283270170896591Apple-converted-space"> </span><br><div class="m_-7603283270170896591gmail_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%203108" value="+19144323108" target="_blank">914 432 3108</a><br></div></div></div></span></div></div><span class=""><span id="m_-7603283270170896591cid:D6E44F21-0845-4AB5-B7EC-85225EEDF3E2@mpimet.mpg.de"><grib_to_ncl.ncl></span>_____________<wbr>______________________________<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" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a></span></div></blockquote></div></div></div></div></blockquote></div><br></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_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 914 432 3108<br></div></div></div>
</div>