wradlib.georef.raster.pixel_to_map

wradlib.georef.raster.pixel_to_map(geotransform, coordinates)

Apply a geographical transformation to return map coordinates from pixel coordinates.

Parameters:
  • geotransform (numpy.ndarray) –

    geographical transformation vector:

    • geotransform[0] = East/West location of Upper Left corner
    • geotransform[1] = X pixel size
    • geotransform[2] = X pixel rotation
    • geotransform[3] = North/South location of Upper Left corner
    • geotransform[4] = Y pixel rotation
    • geotransform[5] = Y pixel size
  • coordinates (numpy.ndarray) – 2d array of pixel coordinates
Returns:

coordinates_map (numpy.ndarray) – 3d array with map coordinates x,y