wradlib.georef.rect.get_radolan_coords(lon, lat, trig=None)

Calculates x,y coordinates of radolan grid from lon, lat

  • lon (float or numpy.ndarray) – longitude

  • lat (float, numpy.ndarray) – latitude

  • trig (bool) – if True, uses trigonometric formulas for calculation, otherwise osr transformations if False, uses osr spatial reference system to transform between projections trig is recommended to be False, however, the two ways of computation are expected to be equivalent.