<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hey Barry,<div class=""><br class=""><div class=""><ol class="MailOutline"><li class="">ncl_grib2nc is deprecated, please use ncl_convert2nc instead.</li><li class="">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 class=""><div class="">cheers</div><div class="">
<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; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class="Apple-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; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://guidocioni.altervista" class="">http://guidocioni.altervista</a>.org</div>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On 21 Nov 2016, at 12:38, Barry Lynn <<a href="mailto:barry.h.lynn@gmail.com" class="">barry.h.lynn@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi:<div class=""><br class=""></div><div class="">I assume that I need to convert namanl files to .nc format before using NCL.</div><div class=""><br class=""></div><div class="">However, the attached program (which should be simple to execute) will not read the attached file.</div><div class=""><br class=""></div><div class="">Thank you for your help,</div><div class=""><br class=""></div><div class="">Barry</div><div class=""><br class=""></div><div class=""><div class="">[wrf@mn03 NAM]$ ncl ./grib_to_ncl.ncl </div><div class=""> Copyright (C) 1995-2014 - All Rights Reserved</div><div class=""> University Corporation for Atmospheric Research</div><div class=""> NCAR Command Language Version 6.2.1</div><div class=""> The use of this software is governed by a License Agreement.</div><div class=""> See <a href="http://www.ncl.ucar.edu/" class="">http://www.ncl.ucar.edu/</a> for more details.</div><div class="">fatal:syntax error: line 19 in file ./grib_to_ncl.ncl before or near namanl_218_20130208_0000_000 </div><div class=""> ncl_grib2nc namanl_218_20130208_0000_000</div><div class="">-----------------------------------------^</div><div class=""><br class=""></div><div class="">fatal:error in statement</div><div class="">fatal:Syntax Error in block, block not executed</div><div class="">fatal:error at line 21 in file ./grib_to_ncl.ncl</div><div class=""><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" target="_blank" style="display:inline-block;max-width:366px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none;padding:1px 0;border:none" class=""><img style="vertical-align: bottom; border: none;" src="https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png" class=""> <span dir="ltr" style="color:rgb(17,85,204);text-decoration:none;vertical-align:bottom" class="">namanl_218_20130208_0000_000.grb</span></a><img src="x-msg://ssl.gstatic.com/ui/v1/icons/common/x_8px.png" style="opacity: 0.55; cursor: pointer; float: right; position: relative; top: -1px; display: none;" class=""></div><br class=""></div><div class=""><br class=""></div>-- <br class=""><div class="gmail_signature"><div dir="ltr" class="">Barry H. Lynn, Ph.D<div class=""><div class="">Senior Lecturer,</div><div class=""><div class=""><span style="color:rgb(136,136,136)" class="">The Institute of the Earth Science, </span><br style="color:rgb(136,136,136)" class=""><span style="color:rgb(136,136,136)" class="">The Hebrew University of Jerusalem, </span><br style="color:rgb(136,136,136)" class=""><span style="color:rgb(136,136,136)" class="">Givat Ram, Jerusalem 91904, Israel </span><br style="color:rgb(136,136,136)" class=""></div><span style="color:rgb(136,136,136)" class="">Tel: 972 547 231 170</span><br style="color:rgb(136,136,136)" class=""><span style="color:rgb(136,136,136)" class="">Fax: (972)-25662581</span></div></div><div class=""><span style="color:rgb(136,136,136)" class=""><br class=""></span></div><div class="">C.E.O, Weather It Is, LTD<br class="">Weather and Climate Focus<br class=""><a href="http://weather-it-is.com/" target="_blank" class="">http://weather-it-is.com</a><br class="">Jerusalem, Israel<br class="">Local: 02 930 9525<br class="">Cell: 054 7 231 170<br class="">Int-IS: x972 2 930 9525<br class="">US 914 432 3108<br class=""></div></div></div>
</div></div>
<span id="cid:D6E44F21-0845-4AB5-B7EC-85225EEDF3E2@mpimet.mpg.de"><grib_to_ncl.ncl></span>_______________________________________________<br class="">ncl-talk mailing list<br class=""><a href="mailto:ncl-talk@ucar.edu" class="">ncl-talk@ucar.edu</a><br class="">List instructions, subscriber options, unsubscribe:<br class="">http://mailman.ucar.edu/mailman/listinfo/ncl-talk<br class=""></div></blockquote></div><br class=""></div></div></body></html>