# Georeferencing¶

 beam_height_n Calculates the height of a radar beam taking the refractivity of the atmosphere into account. arc_distance_n Calculates the great circle distance of a radar beam over a sphere, taking the refractivity of the atmosphere into account. polar2lonlat Transforms polar coordinates (of a PPI) to longitude/latitude coordinates. polar2lonlatalt Transforms polar coordinates to lon/lat/altitude coordinates. polar2lonlatalt_n Transforms polar coordinates (of a PPI) to longitude/latitude coordinates taking elevation angle and refractivity into account. polar2centroids Computes the lat/lon centroids of the radar bins from the polar coordinates. polar2polyvert Generate 2-D polygon vertices directly from polar coordinates. centroid2polyvert Calculates the 2-D Polygon vertices necessary to form a rectangular polygon around the centroid’s coordinates. reproject Transform coordinates from a source projection to a target projection. create_osr Conveniently supports the construction of osr spatial reference objects proj4_to_osr Transform a proj4 string to an osr spatial reference object epsg_to_osr Create osr spatial reference object from EPSG number wkt_to_osr Create osr spatial reference object from WKT string projected_bincoords_from_radarspecs Convenience function to compute projected bin coordinates directly from sweep_centroids Construct sweep centroids native coordinates. read_gdal_values Read values from a gdal object. read_gdal_projection Get a projection (OSR object) from a GDAL dataset. read_gdal_coordinates Get the projected coordinates from a GDAL dataset. pixel_to_map3d Apply a geographical transformation to return 3D map coordinates from pixel coordinates. pixel_to_map Apply a geographical transformation to return map coordinates from pixel coordinates. pixel_coordinates Get pixel coordinates from a regular grid with dimension nx by ny. get_earth_radius Get the radius of the Earth (in km) for a given Spheroid model (sr) at a get_radolan_grid Calculates x/y coordinates of radolan grid of the German Weather Service resample_raster_dataset Resample given dataset according to keyword arguments get_shape_coordinates Function iterates over gdal ogr layer features and packs extracted shape correct_parallax Adjust the geo-locations of the PR pixels sat2pol Returns spherical coordinates of PR bins as seen from the GR location. dist_from_orbit Returns range distances of PR bins (in meters) as seen from the orbit