pvlib.pvsystem.LocalizedPVSystem.from_tmy

LocalizedPVSystem.from_tmy(tmy_metadata, tmy_data=None, **kwargs)

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).