Set projection and extent for DWD raster data. Optionally (and
per default) also reprojects to latlon data.
The internal defaults are extracted from the
Kompositformatbeschreibung at https://www.dwd.de/DE/leistungen/radolan/radolan.html,
as provided 2019-04 by Antonia Hengst.
Desired projection. Can be a raster::crs output,
a projection character string (will be passed to crs),
"radolan" or "seasonal" with internal defaults defined per DWD standard,
or NULL to not set proj+extent but still consider latlon.
DEFAULT: "radolan"
extent
Desired extent. Can be an extent object,
a vector with 4 numbers, or "radolan" / "rw" / "seasonal"
with internal defaults.
DEFAULT: "radolan"
latlon
Logical: reproject r to lat-lon crs? DEFAULT: TRUE
Value
Raster object with projection and extent, invisible