From ca2afdbe2b5c14946fddf09d231544b5d60615d6 Mon Sep 17 00:00:00 2001 From: Zach Sherman <19153455+zssherman@users.noreply.github.com> Date: Wed, 30 Oct 2024 11:12:05 -0500 Subject: [PATCH] MNT: Add back in NOAA PSL examples and more to see if database is back. (#866) * MNT: Add back in NOAA PSL examples and more to see if database is back. * STY: PEP8 fix, remove unused import. --- .../{skip_noaa_fmcw_moment.py => plot_noaa_fmcw_moment.py} | 0 tests/discovery/test_noaapsl_discovery.py | 2 -- tests/io/test_noaapsl.py | 3 --- 3 files changed, 5 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..3369371f91 100644 --- a/tests/discovery/test_noaapsl_discovery.py +++ b/tests/discovery/test_noaapsl_discovery.py @@ -1,10 +1,8 @@ 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 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'