pvlib.iotools.read_srml

pvlib.iotools.read_srml(filename)[source]

Read University of Oregon SRML 1min .tsv file into pandas dataframe. The SRML is described in 1.

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 by one interval to account for the daily endtime of 2400, and to avoid time parsing errors on leap years. The returned data values are labeled by the left endpoint of interval, and 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/