pvlib.tracking.Location.from_tmy¶
-
classmethod
Location.
from_tmy
(tmy_metadata, tmy_data=None, **kwargs)[source]¶ Create an object based on a metadata dictionary from tmy2 or tmy3 data readers.
Parameters: tmy_metadata : dict
Returned from tmy.readtmy2 or tmy.readtmy3
tmy_data : None or DataFrame
Optionally attach the TMY data to this object.
Returns: Location object (or the child class of Location that you
called this method from).