wradlib.georef.GeorefMethods.reproject#
- GeorefMethods.reproject(**kwargs)#
Transform coordinates from current projection to a target projection.
- Parameters:
obj (
xarray.DataArray|xarray.Dataset)- Keyword Arguments:
trg_crs (
osgeo.osr.SpatialReference)coords (
dict, optional) – Mapping of coordinates. Defaults to Nonearea_of_interest (
tuple) – floats (WestLongitudeDeg, SouthLatitudeDeg, EastLongitudeDeg, NorthLatitudeDeg), defaults to None (no area of interest).
- Returns:
obj (
xarray.DataArray|xarray.Dataset) – reprojected Dataset/DataArray
Examples