From 2a801adc8c845b8498578166d5a79ed0b3b0c846 Mon Sep 17 00:00:00 2001 From: zssherman Date: Tue, 29 Oct 2024 12:42:40 -0500 Subject: [PATCH 1/2] MNT: Add back in NOAA PSL examples and more to see if database is back. --- .../{skip_noaa_fmcw_moment.py => plot_noaa_fmcw_moment.py} | 0 tests/discovery/test_noaapsl_discovery.py | 1 - tests/io/test_noaapsl.py | 3 --- 3 files changed, 4 deletions(-) rename examples/discovery/{skip_noaa_fmcw_moment.py => plot_noaa_fmcw_moment.py} (100%) diff --git a/examples/discovery/skip_noaa_fmcw_moment.py b/examples/discovery/plot_noaa_fmcw_moment.py similarity index 100% rename from examples/discovery/skip_noaa_fmcw_moment.py rename to examples/discovery/plot_noaa_fmcw_moment.py diff --git a/tests/discovery/test_noaapsl_discovery.py b/tests/discovery/test_noaapsl_discovery.py index 01e1d84b44..9822ca62a1 100644 --- a/tests/discovery/test_noaapsl_discovery.py +++ b/tests/discovery/test_noaapsl_discovery.py @@ -4,7 +4,6 @@ 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 47ae72fe1d..2964b5c879 100644 --- a/tests/io/test_noaapsl.py +++ b/tests/io/test_noaapsl.py @@ -103,7 +103,6 @@ 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', @@ -122,7 +121,6 @@ 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' @@ -134,7 +132,6 @@ 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' From 9f675694a2cd70f09d017c6748ab14a115a1fa7d Mon Sep 17 00:00:00 2001 From: zssherman Date: Tue, 29 Oct 2024 12:51:31 -0500 Subject: [PATCH 2/2] STY: PEP8 fix, remove unused import. --- tests/discovery/test_noaapsl_discovery.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/discovery/test_noaapsl_discovery.py b/tests/discovery/test_noaapsl_discovery.py index 9822ca62a1..3369371f91 100644 --- a/tests/discovery/test_noaapsl_discovery.py +++ b/tests/discovery/test_noaapsl_discovery.py @@ -1,5 +1,4 @@ import numpy as np -import pytest import act