solarforecastarbiter.validation.validator.check_ghi_limits_QCRad(ghi, solar_zenith, dni_extra, limits=None)[source]

Tests for physical limits on GHI using the QCRad criteria.

Test passes if a 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) – for keys ‘ghi_ub’, ‘dhi_ub’, ‘dni_ub’, value is a dict with keys {‘mult’, ‘exp’, ‘min’}. For keys ‘ghi_lb’, ‘dhi_lb’, ‘dni_lb’, value is a float.

ghi_limit_flag (Series) – True if value passes physically-possible test