From 7c3c4e083ba97e98c56ec64e86c50386850abbc5 Mon Sep 17 00:00:00 2001 From: Mitchell Manware Date: Wed, 17 Jul 2024 15:57:34 -0400 Subject: [PATCH] narr URL change fix --- R/download.R | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/R/download.R b/R/download.R index 1edf5410..8d2e3442 100644 --- a/R/download.R +++ b/R/download.R @@ -1048,7 +1048,8 @@ download_narr_monolevel <- function( #### 5. define variables variables_list <- as.vector(variables) #### 6. define URL base - base <- "https://downloads.psl.noaa.gov/Datasets/NARR/Dailies/monolevel/" + base <- + "https://psl.noaa.gov/thredds/fileServer/Datasets/NARR/Dailies/monolevel/" #### 7. initiate "..._curl_commands.txt" commands_txt <- paste0( directory_to_save, @@ -1175,7 +1176,8 @@ download_narr_p_levels <- function( #### 6. define variables variables_list <- as.vector(variables) #### 7. define URL base - base <- "https://downloads.psl.noaa.gov//Datasets/NARR/Dailies/pressure/" + base <- + "https://psl.noaa.gov/thredds/fileServer/Datasets/NARR/Dailies/pressure/" #### 8. initiate "..._curl_commands.txt" commands_txt <- paste0( directory_to_save,