pvlib.forecast.ForecastModel.set_location

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

Sets the location for the query.

Parameters:
  • tz (tzinfo) – Timezone of the query
  • latitude (float) – Latitude of the query
  • longitude (float) – Longitude of the query

Notes

Assigns self.location.