From 880446a169e89bd578df2b39b61d07fa8675d0ae Mon Sep 17 00:00:00 2001 From: "Adam R. Jensen" <39184289+AdamRJensen@users.noreply.github.com> Date: Wed, 23 Oct 2024 19:17:09 +0200 Subject: [PATCH] Remove within_domain_hz overriding line --- pvanalytics/quality/irradiance.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pvanalytics/quality/irradiance.py b/pvanalytics/quality/irradiance.py index a62fc125..12b6ad6f 100644 --- a/pvanalytics/quality/irradiance.py +++ b/pvanalytics/quality/irradiance.py @@ -375,7 +375,6 @@ def check_irradiance_consistency_qcrad(solar_zenith, ghi, dhi, dni, flag_hz, within_domain_hz = _check_irrad_ratio( ratio=dhi_ratio, ghi=ghi, sza=solar_zenith, bounds=bounds['high_zenith']) - within_domain_hz = within_domain_lz | within_domain_hz diffuse_ratio_limit = ((flag_lz & within_domain_lz) | (flag_hz & within_domain_hz)) diffuse_ratio_limit[~(within_domain_lz | within_domain_hz)] = \