pvlib.iotools.read_solrad#
- pvlib.iotools.read_solrad(filename)[source]#
- Read NOAA SOLRAD fixed-width file into pandas dataframe. - The SOLRAD network is described in [1] and [2]. - Changed in version 0.10.4: The function now returns a tuple where the first element is a dataframe and the second element is a dictionary containing metadata. Previous versions of this function only returned a dataframe. - Parameters:
- filename (str) – filepath or url to read for the fixed-width file. 
- Returns:
- data (Dataframe) – A dataframe with DatetimeIndex and all of the variables in the file. 
- metadata (dict) – Metadata. 
 
 - See also - Notes - SOLRAD data resolution is described by the README_SOLRAD.txt: “Before 1-jan. 2015 the data were reported as 3-min averages; on and after 1-Jan. 2015, SOLRAD data are reported as 1-min. averages of 1-sec. samples.” Here, missing data is flagged as NaN, rather than -9999.9. - References 
