[ncl-talk] Reading grib2 file

Dennis Shea shea at ucar.edu
Fri Aug 29 09:21:35 MDT 2014


Just append the .grb (or .grib2 or grb2) file extension on the command line

%> ncl_filedump aod.2014073103.grb     | less

===
NOTE: you do *not* have the change the filename explicitly.

NCL will look for the file 'aod.2014073103.grb' and when/if it does
not find a file with that name, it will look for the file 'aod.2014073103.
and 'remember' to treat is as a grib file.

Cheers


On Fri, Aug 29, 2014 at 8:44 AM, Partha Bhattacharjee <pbhatta2 at jhu.edu>
wrote:

>  Dear NCL,
>
>
>    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 :
>
>
>  wgrib2 aod.2014073103
>  1:0:d=2014073100:AOTK:entire atmosphere:3 hour fcst:chemical=Total
> Aerosol:aerosol_size <2e-05:aerosol_wavelength 5.45e-07-5.65e-07
>
>  But NCL could not convert the data into netcdf  :
>
>  ncl_convert2nc aod.2014073103​
>  ncl_convert2nc: filetype '2014073103' not supported.
>
>   Any help. I have attached one of the data files and ncl program along
> with this email.
>
>
>   Thanks.
>   Partha
>
>
>
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20140829/945cff6d/attachment.html 


More information about the ncl-talk mailing list