pyart.core.geographic_to_cartesian_aeqd#

pyart.core.geographic_to_cartesian_aeqd(lon, lat, lon_0, lat_0, R=6370997.0)[source]#

Azimuthal equidistant geographic to Cartesian coordinate transform.

Transform a set of geographic coordinates (lat, lon) to Cartesian/Cartographic coordinates (x, y) using a azimuthal equidistant map projection [1].

x=Rkcos(lat)sin(lonlon0)y=Rk[cos(lat0)sin(lat)sin(lat0)cos(lat)cos(lonlon0)]k=c/sin(c)c=arccos(sin(lat0)sin(lat)+cos(lat0)cos(lat)cos(lonlon0))

Where x, y are the Cartesian position from the center of projection; lat, lon the corresponding latitude and longitude; lat_0, lon_0 are the latitude and longitude of the center of the projection; R is the radius of the earth (defaults to ~6371 km).

Parameters:
  • lon, lat (array-like) – Longitude and latitude coordinates in degrees.

  • lon_0, lat_0 (float) – Longitude and latitude, in degrees, of the center of the projection.

  • R (float, optional) – Earth radius in the same units as x and y. The default value is in units of meters.

Returns:

x, y (array) – Cartesian coordinates in the same units as R, typically meters.

References