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

20031016: nagrib issues



Seth,

You created the gempak grid file testme.gem using the projection #105.
Then you later ran thr program with cpyfil=gds, which should work,
but you may not have deleted the previously created file.

I suggest you run NAGRIB with GDOUTF=list to verify the grid projection and
parameter information out to the screed if you don't have success after 
removing 
the previously created testme.gem file.

If you still are having trouble, set GBDIAG=all and send me the output.

Steve Chiswell




>From: "Seth O McDowell" <address@hidden>
>Organization: UCAR/Unidata
>Keywords: 200310161910.h9GJAZOb028670

>We tried utilizing nagrib to convert NCAR/NCEP reanalysis data, but to no avai
> l. The first attempt produced a reading of the file but failure in outputting
>  the results. The second attempt provided more detail to the nagrib program, 
> but then it wouldn't even read the grid properly. Below are both attempts at 
> using nagrib. Any help would be appreciated and thanks for your time.
>
> GBFILE    GRIB data file name               pgbexample
> INDXFL    GRIB index file name
> GDOUTF    Output grid file                  testme.gem
> PROJ      Map projection/angles/margins|dr  MER
> GRDAREA   Area covered by grid
> KXKY      Number of grid points in x;y      10;10
> MAXGRD    Maximum number of grids           200
> CPYFIL    Grid file whose navigation is to  #105
> GAREA     Graphics area
> OUTPUT    Output device/filename            t
> GBTBLS    Input GRIB decoding tables        ncarncep1.tbl;ncarncep1.tbl;vcrdg
> rib1.tbl
> GBDIAG    GRIB diagnostic elements
> PDSEXT    PDSEXT    Y or N, add PDS extens  NO
> Parameters requested: GBFILE,INDXFL,GDOUTF,PROJ,GRDAREA,KXKY,MAXGRD,CPYFIL,
> GAREA,OUTPUT,GBTBLS,GBDIAG,PDSEXT.
> GEMPAK-NAGRIB>GBFILE=/home/seth/pgbexample
> GEMPAK-NAGRIB>run
> Changing center table to cntrgrib1.tbl
> Changing vertical coord table to vcrdgrib1.tbl
> Changing WMO parameter table to ncarncep1.tbl
> Changing center parameter table to ncarncep1.tbl
> Creating the GEMPAK grid file...
> GEMPAK grid file is ready...
>
>
>       140 GRIB messages were read or scanned from the GRIB file:
>     /home/seth/pgbexample
>
>         0 grids were written to the GEMPAK file:
>     testme.gem
>
>
> GRID FILE: testme.gem
>
> GRID NAVIGATION:
>     PROJECTION:          STR
>     ANGLES:                90.0  -105.0     0.0
>     GRID SIZE:           83  83
>     LL CORNER:              17.53   -129.30
>     UR CORNER:              53.77    -22.37
>
> GRID ANALYSIS BLOCK:
>     ANALYSIS TYPE:        BARNES
>     DELTAN:               1.500
>     DELTAX:           -9999.000
>     DELTAY:           -9999.000
>     GRID AREA:            16.00 -180.00   86.00  180.00
>     EXTEND AREA:          16.00 -180.00   86.00  180.00
>     DATA AREA:            16.00 -180.00   86.00  180.00
>
> Number of grids in file:     0
>
> Maximum number of grids in file:    200
>
> First time in file:                 &#65533;
>(&#65533;(.t  time in file: $(.
>
>----------------------------------------------------------------
>
> GEMPAK-NAGRIB>GBFILE=/home/seth/pgbexample
> GEMPAK-NAGRIB>INDXFL=
> GEMPAK-NAGRIB>GDOUTF=/home/seth/testme.gem
> GEMPAK-NAGRIB>PROJ=mer
> GEMPAK-NAGRIB>GRDAREA=
> GEMPAK-NAGRIB>KXKY=
> GEMPAK-NAGRIB>MAXGRD=200
> GEMPAK-NAGRIB>CPYFIL=gds
> GEMPAK-NAGRIB>GAREA=
> GEMPAK-NAGRIB>OUTPUT=t
> GEMPAK-NAGRIB>GBTBLS=ncarncep1.tbl;ncarncep1.tbl;vcrdgrib1.tbl
> GEMPAK-NAGRIB>GBDIAG=
> GEMPAK-NAGRIB>PDSEXT=N
> GEMPAK-NAGRIB>run
> Changing WMO parameter table to ncarncep1.tbl
> Changing center parameter table to ncarncep1.tbl
> Opening the GEMPAK grid file
> [NAGRIB -11]  Error opening GEMPAK grid file.
>
>
>         0 GRIB messages were read or scanned from the GRIB file:
>     /home/seth/pgbexample
>
>         0 grids were written to the GEMPAK file:
>     /home/seth/testme.gem
>
>
> GRID FILE: /home/seth/testme.gem
>
> GRID NAVIGATION:
>     PROJECTION:          STR
>     ANGLES:                90.0  -105.0     0.0
>     GRID SIZE:           83  83
>     LL CORNER:              17.53   -129.30
>     UR CORNER:              53.77    -22.37
>
> GRID ANALYSIS BLOCK:
>     ANALYSIS TYPE:        BARNES
>     DELTAN:               1.500
>     DELTAX:           -9999.000
>     DELTAY:           -9999.000
>     GRID AREA:            16.00 -180.00   86.00  180.00
>     EXTEND AREA:          16.00 -180.00   86.00  180.00
>     DATA AREA:            16.00 -180.00   86.00  180.00
>
> Number of grids in file:     0
>
> Maximum number of grids in file:    200
>
> First time in file:
> Last  time in file:
>