pvlib.forecast.ForecastModel.set_location

ForecastModel.set_location(time, latitude, longitude)[source]

Sets the location for the query.

Parameters:time (datetime or DatetimeIndex) – Time range of the query.