radarx.retrieve.lightning.glm_parallax#
- radarx.retrieve.lightning.glm_parallax(latitude, longitude, *, satellite_longitude, height_from, height_to, satellite_height=35786023.0, satellite_latitude=0.0)[source]#
Move lightning positions along the line of sight of a geostationary satellite to another height.
A geostationary lightning imager (GLM on GOES) sees a flash along one line of sight from the satellite and places it where that line crosses a reference surface
height_fromabove the WGS84 ellipsoid. A flash at the height \(h\) above that surface lies on the same line, nearer the satellite, and is displaced horizontally by about \(\Delta h \tan\zeta\) toward the sub-satellite point, with \(\zeta\) the zenith angle of the satellite at the flash (about 40 to 50 degrees over the central United States, so about 1 km per km of height). This function returns the position vertically below the point where the line of sight crosses the surfaceheight_toabove the ellipsoid.- Parameters:
latitude, longitude (array-like) – Positions as the product gives them (degrees).
satellite_longitude (
float) – Longitude of the satellite sub-point (degrees), e.g. thenominal_satellite_subpoint_lonof a GLM file.height_from (
float) – Height (m above the WGS84 ellipsoid) of the surface the positions refer to. A GLM file does not state it for the “lightning ellipsoid” its events are navigated to; the caller must supply a value (and say that it is an assumption when it is).height_to (
float) – Height (m) to move the positions to (for example a cloud-top height).satellite_height (
float, optional) – Satellite height above the ellipsoid (m); default 35 786 023 m (thenominal_satellite_heightof GOES files).satellite_latitude (
float, optional) – Latitude of the sub-point (degrees), default 0.
- Returns:
latitude, longitude (
numpy.ndarray) – The moved positions (degrees).height_to == height_fromreturns the input and a position under the satellite does not move.
Notes
The crossing is found by bisection on the geodetic height along the line of sight (to about a millimetre); the Earth is the WGS84 ellipsoid and the satellite a point. A higher
height_tothanheight_frommoves a position toward the sub-satellite point, a lower one away from it. Atmospheric refraction is not included.References
The displacement of a ray at a height above the surface it is geolocated at is the parallax that Schwaller and Morris (2011) give for a spaceborne radar, https://doi.org/10.1175/2010JTECHA1403.1 ; this function is the same geometry for a satellite at a finite distance, with no small-angle approximation.