Skip to content

Commit

Permalink
Updated assert for new test limit.
Browse files Browse the repository at this point in the history
  • Loading branch information
kenkehoe committed Nov 5, 2024
1 parent 6e44ef6 commit 9b49b86
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/qc/test_bsrn_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,8 @@ def test_k_test():
dhi='down_short_diffuse_hemisp',
ghi='down_short_hemisp',
use_dask=use_dask,
upper_total_transmittance_limit=1.4,
upper_diffuse_transmittance_limit=0.6,
)

test_number = (
Expand All @@ -361,7 +363,7 @@ def test_k_test():
+ 1
)
result = ds.qcfilter.get_qc_test_mask('down_short_diffuse_hemisp', test_number=test_number)
assert np.sum(np.where(result)) == 812004
assert np.sum(np.where(result)) == 2367

test_number = (
ds['qc_short_direct_normal']
Expand Down

0 comments on commit 9b49b86

Please sign in to comment.