- pvlib.iotools.read_bsrn(filename, logical_records=('0100',))#
Read a BSRN station-to-archive file into a DataFrame.
The BSRN (Baseline Surface Radiation Network) is a world wide network of high-quality solar radiation monitoring stations as described in 1. The function is able to parse logical records (LR) 0100, 0300, and 0500. LR0100 contains the basic measurements, which include global, diffuse, and direct irradiance, as well as downwelling long-wave radiation 2. Future updates may include parsing of additional data and metadata.
data (DataFrame) – A DataFrame with the columns as described below. For a more extensive description of the variables, consult 2. An empty DataFrame is returned if the specified logical records were not found.
metadata (dict) – Dictionary containing metadata (primarily from LR0004).
The data DataFrame for LR0100 includes the following fields:
Logical record 0100
Mean global horizontal irradiance [W/m^2]
Mean direct normal irradiance [W/m^2]
Mean diffuse horizontal irradiance [W/m^2]
Mean. downward long-wave radiation [W/m^2]
Air temperature [°C]
Relative humidity [%]
Atmospheric pressure [hPa]
Logical record 0300
Mean ground-reflected irradiance [W/m^2]
Mean long-wave upwelling irradiance [W/m^2]
Mean net radiation (net radiometer) [W/m^2]
Logical record 0500
Mean UV-A global irradiance [W/m^2]
Mean UV-B direct irradiance [W/m^2]
Mean UV-B global irradiance [W/m^2]
Mean UV-B diffuse irradiance [W/m^2]
Mean UV-B reflected irradiance [W/m^2]
† Marked variables have corresponding columns for the standard deviation (_std), minimum (_min), and maximum (_max) calculated from the 60 samples that are average into each 1-minute measurement.
According to 2 “All time labels in the station-to-archive files denote the start of a time interval.” This corresponds to left bin edge labeling.