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

1

H. Moritz. Geodetic Reference System 1980, Journal of Geodesy, vol. 74, no. 1, pp 128–133, 2000.

2

https://pypi.org/project/pyproj/

3

Wavelet Variability Model - Matlab Code: https://github.com/sandialabs/wvm