<div dir="ltr"><div><div><br><div><br>Those are warning messages. NCL uses a lookup table to 
find the &#39;long_name&#39; and &#39;units&#39; of the &#39;parameter_number&#39;. The messages
 are saying there were no entries in the lookup table for the 
parameter_number.<br><br></div><div>You should realize that GRIB is a 
bit of a &#39;moving target&#39;. The operational centers can add new parameters
 over time. It is a nuisance to keep up with these but the NCL GRIB 
expert does his best to add new parameters in every release.<br></div><div><br>     float VAR_24_GDS0_SFC ( g0_lat_0, g0_lon_1 )<br>         center :       European Center for Medium-Range Weather Forecasts (RSMC)<br>         long_name :    Unknown Variable Name<br>         units :        unknown<br>         _FillValue :   1e+20<br>         level_indicator :      1<br>         gds_grid_type :        0<br>         parameter_table_version :      228<br>         parameter_number :     24              &lt;================<br>         forecast_time :        3<br>         forecast_time_units :  hours<br>         initial_time : 04/22/2015 (00:00)<br><br></div><div>NOTE: the values are decoded correctly.<br><br>---<br></div>NCL 6.3.0 has added the entries.<br><br>     float DEG0L_GDS0_SFC ( g0_lat_0, g0_lon_1 )<br>         center :       European Center for Medium-Range Weather Forecasts (RSMC)<br>         long_name :    Zero degree level<br>         units :        m<br>         _FillValue :   1e+20<br>         level_indicator :      1<br>         gds_grid_type :        0<br>         parameter_table_version :      228<br>         parameter_number :     24               &lt;============<br>         forecast_time :        3<br>         forecast_time_units :  hours<br>         initial_time : 04/22/2015 (00:00)<br><br>      float 100U_GDS0_SFC ( g0_lat_0, g0_lon_1 )<br>         center :       European Center for Medium-Range Weather Forecasts (RSMC)<br>         long_name :    100 metre U wind component<br>         units :        m s**-1<br>         _FillValue :   1e+20<br>         level_indicator :      1<br>         gds_grid_type :        0<br>         parameter_table_version :      228<br>         parameter_number :     246   &lt;===============<br>         forecast_time :        3<br>         forecast_time_units :  hours<br>         initial_time : 04/22/2015 (00:00)<br><br><br>      float 100V_GDS0_SFC ( g0_lat_0, g0_lon_1 )<br>         center :       European Center for Medium-Range Weather Forecasts (RSMC)<br>         long_name :    100 metre V wind component<br>         units :        m s**-1<br>         _FillValue :   1e+20<br>         level_indicator :      1<br>         gds_grid_type :        0<br>         parameter_table_version :      228<br>         parameter_number :     247          &lt;==================<br>         forecast_time :        3<br>         forecast_time_units :  hours<br>         initial_time : 04/22/2015 (00:00)<br><br>====================<br><br></div>The unusual thing is that NCL v6.2.0, 6.2.1 and  6.3.0 fail to import the desired variable. NCL &#39;seg faults&#39; ... this should not happen. This simple script fails:<br><br>begin<br><br>  vinName = &quot;TP_GDS0_SFC&quot;    ; total precipitation<br>  finName = &quot;ECMWF.I2015042200.003.F2015042203.grib1&quot;<br>  fin     = addfile(finName,&quot;r&quot;)<br></div><div>  print(fin)                                      ; like ncl_filedump<br></div><div><br>  x = fin-&gt;$vinName$           <br>  x = x(::-1,:) <br>  printVarSummary(x)<br><br>                 <br>  voutName = &quot;rain&quot;<br>  foutName = voutName+&quot;.ECMWF.nc&quot;<br><br>  system(&quot;rm -f &quot;+foutName)<br>  ncdf_out=addfile(foutName,&quot;c&quot;)<br>  ncdf_out-&gt;$voutName$ = x<br> <br>end<br><br>=================<br><br></div><div>A JIRA ticket has been opened: <a href="https://vets.development.ucar.edu/jira/browse/NCL-2213" rel="92662" target="_blank">NCL-2213</a><br><br>==================<br></div><div>Sorry ... we will keep you informed<br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 29, 2015 at 8:40 PM, Kyle Griffin <span dir="ltr">&lt;<a href="mailto:ksgriffin2@wisc.edu" target="_blank">ksgriffin2@wisc.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Your version of NCL is quite old. NCL 6.3.0 is the current version, and that includes many updates to the GRIB tables that would possibly take care of the errors you see. It appears you are trying to read a relatively recent ECMWF file, which likely has some variables that were added to the model output at some point in the last two years. The good news is that, unless you are trying to use those more recently defined variables, your file has likely converted successfully.</p>
<p dir="ltr">Please update your NCL version, if you are able, and let the list know if you still have problems after that.<br></p>
<p dir="ltr">Kyle</p>
<div class="gmail_quote"><div><div class="h5">On Apr 29, 2015 7:52 PM, &quot;Crystal&quot; &lt;<a href="mailto:jinjing_qiu@163.com" target="_blank">jinjing_qiu@163.com</a>&gt; wrote:<br type="attribution"></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div><font face="宋体" size="3"><span style="line-height:28px">Dear Professor:</span></font></div><div><font face="宋体" size="3"><span style="line-height:28px">I am writing to you as I have a quetion about GRIB to netCDF. The bug report is described below.</span></font></div><div><font face="宋体" size="3"><span style="line-height:28px">1、The version of NCL:NCL V6.1.2</span></font></div><div><font face="宋体" size="3"><span style="line-height:28px">2、Please find the scripts and data  in the attachment.</span></font></div><div><font face="宋体" size="3"><span style="line-height:28px">3、The error message: </span></font></div><div><font face="宋体" size="3"><span style="line-height:28px">Copyright (C) 1995-2013 - All Rights Reserved</span></font></div><div><font face="宋体" size="3"><span style="line-height:28px"> University Corporation for Atmospheric Research</span></font></div><div><font face="宋体" size="3"><span style="line-height:28px"> NCAR Command Language Version 6.1.2</span></font></div><div><font face="宋体" size="3"><span style="line-height:28px"> The use of this software is governed by a License Agreement.</span></font></div><div><font face="宋体" size="3"><span style="line-height:28px"> See <a href="http://www.ncl.ucar.edu/" target="_blank">http://www.ncl.ucar.edu/</a> for more details.</span></font></div><div><font face="宋体" size="3"><span style="line-height:28px">warning:NclGRIB: Unknown grib parameter number detected (24, center 98, table version 228 grib record 60), using default variable name (VAR_24)</span></font></div><div><font face="宋体" size="3"><span style="line-height:28px">warning:NclGRIB: Unknown grib parameter number detected (246, center 98, table version 228 grib record 72), using default variable name (VAR_246)</span></font></div><div><font face="宋体" size="3"><span style="line-height:28px">warning:NclGRIB: Unknown grib parameter number detected (247, center 98, table version 228 grib record 121), using default variable name (VAR_247)</span></font></div><div><font face="宋体" size="3"><span style="line-height:28px">Segmentation fault (core dumped)</span></font></div><div><font face="宋体" size="3"><span style="line-height:28px">Linux TC5000 2.6.32-220.el6.x86_64 #1 SMP Wed Nov 9 08:03:13 EST 2011 x86_64 x86_64 x86_64 GNU/Linux</span></font></div><div><font face="宋体" size="3"><span style="line-height:28px">4、The type of system:gcc (GCC) 4.4.6 20110731 (Red Hat 4.4.6-3)</span></font></div><div><font face="宋体" size="3"><span style="line-height:28px">Copyright (C) 2010 Free Software Foundation, Inc.</span></font></div><div><font face="宋体" size="3"><span style="line-height:28px">This is free software; see the source for copying conditions.  There is NO</span></font></div><div><font face="宋体" size="3"><span style="line-height:28px">warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</span></font></div><div><font face="宋体" size="3"><span style="line-height:28px"><br></span></font></div><div><font face="宋体" size="3"><span style="line-height:28px">Look forward to your feedbacks soon.Your help is highly appreciated.</span></font></div><div><font face="宋体" size="3"><span style="line-height:28px"><br></span></font></div><div><font face="宋体" size="3"><span style="line-height:28px">Kind Regards,</span></font></div><div><font face="宋体" size="3"><span style="line-height:28px">Crystal</span></font></div></div><div style="clear:both;margin-top:10px;margin-bottom:15px;background:#dee8f2;padding:4px;font-family:verdana,Arial,Helvetica,sans-serif"><div style="font-size:14px;padding:4px 8px 8px 8px;line-height:16px"><b>从网易163邮箱发来的云附件</b></div><div style="background:#fff;padding:4px"><div style="clear:both;min-height:36px;padding:6px 4px"><div style="float:left;width:36px"><a href="http://fs.163.com/fs/display/?p=X-NETEASE-HUGE-ATTACHMENT&amp;file=saBV1PK54hIt0tXQL69IBEev1npeMcu1kjMd2TKNgLZDazAecAdcnpmeCm5l4gGBKb5ojTO-lTYW44t9FEJLQg&amp;title=A%20question%20about%20GRIB%20to%20netCDF" target="_blank"><img src="http://mimg.127.net/xm/all/fj/ico-bfile-1.gif" border="0"></a></div><div><div style="padding:0px;font-size:12px;line-height:14px"><a href="http://fs.163.com/fs/display/?p=X-NETEASE-HUGE-ATTACHMENT&amp;file=saBV1PK54hIt0tXQL69IBEev1npeMcu1kjMd2TKNgLZDazAecAdcnpmeCm5l4gGBKb5ojTO-lTYW44t9FEJLQg&amp;title=A%20question%20about%20GRIB%20to%20netCDF" style="color:#000;text-decoration:none" target="_blank">ECMWF.I2015042200.003.F2015042203.grib1</a><span style="color:#bbb"> (60.4M, 2015年5月13日 16:42 到期)</span></div><div style="padding:4px 0px;font-size:12px;line-height:14px"><a href="http://fs.163.com/fs/display/?p=X-NETEASE-HUGE-ATTACHMENT&amp;file=saBV1PK54hIt0tXQL69IBEev1npeMcu1kjMd2TKNgLZDazAecAdcnpmeCm5l4gGBKb5ojTO-lTYW44t9FEJLQg&amp;title=A%20question%20about%20GRIB%20to%20netCDF" target="_blank">下载</a></div></div></div><div style="clear:both;min-height:36px;padding:6px 4px"><div style="float:left;width:36px"><a href="http://fs.163.com/fs/display/?p=X-NETEASE-HUGE-ATTACHMENT&amp;file=saBV1PK54hIt0tXQL69IBEev1npeMcu1kjMd2TKNgLYjNfiAjqGkIArkRAGm5H52WeM5sP-5RcTTpUe-SCxeMg&amp;title=A%20question%20about%20GRIB%20to%20netCDF" target="_blank"><img src="http://mimg.127.net/xm/all/fj/ico-bfile-1.gif" border="0"></a></div><div><div style="padding:0px;font-size:12px;line-height:14px"><a href="http://fs.163.com/fs/display/?p=X-NETEASE-HUGE-ATTACHMENT&amp;file=saBV1PK54hIt0tXQL69IBEev1npeMcu1kjMd2TKNgLYjNfiAjqGkIArkRAGm5H52WeM5sP-5RcTTpUe-SCxeMg&amp;title=A%20question%20about%20GRIB%20to%20netCDF" style="color:#000;text-decoration:none" target="_blank">GET_ECMWF_APCP.ncl</a><span style="color:#bbb"> (866B, 2015年5月13日 16:44 到期)</span></div><div style="padding:4px 0px;font-size:12px;line-height:14px"><a href="http://fs.163.com/fs/display/?p=X-NETEASE-HUGE-ATTACHMENT&amp;file=saBV1PK54hIt0tXQL69IBEev1npeMcu1kjMd2TKNgLYjNfiAjqGkIArkRAGm5H52WeM5sP-5RcTTpUe-SCxeMg&amp;title=A%20question%20about%20GRIB%20to%20netCDF" target="_blank">下载</a></div></div></div></div></div><br><br><span title="neteasefooter"><span></span></span></div><br><br><span title="neteasefooter"><span></span></span><br></div></div>_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div>
<br>_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>