<div dir="ltr"><div>Any help, on how to read that file in NCL ? <br><br></div>Debasish.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 3, 2015 at 2:03 PM, Debasish Hazra <span dir="ltr"><<a href="mailto:debasish.hazra5@gmail.com" target="_blank">debasish.hazra5@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks David. It is a binary file, I could create a GrADS .ctl file, which is attached. <br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 3, 2015 at 1:46 PM, David Brown <span dir="ltr"><<a href="mailto:dbrown@ucar.edu" target="_blank">dbrown@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Debasish,<br>
<br>
This file does not appear to be a grib file. Both wgrib and wgrib2<br>
fail to open it, so it is not just NCL that has a problem with it.<br>
<br>
Here is wgrib and wgrib2 output:<br>
<br>
$ wgrib ngac.t00z.aerf15<br>
found unidentified data<br>
$ wgrib2 ngac.t00z.aerf15<br>
$ # no output at all<br>
<br>
There appears to be some ascii data in the file that suggests<br>
atmospheric data. The first few characters hint at some kind of binary<br>
format:<br>
<br>
0NEMSIO GFS bin4<br>
<br>
You will need to find out from the source what sort of file this is<br>
and what needs to be done to make sense of it.<br>
-dave<br>
<div><div><br>
<br>
<br>
On Tue, Nov 3, 2015 at 10:57 AM, Debasish Hazra<br>
<<a href="mailto:debasish.hazra5@gmail.com" target="_blank">debasish.hazra5@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> I got the following error message when trying to open a grib file using NCL<br>
> (6.3) :<br>
><br>
> ncl_filedump ngac.t00z.aerf15.grb<br>
> Copyright (C) 1995-2014 - All Rights Reserved<br>
> University Corporation for Atmospheric Research<br>
> NCAR Command Language Version 6.3.0-09Oct2014_0233<br>
> The use of this software is governed by a License Agreement.<br>
> See <a href="http://www.ncl.ucar.edu/" rel="noreferrer" target="_blank">http://www.ncl.ucar.edu/</a> for more details.<br>
> fatal:An internal error has occurred. The file format requested does not<br>
> appear to be supported, could not open (ngac.t00z.aerf15.grb)<br>
><br>
> Variable: f<br>
> Type: file<br>
> (0) File Missing Value : -1<br>
><br>
> I uploaded the file in the ftp site of yours. Any help.<br>
><br>
> Many thanks.<br>
><br>
> Debasish.<br>
><br>
><br>
><br>
</div></div>> _______________________________________________<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/mailman/listinfo/ncl-talk</a><br>
><br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>