pywgrib2_xr.grid_fromgds

pywgrib2_xr.grid_fromgds(gdtnum, gdtmpl)[source]

Factory method to create projection from grid definition section.

Parameters
  • gdtnum (int) – Grid definition template number: table 3.1

  • gdtmpl (array_like) – Grid definition template obtained from wgrib2 -pyinv.

Returns

Projection specific class instance.

Return type

Grid