NSF Unidata

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GEMPAK #EQC-771253]: dcgrib2 dumps core on GRIB2 GFS 1 deg grids

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.



Robert,

Works for me, as it should since we are decoding all the 0.5 degree grib 2 files
from CONDUIT as well.

Make sure you ftp in binary mode!

ftp> bin 
200 Type set to I
ftp> get  gfs.t12z.pgrbf03.grib2
local: gfs.t12z.pgrbf03.grib2 remote: gfs.t12z.pgrbf03.grib2


> cat gfs.t12z.pgrbf03.grib2 | dcgrib2 -v 1 -d - YYYYMMDDHH_gfs.gem
[12049493] 070412/1419[DC 3]  Starting up. Version 5.10.2
 Opening WMO Originating Center Table wmocenter.tbl...
 Opening WMO GRIB2 Parameter Table g2varswmo2.tbl...
 Opening WMO GRIB2 Vertical Coordinate Table g2vcrdwmo2.tbl...
[12049493] 070412/1419[DCGRIB 0] Opened 2007041212_gfs.gem model:96 grid:255
[12049493] 070412/1419[DECODE_GRIB2 0] HGHT [070412/1200F003] 1000:-1 PRES 360 
181
[12049493] 070412/1419[DECODE_GRIB2 0] HGHT [070412/1200F003] 975:-1 PRES 360 
181
[12049493] 070412/1419[DECODE_GRIB2 0] HGHT [070412/1200F003] 950:-1 PRES 360 
181
[12049493] 070412/1419[DECODE_GRIB2 0] HGHT [070412/1200F003] 925:-1 PRES 360 
181
[12049493] 070412/1419[DECODE_GRIB2 0] HGHT [070412/1200F003] 900:-1 PRES 360 
181

etc.....

Steve Chiswell
Unidata User Support


> 
> I am trying to ftp GRIB2 format GFS 1 deg grib files and decode them from 
> ftpprd, but GEMPAK 5.9.3 and 5.10.2 both core dump when I cat the downloaded 
> file into dcgrib2.  Would it be possible for you to try to duplicate this?  
> The files can be retrieved from:
> 
> ftpprd.ncep.noaa.gov
> 
> /pub/data/nccf/com/gfs/prod/gfs........
> 
> the file is e.g. gfs.t12z.pgrbf03.grib2
> 
> Thanks,
> Robert Mullenax
> CSBF Meteorology
> 
> 


Ticket Details
===================
Ticket ID: EQC-771253
Department: Support GEMPAK
Priority: Normal
Status: Closed