pyart.core.geographic_to_cartesian(lon, lat, projparams)[source]#

Geographic to Cartesian coordinate transform.

Transform a set of Geographic coordinate (lat, lon) to a Cartesian/Cartographic coordinate (x, y) using pyproj or a build in Azimuthal equidistant projection.

  • lon, lat (array-like) – Geographic coordinates in degrees.

  • projparams (dict or str) – Projection parameters passed to pyproj.Proj. If this parameter is a dictionary with a ‘proj’ key equal to ‘pyart_aeqd’ then a azimuthal equidistant projection will be used that is native to Py-ART and does not require pyproj to be installed. In this case a non-default value of R can be specified by setting the ‘R’ key to the desired value.


x, y (array-like) – Cartesian coordinates in meters unless projparams defines a value for R in different units.