Skip to contents

returns the grid specifications for a GRIBhandle. Ggrid is the old name and is obsolete. Do not use it!

Usage

Gdomain(gribhandle)
  Ggrid(gribhandle)

Arguments

gribhandle

An object of class "GRIBhandle" (or a file name or a GRIBlist, in which case field must be specified as an integer or a name.)

Value

A geodomain class object describing the grid. The data of the grib handle is not decoded.

Details

takes an object of class "GRIBhandle" as input and returns the domain specification as a geodomain class. Note that only a limited number of projections are supported.

See also

Examples

if (FALSE) {
#Get first 5 records of a file.
h1 <- Ghandle('filename',5)
#decode first record
mydata <- Gdec(h1)
}