[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GEMPAK #OGN-286449]: Error with NAGRIB/DCGRIB
- Subject: [GEMPAK #OGN-286449]: Error with NAGRIB/DCGRIB
- Date: Tue, 26 Aug 2014 15:49:25 -0600
Thank you for uploading the file. Here is what I learned:
wgrib anom_R112.grb -V
Undefined parameter table (center 0-0 table 255), using NCEP-opn
rec 1:0:date 0000000000 PRES kpds5=1 kpds6=1 kpds7=0 levels=(0,0) grid=255 sfc
anl:
PRES=Pressure [Pa]
timerange 10 P1 0 P2 0 TimeU 2 nx 256 ny 128 GDS grid 0 num_in_ave 0 missing 0
center 0 subcenter 0 process 0 Table 255 scan: WE:SN winds(N/S)
latlon: lat -89.297000 to 89.297000 by 1.406000 nxny 32768
long 0.000000 to 358.594000 by 1.406000, (256 x 128) scan 64 mode 128
bdsgrid 1
min/max data 98276.6 101636 num bits 16 BDS_Ref 98276.6 DecScale 0
BinScale -4
Notice the following definitions:
center 0
subcenter 0
process 0
Table 255
Running dcgrib2 I see the following:
dcgrib2 anom.gem < anom_R112.grb
Changing center table to cntrgrib1.tbl
Changing vertical coord table to vcrdgrib1.tbl
Changing WMO parameter table to wmogrib255.tbl
So the sequence of events that dcgrib2 takes is such:
* looks in cntrgrib1.tbl for a line matching center=0, find none
* looks in vcrdgrib1.tbl for a line matching the vertical coordinate (possibly
found, unimportant)
* looks in wmogrib[table#].tbl for grib variable definition and finds no file
wmogrib255.tbl
What I think you should do if you want to decode these files to GEMPAK is
re-encore your grib1 files.
You need both a process ID (which is to be found in wmogrib[table#].tbl, see
wmogrib128.tbl for a template), and you need a center ID that does not conflict
with the existing center IDs found in
https://github.com/Unidata/gempak/blob/master/gempak/tables/grid/cntrgrib1.tbl
Michael James
Unidata Program Center
Boulder, CO
> Hi Michael,
>
> I get the same error with dcgrib and dcgrib2 (see below). It keeps asking
> for wmogrib255.tbl and grib255.tbl, tables that I've never heard of and are
> not included in the Gempak tables directory.
>
> Nevertheless, I have updated a sample .grb file to the link you provided. It
> is called anom_R112.grb (they are SLP anomalies calculated from ERA-Interim,
> then converted to a lat-lon grid).
>
> Thanks for your help!
>
> Regards,
> Shawn
>
>
> dcgrib2 test.gem < anom_R111.grb
> Changing center table to cntrgrib1.tbl
> Changing vertical coord table to vcrdgrib1.tbl
> Changing WMO parameter table to wmogrib255.tbl
> Changing center parameter table to grib255.tbl
> TI_DAYM: WARNING: Invalid month = 0
> TI_DAYM: WARNING: Invalid month = 0
>
> Dr. Shawn M Milrad
> Assistant Professor, Applied Meteorology
> Applied Aviation Sciences Department
> College of Aviation, Daytona Beach Campus
> Embry-Riddle Aeronautical University
> CoA 358A
> 600 S. Clyde Morris Blvd
> Daytona Beach, FL 32114-3900
> Phone: 386-226-7392
> Email: address@hidden
>
> -----Original Message-----
> From: Unidata GEMPAK Support [mailto:address@hidden]
> Sent: Monday, August 25, 2014 5:44 PM
> To: Milrad, Shawn M.
> Cc: address@hidden
> Subject: [GEMPAK #OGN-286449]: Error with NAGRIB/DCGRIB
>
>
> >
> > I have a bunch of ERA-Interim grib files I'm trying to convert to Gempak
> > format. I first used NCL to convert to a lat/lon grid, then used CDO to
> > convert the lat/lon .nc files back to .grb.
> >
> > When I use either NAGRIB or DCGRIB to try to convert the new .grb files to
> > .gem, I get the following error:
> >
>
> Hi Sean,
>
> I only see text for NAGRIB and not dcgrib2. Likely the problem is caused by
> missing grib tables. What tables are trying to be found by dcgrib2? If
> possible, can you please upload an example grib2 file for me to use, at this
> address:
>
> http://motherlode.ucar.edu/repository/alias/gempakuploads/
>
>
> Michael James
> Unidata Program Center
> Boulder, CO
>
> Ticket Details
> ===================
> Ticket ID: OGN-286449
> Department: Support GEMPAK
> Priority: Normal
> Status: Open
>
>
Ticket Details
===================
Ticket ID: OGN-286449
Department: Support GEMPAK
Priority: Normal
Status: Open