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

[GEMPAK #ZAK-436944]: nagrib2 not writing to grid file



> Having some trouble getting nagrib2 to write gempak grids.  For the nagrib2 
> input:
> 
> GBFILE   = gfs.t00z.pgrb2.0p50.f006
> GDOUTF   = test.grd
> PROJ     =
> GRDAREA  =
> KXKY     =
> MAXGRD   = 4999
> CPYFIL   = gds
> GAREA    =
> OUTPUT   = T
> G2TBLS   =
> G2DIAG   =
> OVERWR   = NO
> PDSEXT   = NO
> 

...

> 
> 366 GRIB messages were read or scanned from the GRIB file:
> gfs.t00z.pgrb2.0p50.f006
> 
> 0 grids were written to the GEMPAK file:
> test.grd
> 
> It appears nagrib2 can see the grib2 file fine, and accessing the tables
> fine...it's just not able to write out to gempak file.
> 
> Any idea what could cause this problem?



Hi Tom,

My first guess is that permission to write a file does not exist in the 
directory being used.  Can you confirm this is the case or not?  I just ran the 
same procedure on my machine for the 0.5 degree GFS (file  
ftp://ftp.ncep.noaa.gov/pub/data/nccf/com/gfs/prod/gfs.2015101212/gfs.t12z.pgrb2.0p50.f000
 ) and confirmed that it worked:

 GRID FILE: test.grd

 GRID NAVIGATION: 
     PROJECTION:          CED 
     ANGLES:                 0.0     0.0     0.0
     GRID SIZE:          720 361
     LL CORNER:             -90.00      0.00
     UR CORNER:              90.00     -0.50

 GRID ANALYSIS BLOCK: 
     ANALYSIS TYPE:        BARNES
     DELTAN:               4.000
     DELTAX:           -9999.000
     DELTAY:           -9999.000
     GRID AREA:           -90.00 -180.00   90.00  180.00
     EXTEND AREA:         -90.00 -180.00   90.00  180.00
     DATA AREA:           -90.00 -180.00   90.00  180.00

 Number of grids in file:   316

 Maximum number of grids in file:   4999

 First time in file: 151012/1200F000
 Last  time in file: 151012/1200F000



       322 GRIB messages were read or scanned from the GRIB file:
                                                     gfs.t12z.pgrb2.0p50.f000

       316 grids were written to the GEMPAK file:
                                                                     test.grd





Ticket Details
===================
Ticket ID: ZAK-436944
Department: Support GEMPAK
Priority: Critical
Status: Open