<div dir="ltr"><div><div><div><div><div><div>Just append the .grb (or .grib2 or grb2) file extension on the command line<br><br></div>%&gt; ncl_filedump aod.2014073103.grb     | less<br><br>===<br></div>NOTE: you do *not* have the change the filename explicitly.<br>
<br></div>NCL will look for the file &#39;aod.2014073103.grb&#39; and when/if it does<br></div>not find a file with that name, it will look for the file &#39;aod.2014073103.<br></div>and &#39;remember&#39; to treat is as a grib file.<br>
<br></div>Cheers<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Aug 29, 2014 at 8:44 AM, Partha Bhattacharjee <span dir="ltr">&lt;<a href="mailto:pbhatta2@jhu.edu" target="_blank">pbhatta2@jhu.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div>
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Dear NCL,<br>
</p>
<p><br>
</p>
<p>  I am trying to convert grib2 data to NC using NCL (6.2.0) and somehow it is not able to recognize the file format. But, when I did wgrib of that file it shows the following : <br>
</p>
<p><br>
</p>
<div>wgrib2 aod.<a href="tel:2014073103" value="+12014073103" target="_blank">2014073103</a><br>
</div>
<div>1:0:d=<a href="tel:2014073100" value="+12014073100" target="_blank">2014073100</a>:AOTK:entire atmosphere:3 hour fcst:chemical=Total Aerosol:aerosol_size &lt;2e-05:aerosol_wavelength 5.45e-07-5.65e-07<br>
</div>
<div><br>
</div>
<div>But NCL could not convert the data into netcdf  :<br>
</div>
<div><br>
</div>
<div>ncl_convert2nc aod.<span style="font-family:calibri,arial,helvetica,sans-serif;font-size:16px;background-color:#ffffff"><a href="tel:2014073103" value="+12014073103" target="_blank">2014073103</a></span>​<br>
</div>
<div>ncl_convert2nc: filetype &#39;<span style="font-family:calibri,arial,helvetica,sans-serif;font-size:16px;background-color:#ffffff"><a href="tel:2014073103" value="+12014073103" target="_blank">2014073103</a></span>&#39; not supported.<br>

</div>
<div><br>
</div>
<div> Any help. I have attached one of the data files and ncl program along with this email. <br>
</div>
<div><br>
</div>
<div><br>
</div>
<div> Thanks.<span class="HOEnZb"><font color="#888888"><br>
</font></span></div><span class="HOEnZb"><font color="#888888">
<div> Partha<br>
</div>
<div><br>
</div>
<div> <br>
</div>
<p><br>
</p>
</font></span></div>
</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>