wradlib.georef.projection.GeorefProjectionMethods.reproject#
- GeorefProjectionMethods.reproject(**kwargs)[source]#
Transform coordinates from current projection to a target projection.
- Parameters
obj (
xarray.DataArray
|xarray.Dataset
)- Keyword Arguments
trg_crs (
osgeo.osr.SpatialReference
) –coords (
dict
) – Mapping of coordinates.area_of_interest (
tuple
) – tuple of floats (WestLongitudeDeg, SouthLatitudeDeg, EastLongitudeDeg, NorthLatitudeDeg)
- Returns
obj (
xarray.DataArray
|xarray.Dataset
) – reprojected Dataset/DataArray
Examples