bifacial_radiance.MetObj#
- class bifacial_radiance.MetObj(tmydata, metadata, label='right')[source]#
Meteorological data from EPW file.
Initialize the MetObj from tmy data already read in.
- Parameters:
tmydata (DataFrame) – TMY3 output from
readTMYor fromreadEPW.metadata (Dictionary) – Metadata output from output from
readTMY`or fromreadEPW.label (str) – label : str ‘left’, ‘right’, or ‘center’. For data that is averaged, defines if the timestamp refers to the left edge, the right edge, or the center of the averaging interval, for purposes of calculating sunposition. For example, TMY3 data is right-labeled, so 11 AM data represents data from 10 to 11, and sun position should be calculated at 10:30 AM. Currently SAM and PVSyst use left-labeled interval data and NSRDB uses centered.
initialized (Once) –
-latitude, longitude, elevation, timezone, city [scalar values]
-datetime, ghi, dhi, dni, albedo, dewpoint, pressure, temp_air, wind_speed, meastracker_angle [numpy.array]
-solpos [pandas dataframe of solar position]
MetObj (the following parameters are available in the) –
-latitude, longitude, elevation, timezone, city [scalar values]
-datetime, ghi, dhi, dni, albedo, dewpoint, pressure, temp_air, wind_speed, meastracker_angle [numpy.array]
-solpos [pandas dataframe of solar position]
Methods
__init__(tmydata, metadata[, label])Attributes
columnsmetadatamethodstmydata