wradlib.comp.CompMethods.sweep_to_raster#
- CompMethods.sweep_to_raster(raster, **kwargs)[source]#
Transform a radar sweep into a raster image.
- Parameters:
sweep (
xarray.Dataset|xarray.DataArray) – radar sweep dataset/dataarray following WMO conventionsraster (
xarray.Dataset) – raster image dataset following CF conventions
- Keyword Arguments:
transform (
wradlib.ipol) – a transformation object (if None, transform_binned will be called)**kwargs (
dict) – keyword arguments of Interpolator (see class documentation)
- Returns:
out (
xarray.Dataset|xarray.DataArray) – raster image with transformed sweep values
Examples
See Sweep to Raster and Recipe #1: Clutter and attenuation correction plus composition for two DWD radars.