From f0592e1452f25cb953ca45d866fb0af77e49ce2a Mon Sep 17 00:00:00 2001 From: zssherman Date: Tue, 8 Oct 2024 10:44:05 -0500 Subject: [PATCH] MNT: Skip PSL tests until system is back up. --- .../{plot_noaa_fmcw_moment.py => skip_noaa_fmcw_moment.py} | 0 tests/discovery/test_noaapsl_discovery.py | 2 ++ tests/io/test_noaapsl.py | 3 +++ 3 files changed, 5 insertions(+) rename examples/discovery/{plot_noaa_fmcw_moment.py => skip_noaa_fmcw_moment.py} (100%) diff --git a/examples/discovery/plot_noaa_fmcw_moment.py b/examples/discovery/skip_noaa_fmcw_moment.py similarity index 100% rename from examples/discovery/plot_noaa_fmcw_moment.py rename to examples/discovery/skip_noaa_fmcw_moment.py diff --git a/tests/discovery/test_noaapsl_discovery.py b/tests/discovery/test_noaapsl_discovery.py index 3369371f91..01e1d84b44 100644 --- a/tests/discovery/test_noaapsl_discovery.py +++ b/tests/discovery/test_noaapsl_discovery.py @@ -1,8 +1,10 @@ import numpy as np +import pytest import act +@pytest.mark.skip(reason="NCEI is currently down.") def test_noaa_psl(): result = act.discovery.download_noaa_psl_data( site='ctd', diff --git a/tests/io/test_noaapsl.py b/tests/io/test_noaapsl.py index 2964b5c879..47ae72fe1d 100644 --- a/tests/io/test_noaapsl.py +++ b/tests/io/test_noaapsl.py @@ -103,6 +103,7 @@ def test_read_psl_surface_met(): ds = read_psl_surface_met('aaa22001.00m') +@pytest.mark.skip(reason="NCEI is currently down.") def test_read_psl_parsivel(): url = [ 'https://downloads.psl.noaa.gov/psd2/data/realtime/DisdrometerParsivel/Stats/ctd/2022/002/ctd2200200_stats.txt', @@ -121,6 +122,7 @@ def test_read_psl_parsivel(): assert 'number_density_drops' in ds +@pytest.mark.skip(reason="NCEI is currently down.") def test_read_psl_fmcw_moment(): result = act.discovery.download_noaa_psl_data( site='kps', instrument='Radar FMCW Moment', startdate='20220815', hour='06' @@ -132,6 +134,7 @@ def test_read_psl_fmcw_moment(): assert len(ds['time'].values) == 115 +@pytest.mark.skip(reason="NCEI is currently down.") def test_read_psl_sband_moment(): result = act.discovery.download_noaa_psl_data( site='ctd', instrument='Radar S-band Moment', startdate='20211225', hour='06'