reprojection

../../_images/REPROJECTION.png

Interpolates gridded data in GRIB format into a lat-lon grid. In the past it was used to visualise data on certain geometries. At present, all these data can be directly visualised, so reprojection() is need not be used.

Note

This function performs the same task as the Reprojection icon in Metview’s user interface. It accepts its parameters as keyword arguments, described below.

reprojection(**kwargs)

Interpolates gridded data in GRIB format into a lat-lon grid.

Parameters
  • source (str, default: "off") –

  • data (Fieldset) –

  • area (list[number], default: [-90, -180, 90, 180]) –

  • resolution (list[number], default: [1, 1]) –

  • projection ({"latlong"}, default: "latlong") –

  • interpolation ({"nearest_neighbour"}, default: "nearest_neighbour") –

Return type

Fieldset