Skip to content

Commit

Permalink
Adding K-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kenkehoe committed Nov 1, 2024
1 parent f98ea03 commit 6e44ef6
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions examples/qc/plot_qc_bsrn.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,19 @@
direct_normal_SW_dn_name='short_direct_normal',
)

# Add K-tests QC to ancillary QC variables.
ds.qcfilter.k_test(
[
'Clearness index',
'Upper total transmittance',
'Upper direct transmittance',
'Upper diffuse transmittance',
],
dni='short_direct_normal',
dhi='down_short_hemisp',
ghi='down_short_diffuse_hemisp',
)

# Creat Plot Display and plot data including embedded QC from data file
variable = 'down_short_hemisp'
display = act.plotting.TimeSeriesDisplay(ds, figsize=(15, 10), subplot_shape=(2,))
Expand Down

0 comments on commit 6e44ef6

Please sign in to comment.