wradlib.georef.GeorefMethods.georeference#

GeorefMethods.georeference(**kwargs)#

Georeference Dataset/DataArray.

New in version 1.5.

This function adds georeference data to xarray Dataset/DataArray obj.

Parameters

obj (xarray.Dataset or xarray.DataArray)

Keyword Arguments
  • crs (osgeo.osr.SpatialReference, cartopy.crs.CRS or None) – If GDAL OSR SRS, output is in this projection, else AEQD.

  • re (float) – earth’s radius [m]

  • ke (float) – adjustment factor to account for the refractivity gradient that affects radar beam propagation. In principle this is wavelength- dependend. The default of 4/3 is a good approximation for most weather radar wavelengths.

Returns

obj (xarray.Dataset or xarray.DataArray)