<div dir="ltr"><div>To clarify:<br><br></div>The &#39;cdo&#39; are a **separate software product**. The cdo are created by Max Planck Institute for Meteorology. The cdo and, another tool, the netCDF Operators (NCO) are often used for assorted data handling and processing tasks. Neither has any relation to NCL. Questions and usage of these tools should be sent to the appropriate mailing lists.<br><br><a href="https://code.zmaw.de/projects/cdo">https://code.zmaw.de/projects/cdo</a><br><a href="http://nco.sourceforge.net/">http://nco.sourceforge.net/</a><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 2, 2016 at 7:33 AM, Guido Cioni <span dir="ltr">&lt;<a href="mailto:guidocioni@gmail.com" target="_blank">guidocioni@gmail.com</a>&gt;</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">The error is exactly telling what the problem is :) In order to work with grib2 files you have to configure and compile CDO (and any other command line tool) with grib2 libraries (--with-grib-api). However, I don&#39;t understand what the problem is: Dennis already provided you with a converted NETCDF file... <span class="HOEnZb"><font color="#888888"><br><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_8712562112612436517Apple-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></font></span><div><div class="h5">
<br><div><blockquote type="cite"><div>On 02 Nov 2016, at 14:26, Arunima Singh &lt;<a href="mailto:arunima@vassarlabs.com" target="_blank">arunima@vassarlabs.com</a>&gt; wrote:</div><br class="m_8712562112612436517Apple-interchange-newline"><div><div dir="ltr"><div>Hi,</div><div><br></div><div>Getting following error : </div><div><br></div><div>cdo copy: Open failed on &gt;_mars-atls18-<wbr>95e2cf679cd58ee9b4db4dd119a05a<wbr>8d-azDkQn.grib&lt;</div><div>Unsupported file type (library support not compiled in)</div><div>To create a CDO application with GRIB2 support use: ./configure --with-grib_api=&lt;GRIB_API root directory&gt; ...</div><div><br></div><div>Regards.</div><div>Arunima Singh</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 2, 2016 at 1:39 AM, Guido Cioni <span dir="ltr">&lt;<a href="mailto:guidocioni@gmail.com" target="_blank">guidocioni@gmail.com</a>&gt;</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">Or more simply <font face="Menlo">cdo -f nc copy in.grb <a href="http://out.nc/" target="_blank">out.nc</a></font>? :)<span class="m_8712562112612436517HOEnZb"><font color="#888888"><br><div>
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="font-family:Helvetica;font-size:14px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-variant-east-asian:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div><br class="m_8712562112612436517m_501541955045506198Apple-interchange-newline">Guido Cioni</div><div><a href="http://guidocioni.altervista.org/" target="_blank">http://guidocioni.altervista.o<wbr>rg</a> </div><div><br></div></div><br class="m_8712562112612436517m_501541955045506198Apple-interchange-newline" style="font-family:Helvetica;font-size:14px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-variant-east-asian: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_8712562112612436517m_501541955045506198Apple-interchange-newline"></div>
</div></font></span><div><div class="m_8712562112612436517h5">
<br><div><blockquote type="cite"><div>Il giorno 01 nov 2016, alle ore 20:27, Dennis Shea &lt;<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</a>&gt; ha scritto:</div><br class="m_8712562112612436517m_501541955045506198Apple-interchange-newline"><div><div dir="ltr"><div><div><br>The 6.1.2 version 3.5 years old<font size="2"><span style="font-weight:normal">:   </span><span style="font-weight:normal">February 4, 2013</span></font><br><font size="2">===<br></font></div><div><font size="2">NCL 6.3.0 does not read this file.<br>===<br></font></div><div><font size="2">However, the 6.4.0 version does ....<br></font></div><div><br>%&gt; ncl_filedump _mars-atls19-95e2cf679cd58ee9b<wbr>4db4dd119a05a8d-ZU3Mkg.grib <br><br></div>yields<br><br><br>====<br>Variable: f<br>Type: file<br>filename:       _mars-atls19-95e2cf679cd58ee9b<wbr>4db4dd119a05a8d-ZU3Mkg<br>path:   _mars-atls19-95e2cf679cd58ee9b<wbr>4db4dd119a05a8d-ZU3Mkg.grib<br>   file global attributes:<br>   dimensions:<br>      forecast_time0 = 61<br>      lat_0 = 361<br>      lon_0 = 720<br>   variables:<br>      float tp_P11_L1_GLL0_acc ( forecast_time0, lat_0, lon_0 )<br>         center :       European Center for Medium-Range Weather Forecasts<br>         production_status :    TIGGE Operational products<br>         long_name :    total precipitation<br>         units :        kg/m^2<br>         _FillValue :   1e+20<br>         grid_type :    Latitude/longitude<br>         parameter_discipline_and_categ<wbr>ory :    Meteorological products, Moisture<br>         parameter_template_discipline_<wbr>category_number :        ( 11, 0, 1, 52 )<br>         level_type :   Ground or water surface<br>         type_of_statistical_processing :       Accumulation<br>         statistical_process_duration : initial time to forecast time<br>         initial_time : 10/29/2016 (00:00)<br><br>      float lat_0 ( lat_0 )<br>         long_name :    latitude<br>         grid_type :    Latitude/Longitude<br>         units :        degrees_north<br>         Dj :   0.5<br>         Di :   0.5<br>         Lo2 :  359.5<br>         La2 :  -90<br>         Lo1 :   0<br>         La1 :  90<br><br>      float lon_0 ( lon_0 )<br>         long_name :    longitude<br>         grid_type :    Latitude/Longitude<br>         units :        degrees_east<br>         Dj :   0.5<br>         Di :   0.5<br>         Lo2 :  359.5<br>         La2 :  -90<br>         Lo1 :   0<br>         La1 :  90<br><br>      integer forecast_time0 ( forecast_time0 )<br>         long_name :    Forecast offset from initial time<br>         units :        hours<br><br>====<br></div><div>I used  <br>ncl_convert2nc _mars-atls19-95e2cf679cd58ee9b<wbr>4db4dd119a05a8d-ZU3Mkg.grib<br><br></div><div>to create a netCDF<br>=====<br><br></div><div>Maybe you can use it ...<br><br></div><div>ftp <a href="http://ftp.cgd.ucar.edu/" target="_blank">ftp.cgd.ucar.edu</a><br></div><div>anonymous<br></div><div>your_email<br></div><div>cd pub/shea<br></div><div>prompt<br></div><div>ls<br></div><div>get _mars-atls19-95e2cf679cd58ee9b<wbr>4db4dd119a05a8d-ZU3Mkg.nc<br></div><div>quit<br><br></div><div>Good Luck<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 1, 2016 at 1:01 PM, Arunima Singh <span dir="ltr">&lt;<a href="mailto:arunima@vassarlabs.com" target="_blank">arunima@vassarlabs.com</a>&gt;</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>ncl version is 6.1.2.</div><span><div><br></div><div>Thanks and Regards.</div><div>Arunima Singh</div></span></div><div class="m_8712562112612436517m_501541955045506198HOEnZb"><div class="m_8712562112612436517m_501541955045506198h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 2, 2016 at 12:27 AM, Arunima Singh <span dir="ltr">&lt;<a href="mailto:arunima@vassarlabs.com" target="_blank">arunima@vassarlabs.com</a>&gt;</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 am trying to convert .grib file to nc format but i am getting following error - </div><div><br></div><div><div>fatal:NclGRIB2: Invalid Product Definition Template.</div><div>fatal:Could not open (./_mars-atls19-95e2cf679cd58e<wbr>e9b4db4dd119a05a8d-ZU3Mkg.grib<wbr>)</div><div>Segmentation fault (core dumped)</div></div><div><br></div><div>PFA </div><div>grib file , </div><div>screenshot of - error , uname -a ,ncargpath root, ncargpath grib2_codetables.</div><div><br></div><div><br></div><div>Thanks and Regards.​​</div><div>Arunima Singh</div><div><br></div><div><br></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/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"><img style="vertical-align:bottom;border:none" src="https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png"> <span dir="ltr" style="color:rgb(17,85,204);text-decoration:none;vertical-align:bottom">_mars-atls19-95e2cf679cd58ee9<wbr>b4db4dd119a05a8d-Z...</span></a><img style="opacity:0.55;float:right;display:none"></div>​<br></div><div><br></div></div>
</blockquote></div><br></div>
</div></div><br>______________________________<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></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" target="_blank">http://mailman.ucar.edu/mailma<wbr>n/listinfo/ncl-talk</a><br></div></blockquote></div><br></div></div></div></blockquote></div><br></div>
</div></blockquote></div><br></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>