- pvlib.iotools.get_srml(station, start, end, filetype='PO', map_variables=True, url='http://solardat.uoregon.edu/download/Archive/')#
Request data from UoO SRML and read it into a Dataframe.
Data is returned for the entire months between and including start and end.
station (str) – Two letter station abbreviation.
start (datetime-like) – First day of the requested period
end (datetime-like) – Last day of the requested period
filetype (string, default: 'PO') – SRML file type to gather. See notes for explanation.
map_variables (bool, default: True) – When true, renames columns of the DataFrame to pvlib variable names where applicable. See variable
url (str, default: ‘http://solardat.uoregon.edu/download/Archive/’) – API endpoint URL
data (pd.DataFrame) – Dataframe with data from SRML.
meta (dict) – Metadata.
File types designate the time interval of a file and if it contains raw or processed data. For instance, RO designates raw, one minute data and PO designates processed one minute data. The availability of file types varies between sites. Below is a table of file types and their time intervals. See  for site information.
SRML data has nighttime data prefilled with 0s through the end of the current month (i.e., values are provided for data in the future).