From 11258536167f97721dcf964735141863cbfe292c Mon Sep 17 00:00:00 2001 From: zssherman Date: Wed, 20 Nov 2024 10:34:06 -0600 Subject: [PATCH] TST: Test an example without a download pass. --- examples/qc/plot_arm_qc.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/examples/qc/plot_arm_qc.py b/examples/qc/plot_arm_qc.py index 91d43645a0..cd304ac7a3 100644 --- a/examples/qc/plot_arm_qc.py +++ b/examples/qc/plot_arm_qc.py @@ -24,13 +24,9 @@ token = os.getenv('ARM_PASSWORD') # We can use the ACT module for downloading data from the ARM web service -if username is None or token is None or len(username) == 0 or len(token) == 0: - results = DATASETS.fetch('sgpmfrsr7nchE11.b1.20210329.070000.nc') -else: - results = act.discovery.download_arm_data( - username, token, 'sgpmfrsr7nchE11.b1', '2021-03-29', '2021-03-29' - ) -print(results) +results = act.discovery.download_arm_data( + username, token, 'sgpmfrsr7nchE11.b1', '2021-03-29', '2021-03-29' +) # Let's plot up some data to see what we're working with. For this example, we'll use # diffuse_hemisp_narrowband_filter4. The data files uses an ancillary quality control variable