pvlib.scaling.latlon_to_xy#
- pvlib.scaling.latlon_to_xy(coordinates)[source]#
Convert latitude and longitude in degrees to a coordinate system measured in meters from zero deg latitude, zero deg longitude.
This is a convenience method to support inputs to wvm. Note that the methodology used is only suitable for short distances. For conversions of longer distances, users should consider use of Universal Transverse Mercator (UTM) or other suitable cartographic projection. Consider packages built for cartographic projection such as pyproj (e.g. pyproj.transform()) [2].
- Parameters:
coordinates (numeric) – Array or list of (latitude, longitude) coordinate pairs. Use decimal degrees notation.
- Returns:
xypos (numeric) – Array of coordinate distances as (x,y) pairs representing the easting, northing of the position in meters [m].
References