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

get_solrad

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

1

NOAA SOLRAD Network https://www.esrl.noaa.gov/gmd/grad/solrad/index.html

2

B. B. Hicks et. al., (1996), The NOAA Integrated Surface Irradiance Study (ISIS). A New Surface Radiation Monitoring Program. Bull. Amer. Meteor. Soc., 77, 2857-2864. DOI: 10.1175/1520-0477(1996)077<2857:TNISIS>2.0.CO;2