pvlib.iotools.read_srml

pvlib.iotools.read_srml(filename)[source]

Read University of Oregon SRML[1] 1min .tsv file into pandas dataframe.

Parameters:
filename: str

filepath or url to read for the tsv file.

Returns:
data: Dataframe

A dataframe with datetime index and all of the variables listed in the VARIABLE_MAP dict inside of the map_columns function, along with their associated quality control flags.

Notes

The time index is shifted back one minute to account for 2400 hours, and to avoid time parsing errors on leap years. The returned data values should be understood to occur during the interval from the time of the row until the time of the next row. This is consistent with pandas’ default labeling behavior.

See SRML’s Archival Files page for more information.

References

[1] University of Oregon Solar Radiation Monitoring Laboratory
http://solardat.uoregon.edu/