From f6714a47765124a32367f0f6a4eb67682e149733 Mon Sep 17 00:00:00 2001 From: Karnesh Jain Date: Thu, 24 Oct 2024 15:09:00 -0400 Subject: [PATCH] Fixed Unit tests (#65) * updated version * modified to limit zero padding for analysis_assim * corrected test to reflect right zero padding for analysis assim * fixed if condition for None run_type --- nwmurl/urlgennwm.py | 2 +- test/test_analysisAssim.py | 17 ++++++++--------- test/test_analysisAssimExtend.py | 16 ++++++++-------- test/test_analysisAssimExtendNoDa.py | 16 ++++++++-------- test/test_analysisAssimHawaii.py | 16 ++++++++-------- test/test_analysisAssimHawaiiNoDa.py | 16 ++++++++-------- test/test_analysisAssimNoDa.py | 16 ++++++++-------- test/test_analysisAssimPuertorico.py | 16 ++++++++-------- test/test_analysisAssimPuertoricoNoDa.py | 16 ++++++++-------- test/test_forcingAnalysisAssim.py | 16 ++++++++-------- test/test_forcingAnalysisAssimExtend.py | 16 ++++++++-------- test/test_forcingAnalysisAssimHawaii.py | 16 ++++++++-------- test/test_forcingAnalysisAssimPuertorico.py | 16 ++++++++-------- 13 files changed, 97 insertions(+), 98 deletions(-) diff --git a/nwmurl/urlgennwm.py b/nwmurl/urlgennwm.py index 65bc53f..df3ae83 100644 --- a/nwmurl/urlgennwm.py +++ b/nwmurl/urlgennwm.py @@ -62,7 +62,7 @@ def makename( datetxt = f"nwm.{date.strftime('%Y%m%d')}" foldertxt = f"{run_type}{run_typesuffix}" - if "analysis_assim" in run_type: + if run_type is not None and "analysis_assim" in run_type: filetxt = f"nwm.t{fcst_cycle:02d}z.{run_name}{runsuffix}.{var_name}{varsuffix}.{fhprefix}{fcst_hour:02d}.{geography}.nc" else: filetxt = f"nwm.t{fcst_cycle:02d}z.{run_name}{runsuffix}.{var_name}{varsuffix}.{fhprefix}{fcst_hour:03d}.{geography}.nc" diff --git a/test/test_analysisAssim.py b/test/test_analysisAssim.py index 54ca0e5..26d9d5b 100644 --- a/test/test_analysisAssim.py +++ b/test/test_analysisAssim.py @@ -4,7 +4,6 @@ generate_urls_operational, ) # Import the generate_urls_operational function from your script - class TestGenerateURLs(unittest.TestCase): def test_generate_urls_operational_for_analysis_assim(self): # Define test input values @@ -38,14 +37,14 @@ def test_generate_urls_operational_for_analysis_assim(self): # Define the expected URLs or patterns for the analysis_assim folder expected_urls = [ - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim/nwm.t00z.analysis_assim.channel_rt.tm001.conus.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim/nwm.t00z.analysis_assim.channel_rt.tm018.conus.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim/nwm.t08z.analysis_assim.channel_rt.tm001.conus.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim/nwm.t08z.analysis_assim.channel_rt.tm018.conus.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim/nwm.t00z.analysis_assim.channel_rt.tm001.conus.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim/nwm.t00z.analysis_assim.channel_rt.tm018.conus.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim/nwm.t08z.analysis_assim.channel_rt.tm001.conus.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim/nwm.t08z.analysis_assim.channel_rt.tm018.conus.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim/nwm.t00z.analysis_assim.channel_rt.tm01.conus.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim/nwm.t00z.analysis_assim.channel_rt.tm18.conus.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim/nwm.t08z.analysis_assim.channel_rt.tm01.conus.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim/nwm.t08z.analysis_assim.channel_rt.tm18.conus.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim/nwm.t00z.analysis_assim.channel_rt.tm01.conus.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim/nwm.t00z.analysis_assim.channel_rt.tm18.conus.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim/nwm.t08z.analysis_assim.channel_rt.tm01.conus.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim/nwm.t08z.analysis_assim.channel_rt.tm18.conus.nc", ] # Read the content of the file and check for the expected content diff --git a/test/test_analysisAssimExtend.py b/test/test_analysisAssimExtend.py index 90f099a..10f044f 100644 --- a/test/test_analysisAssimExtend.py +++ b/test/test_analysisAssimExtend.py @@ -38,14 +38,14 @@ def test_generate_urls_operational_for_analysis_assim_extend(self): # Define the expected URLs or patterns for the analysis_assim_extend folder expected_urls = [ - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim_extend/nwm.t00z.analysis_assim_extend.channel_rt.tm001.conus.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim_extend/nwm.t00z.analysis_assim_extend.channel_rt.tm018.conus.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim_extend/nwm.t08z.analysis_assim_extend.channel_rt.tm001.conus.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim_extend/nwm.t08z.analysis_assim_extend.channel_rt.tm018.conus.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim_extend/nwm.t00z.analysis_assim_extend.channel_rt.tm001.conus.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim_extend/nwm.t00z.analysis_assim_extend.channel_rt.tm018.conus.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim_extend/nwm.t08z.analysis_assim_extend.channel_rt.tm001.conus.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim_extend/nwm.t08z.analysis_assim_extend.channel_rt.tm018.conus.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim_extend/nwm.t00z.analysis_assim_extend.channel_rt.tm01.conus.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim_extend/nwm.t00z.analysis_assim_extend.channel_rt.tm18.conus.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim_extend/nwm.t08z.analysis_assim_extend.channel_rt.tm01.conus.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim_extend/nwm.t08z.analysis_assim_extend.channel_rt.tm18.conus.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim_extend/nwm.t00z.analysis_assim_extend.channel_rt.tm01.conus.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim_extend/nwm.t00z.analysis_assim_extend.channel_rt.tm18.conus.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim_extend/nwm.t08z.analysis_assim_extend.channel_rt.tm01.conus.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim_extend/nwm.t08z.analysis_assim_extend.channel_rt.tm18.conus.nc", ] # Read the content of the file and check for the expected content diff --git a/test/test_analysisAssimExtendNoDa.py b/test/test_analysisAssimExtendNoDa.py index 4f30279..0282e7f 100644 --- a/test/test_analysisAssimExtendNoDa.py +++ b/test/test_analysisAssimExtendNoDa.py @@ -38,14 +38,14 @@ def test_generate_urls_operational_for_analysis_assim_extend_no_da(self): # Define the expected URLs or patterns for the assim_extend_no_da folder expected_urls = [ - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim_extend_no_da/nwm.t00z.analysis_assim_extend_no_da.channel_rt.tm001.conus.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim_extend_no_da/nwm.t00z.analysis_assim_extend_no_da.channel_rt.tm018.conus.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim_extend_no_da/nwm.t08z.analysis_assim_extend_no_da.channel_rt.tm001.conus.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim_extend_no_da/nwm.t08z.analysis_assim_extend_no_da.channel_rt.tm018.conus.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim_extend_no_da/nwm.t00z.analysis_assim_extend_no_da.channel_rt.tm001.conus.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim_extend_no_da/nwm.t00z.analysis_assim_extend_no_da.channel_rt.tm018.conus.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim_extend_no_da/nwm.t08z.analysis_assim_extend_no_da.channel_rt.tm001.conus.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim_extend_no_da/nwm.t08z.analysis_assim_extend_no_da.channel_rt.tm018.conus.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim_extend_no_da/nwm.t00z.analysis_assim_extend_no_da.channel_rt.tm01.conus.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim_extend_no_da/nwm.t00z.analysis_assim_extend_no_da.channel_rt.tm18.conus.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim_extend_no_da/nwm.t08z.analysis_assim_extend_no_da.channel_rt.tm01.conus.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim_extend_no_da/nwm.t08z.analysis_assim_extend_no_da.channel_rt.tm18.conus.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim_extend_no_da/nwm.t00z.analysis_assim_extend_no_da.channel_rt.tm01.conus.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim_extend_no_da/nwm.t00z.analysis_assim_extend_no_da.channel_rt.tm18.conus.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim_extend_no_da/nwm.t08z.analysis_assim_extend_no_da.channel_rt.tm01.conus.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim_extend_no_da/nwm.t08z.analysis_assim_extend_no_da.channel_rt.tm18.conus.nc", ] # Read the content of the file and check for the expected content diff --git a/test/test_analysisAssimHawaii.py b/test/test_analysisAssimHawaii.py index e858083..91c8708 100644 --- a/test/test_analysisAssimHawaii.py +++ b/test/test_analysisAssimHawaii.py @@ -38,14 +38,14 @@ def test_generate_urls_operational_for_analysis_assim_hawaii(self): # Define the expected URLs or patterns for the analysis_assim_hawaii folder expected_urls = [ - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim/nwm.t00z.analysis_assim.channel_rt.tm001.hawaii.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim/nwm.t00z.analysis_assim.channel_rt.tm018.hawaii.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim/nwm.t08z.analysis_assim.channel_rt.tm001.hawaii.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim/nwm.t08z.analysis_assim.channel_rt.tm018.hawaii.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim/nwm.t00z.analysis_assim.channel_rt.tm001.hawaii.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim/nwm.t00z.analysis_assim.channel_rt.tm018.hawaii.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim/nwm.t08z.analysis_assim.channel_rt.tm001.hawaii.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim/nwm.t08z.analysis_assim.channel_rt.tm018.hawaii.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim/nwm.t00z.analysis_assim.channel_rt.tm01.hawaii.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim/nwm.t00z.analysis_assim.channel_rt.tm18.hawaii.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim/nwm.t08z.analysis_assim.channel_rt.tm01.hawaii.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim/nwm.t08z.analysis_assim.channel_rt.tm18.hawaii.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim/nwm.t00z.analysis_assim.channel_rt.tm01.hawaii.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim/nwm.t00z.analysis_assim.channel_rt.tm18.hawaii.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim/nwm.t08z.analysis_assim.channel_rt.tm01.hawaii.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim/nwm.t08z.analysis_assim.channel_rt.tm18.hawaii.nc", ] # Read the content of the file and check for the expected content diff --git a/test/test_analysisAssimHawaiiNoDa.py b/test/test_analysisAssimHawaiiNoDa.py index 0bab2b6..2f85669 100644 --- a/test/test_analysisAssimHawaiiNoDa.py +++ b/test/test_analysisAssimHawaiiNoDa.py @@ -38,14 +38,14 @@ def test_generate_urls_operational_for_analysis_assim_hawaii_no_da(self): # Define the expected URLs or patterns for the analysis_assim_hawaii_no_da folder expected_urls = [ - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim_no_da/nwm.t00z.analysis_assim_no_da.channel_rt.tm001.hawaii.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim_no_da/nwm.t00z.analysis_assim_no_da.channel_rt.tm018.hawaii.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim_no_da/nwm.t08z.analysis_assim_no_da.channel_rt.tm001.hawaii.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim_no_da/nwm.t08z.analysis_assim_no_da.channel_rt.tm018.hawaii.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim_no_da/nwm.t00z.analysis_assim_no_da.channel_rt.tm001.hawaii.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim_no_da/nwm.t00z.analysis_assim_no_da.channel_rt.tm018.hawaii.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim_no_da/nwm.t08z.analysis_assim_no_da.channel_rt.tm001.hawaii.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim_no_da/nwm.t08z.analysis_assim_no_da.channel_rt.tm018.hawaii.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim_no_da/nwm.t00z.analysis_assim_no_da.channel_rt.tm01.hawaii.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim_no_da/nwm.t00z.analysis_assim_no_da.channel_rt.tm18.hawaii.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim_no_da/nwm.t08z.analysis_assim_no_da.channel_rt.tm01.hawaii.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim_no_da/nwm.t08z.analysis_assim_no_da.channel_rt.tm18.hawaii.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim_no_da/nwm.t00z.analysis_assim_no_da.channel_rt.tm01.hawaii.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim_no_da/nwm.t00z.analysis_assim_no_da.channel_rt.tm18.hawaii.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim_no_da/nwm.t08z.analysis_assim_no_da.channel_rt.tm01.hawaii.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim_no_da/nwm.t08z.analysis_assim_no_da.channel_rt.tm18.hawaii.nc", ] # Read the content of the file and check for the expected content diff --git a/test/test_analysisAssimNoDa.py b/test/test_analysisAssimNoDa.py index afb623b..15411b9 100644 --- a/test/test_analysisAssimNoDa.py +++ b/test/test_analysisAssimNoDa.py @@ -38,14 +38,14 @@ def test_generate_urls_operational_for_analysis_assim_no_da(self): # Define the expected URLs or patterns for the analysis_assim_no_da folder expected_urls = [ - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim_no_da/nwm.t00z.analysis_assim_no_da.channel_rt.tm001.conus.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim_no_da/nwm.t00z.analysis_assim_no_da.channel_rt.tm018.conus.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim_no_da/nwm.t08z.analysis_assim_no_da.channel_rt.tm001.conus.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim_no_da/nwm.t08z.analysis_assim_no_da.channel_rt.tm018.conus.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim_no_da/nwm.t00z.analysis_assim_no_da.channel_rt.tm001.conus.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim_no_da/nwm.t00z.analysis_assim_no_da.channel_rt.tm018.conus.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim_no_da/nwm.t08z.analysis_assim_no_da.channel_rt.tm001.conus.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim_no_da/nwm.t08z.analysis_assim_no_da.channel_rt.tm018.conus.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim_no_da/nwm.t00z.analysis_assim_no_da.channel_rt.tm01.conus.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim_no_da/nwm.t00z.analysis_assim_no_da.channel_rt.tm18.conus.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim_no_da/nwm.t08z.analysis_assim_no_da.channel_rt.tm01.conus.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim_no_da/nwm.t08z.analysis_assim_no_da.channel_rt.tm18.conus.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim_no_da/nwm.t00z.analysis_assim_no_da.channel_rt.tm01.conus.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim_no_da/nwm.t00z.analysis_assim_no_da.channel_rt.tm18.conus.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim_no_da/nwm.t08z.analysis_assim_no_da.channel_rt.tm01.conus.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim_no_da/nwm.t08z.analysis_assim_no_da.channel_rt.tm18.conus.nc", ] # Read the content of the file and check for the expected content diff --git a/test/test_analysisAssimPuertorico.py b/test/test_analysisAssimPuertorico.py index e0b62ae..9d61eea 100644 --- a/test/test_analysisAssimPuertorico.py +++ b/test/test_analysisAssimPuertorico.py @@ -38,14 +38,14 @@ def test_generate_urls_operational_for_analysis_assim_puertorico(self): # Define the expected URLs or patterns for the analysis_assim_puertorico folder expected_urls = [ - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim_puertorico/nwm.t00z.analysis_assim.channel_rt.tm001.puertorico.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim_puertorico/nwm.t00z.analysis_assim.channel_rt.tm018.puertorico.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim_puertorico/nwm.t08z.analysis_assim.channel_rt.tm001.puertorico.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim_puertorico/nwm.t08z.analysis_assim.channel_rt.tm018.puertorico.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim_puertorico/nwm.t00z.analysis_assim.channel_rt.tm001.puertorico.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim_puertorico/nwm.t00z.analysis_assim.channel_rt.tm018.puertorico.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim_puertorico/nwm.t08z.analysis_assim.channel_rt.tm001.puertorico.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim_puertorico/nwm.t08z.analysis_assim.channel_rt.tm018.puertorico.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim_puertorico/nwm.t00z.analysis_assim.channel_rt.tm01.puertorico.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim_puertorico/nwm.t00z.analysis_assim.channel_rt.tm18.puertorico.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim_puertorico/nwm.t08z.analysis_assim.channel_rt.tm01.puertorico.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim_puertorico/nwm.t08z.analysis_assim.channel_rt.tm18.puertorico.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim_puertorico/nwm.t00z.analysis_assim.channel_rt.tm01.puertorico.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim_puertorico/nwm.t00z.analysis_assim.channel_rt.tm18.puertorico.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim_puertorico/nwm.t08z.analysis_assim.channel_rt.tm01.puertorico.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim_puertorico/nwm.t08z.analysis_assim.channel_rt.tm18.puertorico.nc", ] # Read the content of the file and check for the expected content diff --git a/test/test_analysisAssimPuertoricoNoDa.py b/test/test_analysisAssimPuertoricoNoDa.py index e2f93f5..f7126e0 100644 --- a/test/test_analysisAssimPuertoricoNoDa.py +++ b/test/test_analysisAssimPuertoricoNoDa.py @@ -38,14 +38,14 @@ def test_generate_urls_operational_for_analysis_assim_puertorico_no_da(self): # Define the expected URLs or patterns for the analysis_assim_puertorico_no_da folder expected_urls = [ - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim_puertorico_no_da/nwm.t00z.analysis_assim_no_da.channel_rt.tm001.puertorico.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim_puertorico_no_da/nwm.t00z.analysis_assim_no_da.channel_rt.tm018.puertorico.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim_puertorico_no_da/nwm.t08z.analysis_assim_no_da.channel_rt.tm001.puertorico.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim_puertorico_no_da/nwm.t08z.analysis_assim_no_da.channel_rt.tm018.puertorico.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim_puertorico_no_da/nwm.t00z.analysis_assim_no_da.channel_rt.tm001.puertorico.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim_puertorico_no_da/nwm.t00z.analysis_assim_no_da.channel_rt.tm018.puertorico.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim_puertorico_no_da/nwm.t08z.analysis_assim_no_da.channel_rt.tm001.puertorico.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim_puertorico_no_da/nwm.t08z.analysis_assim_no_da.channel_rt.tm018.puertorico.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim_puertorico_no_da/nwm.t00z.analysis_assim_no_da.channel_rt.tm01.puertorico.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim_puertorico_no_da/nwm.t00z.analysis_assim_no_da.channel_rt.tm18.puertorico.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim_puertorico_no_da/nwm.t08z.analysis_assim_no_da.channel_rt.tm01.puertorico.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/analysis_assim_puertorico_no_da/nwm.t08z.analysis_assim_no_da.channel_rt.tm18.puertorico.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim_puertorico_no_da/nwm.t00z.analysis_assim_no_da.channel_rt.tm01.puertorico.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim_puertorico_no_da/nwm.t00z.analysis_assim_no_da.channel_rt.tm18.puertorico.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim_puertorico_no_da/nwm.t08z.analysis_assim_no_da.channel_rt.tm01.puertorico.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/analysis_assim_puertorico_no_da/nwm.t08z.analysis_assim_no_da.channel_rt.tm18.puertorico.nc", ] # Read the content of the file and check for the expected content diff --git a/test/test_forcingAnalysisAssim.py b/test/test_forcingAnalysisAssim.py index 536f903..2c5a6f5 100644 --- a/test/test_forcingAnalysisAssim.py +++ b/test/test_forcingAnalysisAssim.py @@ -38,14 +38,14 @@ def test_generate_urls_operational_for_forcing_analysis_assim(self): # Define the expected URLs or patterns for the forcing_analysis_assim folder expected_urls = [ - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/forcing_analysis_assim/nwm.t00z.analysis_assim.forcing.tm001.conus.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/forcing_analysis_assim/nwm.t00z.analysis_assim.forcing.tm018.conus.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/forcing_analysis_assim/nwm.t08z.analysis_assim.forcing.tm001.conus.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/forcing_analysis_assim/nwm.t08z.analysis_assim.forcing.tm018.conus.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/forcing_analysis_assim/nwm.t00z.analysis_assim.forcing.tm001.conus.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/forcing_analysis_assim/nwm.t00z.analysis_assim.forcing.tm018.conus.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/forcing_analysis_assim/nwm.t08z.analysis_assim.forcing.tm001.conus.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/forcing_analysis_assim/nwm.t08z.analysis_assim.forcing.tm018.conus.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/forcing_analysis_assim/nwm.t00z.analysis_assim.forcing.tm01.conus.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/forcing_analysis_assim/nwm.t00z.analysis_assim.forcing.tm18.conus.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/forcing_analysis_assim/nwm.t08z.analysis_assim.forcing.tm01.conus.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/forcing_analysis_assim/nwm.t08z.analysis_assim.forcing.tm18.conus.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/forcing_analysis_assim/nwm.t00z.analysis_assim.forcing.tm01.conus.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/forcing_analysis_assim/nwm.t00z.analysis_assim.forcing.tm18.conus.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/forcing_analysis_assim/nwm.t08z.analysis_assim.forcing.tm01.conus.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/forcing_analysis_assim/nwm.t08z.analysis_assim.forcing.tm18.conus.nc", ] # Read the content of the file and check for the expected content diff --git a/test/test_forcingAnalysisAssimExtend.py b/test/test_forcingAnalysisAssimExtend.py index 1576f28..4be51af 100644 --- a/test/test_forcingAnalysisAssimExtend.py +++ b/test/test_forcingAnalysisAssimExtend.py @@ -38,14 +38,14 @@ def test_generate_urls_operational_for_forcing_analysis_assim_extend(self): # Define the expected URLs or patterns for the forcing_analysis_assim_extend folder expected_urls = [ - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/forcing_analysis_assim_extend/nwm.t00z.analysis_assim_extend.forcing.tm001.conus.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/forcing_analysis_assim_extend/nwm.t00z.analysis_assim_extend.forcing.tm018.conus.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/forcing_analysis_assim_extend/nwm.t08z.analysis_assim_extend.forcing.tm001.conus.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/forcing_analysis_assim_extend/nwm.t08z.analysis_assim_extend.forcing.tm018.conus.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/forcing_analysis_assim_extend/nwm.t00z.analysis_assim_extend.forcing.tm001.conus.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/forcing_analysis_assim_extend/nwm.t00z.analysis_assim_extend.forcing.tm018.conus.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/forcing_analysis_assim_extend/nwm.t08z.analysis_assim_extend.forcing.tm001.conus.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/forcing_analysis_assim_extend/nwm.t08z.analysis_assim_extend.forcing.tm018.conus.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/forcing_analysis_assim_extend/nwm.t00z.analysis_assim_extend.forcing.tm01.conus.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/forcing_analysis_assim_extend/nwm.t00z.analysis_assim_extend.forcing.tm18.conus.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/forcing_analysis_assim_extend/nwm.t08z.analysis_assim_extend.forcing.tm01.conus.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/forcing_analysis_assim_extend/nwm.t08z.analysis_assim_extend.forcing.tm18.conus.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/forcing_analysis_assim_extend/nwm.t00z.analysis_assim_extend.forcing.tm01.conus.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/forcing_analysis_assim_extend/nwm.t00z.analysis_assim_extend.forcing.tm18.conus.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/forcing_analysis_assim_extend/nwm.t08z.analysis_assim_extend.forcing.tm01.conus.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/forcing_analysis_assim_extend/nwm.t08z.analysis_assim_extend.forcing.tm18.conus.nc", ] # Read the content of the file and check for the expected content diff --git a/test/test_forcingAnalysisAssimHawaii.py b/test/test_forcingAnalysisAssimHawaii.py index 4584975..52bc43d 100644 --- a/test/test_forcingAnalysisAssimHawaii.py +++ b/test/test_forcingAnalysisAssimHawaii.py @@ -38,14 +38,14 @@ def test_generate_urls_operational_for_forcing_analysis_assim_hawaii(self): # Define the expected URLs or patterns for the forcing_analysis_assim_hawaii folder expected_urls = [ - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/forcing_analysis_assim_hawaii/nwm.t00z.analysis_assim.forcing.tm001.hawaii.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/forcing_analysis_assim_hawaii/nwm.t00z.analysis_assim.forcing.tm018.hawaii.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/forcing_analysis_assim_hawaii/nwm.t08z.analysis_assim.forcing.tm001.hawaii.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/forcing_analysis_assim_hawaii/nwm.t08z.analysis_assim.forcing.tm018.hawaii.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/forcing_analysis_assim_hawaii/nwm.t00z.analysis_assim.forcing.tm001.hawaii.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/forcing_analysis_assim_hawaii/nwm.t00z.analysis_assim.forcing.tm018.hawaii.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/forcing_analysis_assim_hawaii/nwm.t08z.analysis_assim.forcing.tm001.hawaii.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/forcing_analysis_assim_hawaii/nwm.t08z.analysis_assim.forcing.tm018.hawaii.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/forcing_analysis_assim_hawaii/nwm.t00z.analysis_assim.forcing.tm01.hawaii.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/forcing_analysis_assim_hawaii/nwm.t00z.analysis_assim.forcing.tm18.hawaii.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/forcing_analysis_assim_hawaii/nwm.t08z.analysis_assim.forcing.tm01.hawaii.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/forcing_analysis_assim_hawaii/nwm.t08z.analysis_assim.forcing.tm18.hawaii.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/forcing_analysis_assim_hawaii/nwm.t00z.analysis_assim.forcing.tm01.hawaii.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/forcing_analysis_assim_hawaii/nwm.t00z.analysis_assim.forcing.tm18.hawaii.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/forcing_analysis_assim_hawaii/nwm.t08z.analysis_assim.forcing.tm01.hawaii.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/forcing_analysis_assim_hawaii/nwm.t08z.analysis_assim.forcing.tm18.hawaii.nc", ] # Read the content of the file and check for the expected content diff --git a/test/test_forcingAnalysisAssimPuertorico.py b/test/test_forcingAnalysisAssimPuertorico.py index f104fb7..a0e22f6 100644 --- a/test/test_forcingAnalysisAssimPuertorico.py +++ b/test/test_forcingAnalysisAssimPuertorico.py @@ -38,14 +38,14 @@ def test_generate_urls_operational_for_forcing_analysis_assim_puertorico(self): # Define the expected URLs or patterns for the forcing_analysis_assim_puertorico folder expected_urls = [ - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/forcing_analysis_assim_puertorico/nwm.t00z.analysis_assim.forcing.tm001.puertorico.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/forcing_analysis_assim_puertorico/nwm.t00z.analysis_assim.forcing.tm018.puertorico.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/forcing_analysis_assim_puertorico/nwm.t08z.analysis_assim.forcing.tm001.puertorico.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/forcing_analysis_assim_puertorico/nwm.t08z.analysis_assim.forcing.tm018.puertorico.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/forcing_analysis_assim_puertorico/nwm.t00z.analysis_assim.forcing.tm001.puertorico.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/forcing_analysis_assim_puertorico/nwm.t00z.analysis_assim.forcing.tm018.puertorico.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/forcing_analysis_assim_puertorico/nwm.t08z.analysis_assim.forcing.tm001.puertorico.nc", - "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/forcing_analysis_assim_puertorico/nwm.t08z.analysis_assim.forcing.tm018.puertorico.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/forcing_analysis_assim_puertorico/nwm.t00z.analysis_assim.forcing.tm01.puertorico.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/forcing_analysis_assim_puertorico/nwm.t00z.analysis_assim.forcing.tm18.puertorico.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/forcing_analysis_assim_puertorico/nwm.t08z.analysis_assim.forcing.tm01.puertorico.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220112/forcing_analysis_assim_puertorico/nwm.t08z.analysis_assim.forcing.tm18.puertorico.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/forcing_analysis_assim_puertorico/nwm.t00z.analysis_assim.forcing.tm01.puertorico.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/forcing_analysis_assim_puertorico/nwm.t00z.analysis_assim.forcing.tm18.puertorico.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/forcing_analysis_assim_puertorico/nwm.t08z.analysis_assim.forcing.tm01.puertorico.nc", + "https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwm/post-processed/WMS/nwm.20220113/forcing_analysis_assim_puertorico/nwm.t08z.analysis_assim.forcing.tm18.puertorico.nc", ] # Read the content of the file and check for the expected content