From 852515e330dddb05968d3e578799c2d9e87aa339 Mon Sep 17 00:00:00 2001 From: "Adam R. Jensen" <39184289+AdamRJensen@users.noreply.github.com> Date: Wed, 23 Oct 2024 20:15:37 +0200 Subject: [PATCH] Change outside_domain to scalar, param as optional --- pvanalytics/quality/irradiance.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pvanalytics/quality/irradiance.py b/pvanalytics/quality/irradiance.py index 12b6ad6f..c685d86f 100644 --- a/pvanalytics/quality/irradiance.py +++ b/pvanalytics/quality/irradiance.py @@ -306,13 +306,13 @@ def check_irradiance_consistency_qcrad(solar_zenith, ghi, dhi, dni, Diffuse horizontal irradiance in :math:`W/m^2` dni : Series Direct normal irradiance in :math:`W/m^2` - param : dict + param : dict, optional keys are 'ghi_ratio' and 'dhi_ratio'. For each key, value is a dict with keys 'high_zenith' and 'low_zenith'; for each of these keys, value is a dict with keys 'zenith_bounds', 'ghi_bounds', and 'ratio_bounds' and value is an ordered pair [lower, upper] of float. - outside_domain : bool, default False + outside_domain : scalar, default False Value to return when the tests are not applicable, i.e., when the input data fall outside the test domain.