wradlib.georef.rect.get_radolan_coords#
- wradlib.georef.rect.get_radolan_coords(lon, lat, **kwargs)[source]#
Calculates x,y coordinates of radolan grid from lon, lat
- Parameters:
lon (
floatornumpy.ndarray) – longitudelat (
float,numpy.ndarray) – latitude
- Keyword Arguments:
crs –
Coordinate Reference System (CRS) of the DWD grid with spheroid model. Can be one of:
A
pyproj.crs.CoordinateSysteminstanceA
cartopy.crs.CRSinstanceA
osgeo.osr.SpatialReferenceinstanceA type accepted by
pyproj.crs.CRS.from_user_input(e.g., EPSG code, PROJ string, dictionary, WKT, or any object with a to_wkt() method)string “trig” to use trigonometric formulas for calculation (only for earth model - sphere).
Defaults to None (earth model - sphere).