pvanalytics.quality.irradiance.check_ghi_limits_qcrad(ghi, solar_zenith, dni_extra, limits=None)#

Test for physical limits on GHI using the QCRad criteria.

Test is applied to each GHI value. A GHI value passes if value > lower bound and value < upper bound. Lower bounds are constant for all tests. Upper bounds are calculated as

\[ub = min + mult * dni\_extra * cos( solar\_zenith)^{exp}\]
  • ghi (Series) – Global horizontal irradiance in \(W/m^2\)

  • solar_zenith (Series) – Solar zenith angle in degrees

  • dni_extra (Series) – Extraterrestrial normal irradiance in \(W/m^2\)

  • limits (dict, default QCRAD_LIMITS) – Must have keys ‘ghi_ub’ and ‘ghi_lb’. For ‘ghi_ub’ value is a dict with keys {‘mult’, ‘exp’, ‘min’} and float values. For ‘ghi_lb’ value is a float.


True where value passes limits test.

Return type



Copyright (c) 2019 SolarArbiter. See the file LICENSES/SOLARFORECASTARBITER_LICENSE at the top level directory of this distribution and at https://github.com/pvlib/pvanalytics/blob/master/LICENSES/SOLARFORECASTARBITER_LICENSE for more information.