pvlib.iotools.read_psm3

pvlib.iotools.read_psm3(filename)[source]

Read an NSRDB PSM3 weather file (formatted as SAM CSV). The NSRDB is described in [1] and the SAM CSV format is described in [2].

Parameters:filename (str) – Filename of a file containing data to read.
Returns:
  • headers (dict) – metadata from NREL PSM3 about the record, see pvlib.iotools.parse_psm3() for fields
  • data (pandas.DataFrame) – timeseries data from NREL PSM3

References

[1]NREL National Solar Radiation Database (NSRDB)
[2]Standard Time Series Data File Format