[ncl-talk] File not supported

David Brown dbrown at ucar.edu
Wed Nov 4 13:38:32 MST 2015


There are several options for reading GrADS files, including reading
them directly with NCL. Here is a page with examples and advice on how
to do it:

http://www.ncl.ucar.edu/Applications/grads.shtml

 -dave


On Wed, Nov 4, 2015 at 11:51 AM, Debasish Hazra
<debasish.hazra5 at gmail.com> wrote:
> Any help, on how to read that file in NCL ?
>
> Debasish.
>
> On Tue, Nov 3, 2015 at 2:03 PM, Debasish Hazra <debasish.hazra5 at gmail.com>
> wrote:
>>
>> Thanks David. It is a binary file, I could create a GrADS .ctl file, which
>> is attached.
>>
>> On Tue, Nov 3, 2015 at 1:46 PM, David Brown <dbrown at ucar.edu> wrote:
>>>
>>> Hi Debasish,
>>>
>>> This file does not appear to be a grib file. Both wgrib and wgrib2
>>> fail to open it, so it is not just NCL that has a problem with it.
>>>
>>> Here is wgrib and wgrib2  output:
>>>
>>> $ wgrib ngac.t00z.aerf15
>>> found unidentified data
>>> $ wgrib2 ngac.t00z.aerf15
>>> $                                             # no output at all
>>>
>>> There appears to be some ascii data in the file that suggests
>>> atmospheric data. The first few characters hint at some kind of binary
>>> format:
>>>
>>> 0NEMSIO  GFS     bin4
>>>
>>> You will need to find out from the source what sort of file this is
>>> and what needs to be done to make sense of it.
>>>  -dave
>>>
>>>
>>>
>>> On Tue, Nov 3, 2015 at 10:57 AM, Debasish Hazra
>>> <debasish.hazra5 at gmail.com> wrote:
>>> > Hi,
>>> >
>>> > I got the following error message when trying to open a grib file using
>>> > NCL
>>> > (6.3) :
>>> >
>>> >   ncl_filedump ngac.t00z.aerf15.grb
>>> >  Copyright (C) 1995-2014 - All Rights Reserved
>>> >  University Corporation for Atmospheric Research
>>> >  NCAR Command Language Version 6.3.0-09Oct2014_0233
>>> >  The use of this software is governed by a License Agreement.
>>> >  See http://www.ncl.ucar.edu/ for more details.
>>> > fatal:An internal error has occurred. The file format requested does
>>> > not
>>> > appear to be supported, could not open (ngac.t00z.aerf15.grb)
>>> >
>>> > Variable: f
>>> > Type: file
>>> > (0) File Missing Value : -1
>>> >
>>> > I uploaded the file in the ftp site of yours. Any help.
>>> >
>>> >  Many thanks.
>>> >
>>> >  Debasish.
>>> >
>>> >
>>> >
>>> > _______________________________________________
>>> > ncl-talk mailing list
>>> > ncl-talk at ucar.edu
>>> > List instructions, subscriber options, unsubscribe:
>>> > http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>> >
>>
>>
>


More information about the ncl-talk mailing list