<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="">Or more simply <font face="Menlo" class="">cdo -f nc copy in.grb out.nc</font>? :)<br class=""><div class="">
<div style="color: rgb(0, 0, 0); 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; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: 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; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><br class="Apple-interchange-newline">Guido Cioni</div><div class=""><a href="http://guidocioni.altervista.org" class="">http://guidocioni.altervista.org</a> </div><div class=""><br class=""></div></div><br class="Apple-interchange-newline" style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: 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;"><br class="Apple-interchange-newline"></div>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">Il giorno 01 nov 2016, alle ore 20:27, Dennis Shea <<a href="mailto:shea@ucar.edu" class="">shea@ucar.edu</a>> ha scritto:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class=""><div class=""><br class="">The 6.1.2 version 3.5 years old<font size="2" class=""><span style="font-weight:normal" class="">: </span><span style="font-weight:normal" class="">February 4, 2013</span></font><br class=""><font size="2" class="">===<br class=""></font></div><div class=""><font size="2" class="">NCL 6.3.0 does not read this file.<br class="">===<br class=""></font></div><div class=""><font size="2" class="">However, the 6.4.0 version does ....<br class=""></font></div><div class=""><br class="">%> ncl_filedump _mars-atls19-95e2cf679cd58ee9b4db4dd119a05a8d-ZU3Mkg.grib <br class=""><br class=""></div>yields<br class=""><br class=""><br class="">====<br class="">Variable: f<br class="">Type: file<br class="">filename: _mars-atls19-95e2cf679cd58ee9b4db4dd119a05a8d-ZU3Mkg<br class="">path: _mars-atls19-95e2cf679cd58ee9b4db4dd119a05a8d-ZU3Mkg.grib<br class=""> file global attributes:<br class=""> dimensions:<br class=""> forecast_time0 = 61<br class=""> lat_0 = 361<br class=""> lon_0 = 720<br class=""> variables:<br class=""> float tp_P11_L1_GLL0_acc ( forecast_time0, lat_0, lon_0 )<br class=""> center : European Center for Medium-Range Weather Forecasts<br class=""> production_status : TIGGE Operational products<br class=""> long_name : total precipitation<br class=""> units : kg/m^2<br class=""> _FillValue : 1e+20<br class=""> grid_type : Latitude/longitude<br class=""> parameter_discipline_and_category : Meteorological products, Moisture<br class=""> parameter_template_discipline_category_number : ( 11, 0, 1, 52 )<br class=""> level_type : Ground or water surface<br class=""> type_of_statistical_processing : Accumulation<br class=""> statistical_process_duration : initial time to forecast time<br class=""> initial_time : 10/29/2016 (00:00)<br class=""><br class=""> float lat_0 ( lat_0 )<br class=""> long_name : latitude<br class=""> grid_type : Latitude/Longitude<br class=""> units : degrees_north<br class=""> Dj : 0.5<br class=""> Di : 0.5<br class=""> Lo2 : 359.5<br class=""> La2 : -90<br class=""> Lo1 : 0<br class=""> La1 : 90<br class=""><br class=""> float lon_0 ( lon_0 )<br class=""> long_name : longitude<br class=""> grid_type : Latitude/Longitude<br class=""> units : degrees_east<br class=""> Dj : 0.5<br class=""> Di : 0.5<br class=""> Lo2 : 359.5<br class=""> La2 : -90<br class=""> Lo1 : 0<br class=""> La1 : 90<br class=""><br class=""> integer forecast_time0 ( forecast_time0 )<br class=""> long_name : Forecast offset from initial time<br class=""> units : hours<br class=""><br class="">====<br class=""></div><div class="">I used <br class="">ncl_convert2nc _mars-atls19-95e2cf679cd58ee9b4db4dd119a05a8d-ZU3Mkg.grib<br class=""><br class=""></div><div class="">to create a netCDF<br class="">=====<br class=""><br class=""></div><div class="">Maybe you can use it ...<br class=""><br class=""></div><div class="">ftp <a href="http://ftp.cgd.ucar.edu/" class="">ftp.cgd.ucar.edu</a><br class=""></div><div class="">anonymous<br class=""></div><div class="">your_email<br class=""></div><div class="">cd pub/shea<br class=""></div><div class="">prompt<br class=""></div><div class="">ls<br class=""></div><div class="">get _mars-atls19-95e2cf679cd58ee9b4db4dd119a05a8d-ZU3Mkg.nc<br class=""></div><div class="">quit<br class=""><br class=""></div><div class="">Good Luck<br class=""></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Tue, Nov 1, 2016 at 1:01 PM, Arunima Singh <span dir="ltr" class=""><<a href="mailto:arunima@vassarlabs.com" target="_blank" class="">arunima@vassarlabs.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="">Hi,<div class=""><br class=""></div><div class="">ncl version is 6.1.2.</div><span class=""><div class=""><br class=""></div><div class="">Thanks and Regards.</div><div class="">Arunima Singh</div></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br class=""><div class="gmail_quote">On Wed, Nov 2, 2016 at 12:27 AM, Arunima Singh <span dir="ltr" class=""><<a href="mailto:arunima@vassarlabs.com" target="_blank" class="">arunima@vassarlabs.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="">Hi,<div class=""><br class=""></div><div class="">I am trying to convert .grib file to nc format but i am getting following error - </div><div class=""><br class=""></div><div class=""><div class="">fatal:NclGRIB2: Invalid Product Definition Template.</div><div class="">fatal:Could not open (./_mars-atls19-95e2cf679cd58e<wbr class="">e9b4db4dd119a05a8d-ZU3Mkg.<wbr class="">grib)</div><div class="">Segmentation fault (core dumped)</div></div><div class=""><br class=""></div><div class="">PFA </div><div class="">grib file , </div><div class="">screenshot of - error , uname -a ,ncargpath root, ncargpath grib2_codetables.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Thanks and Regards.</div><div class="">Arunima Singh</div><div class=""><br class=""></div><div class=""><br class=""></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/a/vassarlabs.com/file/d/0Bx7xJNSDBbVrN3ZXNWdRRnI1bmc/view?usp=drive_web" style="display:inline-block;max-width:366px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none;padding:1px 0;border:none" target="_blank" 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="">_mars-atls19-95e2cf679cd58ee9<wbr class="">b4db4dd119a05a8d-Z...</span></a><img style="opacity:0.55;float:right;display:none" class=""></div><br class=""></div><div class=""><br class=""></div></div>
</blockquote></div><br class=""></div>
</div></div><br class="">______________________________<wbr class="">_________________<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="">
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank" class="">http://mailman.ucar.edu/<wbr class="">mailman/listinfo/ncl-talk</a><br class="">
<br class=""></blockquote></div><br class=""></div>
_______________________________________________<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=""></body></html>