pvlib.location.Location.from_epw#
- classmethod Location.from_epw(metadata, data=None, **kwargs)[source]#
Create a Location object based on a metadata dictionary from epw data readers.
- Parameters
metadata (dict) – Returned from epw.read_epw
data (DataFrame, optional) – Optionally attach the epw data to this object.
- Returns
Location object (or the child class of Location that you
called this method from).