Create a new GRIB handle
Gcreate.RdCreates a new GRIBhandle object.
Arguments
- gribformat
Denotes the GRIB edition: either 1 or 2.
- domain
A
geodomainobject defining the grid. Ifdomainis not specified, the grid definition of thye sample is unmodified.- sample
Character string. Denotes the name of a GRIBfile to be used as a template for the new message. TIf undefined, the default is "regular_ll_sfc_gribN" where N is the gribedition.
- geofield
A 'geofield' object: a data matrix with domain attribute.
- precision
Numerical (decimal) precision wanted for the GRIB encoding.
Details
These commands return a GRIBhandle. This message can then be further modified using Gmod.
Genc is in fact just a simple wrapper that calls Gcreate and Gmod.