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

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

  • lon (float, numpy.ndarray of floats) – longitude
  • lat (float, numpy.ndarray of floats) – latitude
  • trig (boolean) – 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.