wradlib.georef.GeorefMethods#

class wradlib.georef.GeorefMethods(obj)[source]#

Bases: XarrayMethods, GeorefMiscMethods, GeorefPolarMethods, GeorefProjectionMethods, GeorefRectMethods, GeorefSatelliteMethods

wradlib xarray SubAccessor methods for Georef.

bin_altitude(**kwargs)

Calculates the height of a radar bin taking the refractivity of the atmosphere into account.

bin_distance(**kwargs)

Calculates great circle distance from radar site to radar bin over spherical earth, taking the refractivity of the atmosphere into account.

correct_parallax(drt, **kwargs)

Adjust the geolocations of the SR pixels

dist_from_orbit(bw_sr, freq, re)

Returns range distances of SR bins (in meters) as seen from the orbit

georeference(**kwargs)

Georeference Dataset/DataArray.

get_earth_radius(*[, sr])

Get the radius of the Earth (in km) for a given Spheroid model (sr) at a given position.

reproject(**kwargs)

Transform coordinates from current projection to a target projection.

site_distance(**kwargs)

Calculates great circle distance from bin at certain altitude to the radar site over spherical earth, taking the refractivity of the atmosphere into account.

spherical_to_centroids(**kwargs)

Generate 3-D centroids of the radar bins from the sperical coordinates (r, phi, theta).

spherical_to_polyvert(**kwargs)

Generate 3-D polygon vertices directly from spherical coordinates (r, phi, theta).

spherical_to_proj(**kwargs)

Transforms spherical coordinates (r, phi, theta) to projected coordinates centered at site in given projection.

spherical_to_xyz(**kwargs)

Transforms spherical coordinates (r, phi, theta) to cartesian coordinates (x, y, z) centered at site (aeqd).

xyz_to_spherical(**kwargs)

Returns spherical representation (r, theta, phi) of given cartesian coordinates (x, y, z) with respect to the reference altitude (asl) considering earth's geometry (crs).