pvlib.iotools.read_psm3#
- pvlib.iotools.read_psm3(filename, map_variables=True)[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].
Changed in version 0.9.0: 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 had the return values switched.
- Parameters:
- Returns:
data (pandas.DataFrame) – timeseries data from NREL PSM3
metadata (dict) – metadata from NREL PSM3 about the record, see
pvlib.iotools.parse_psm3()
for fields
References