Location#

Methods for information about locations.

location.lookup_altitude(latitude, longitude)

Look up location altitude from low-resolution altitude map supplied with pvlib.

Classes#

location.Location(latitude, longitude[, tz, ...])

Location objects are convenient containers for latitude, longitude, time zone, and altitude data associated with a particular geographic location.

A Location object may be created from the metadata returned by these file types:

location.Location.from_tmy(tmy_metadata[, ...])

Create an object based on a metadata dictionary from tmy2 or tmy3 data readers.

location.Location.from_epw(metadata[, data])

Create a Location object based on a metadata dictionary from epw data readers.

Methods for calculating time series of certain variables for a given location are available through this class.