Skip to content

Commit

Permalink
Merge pull request #104 from NIEHS/mm-narr-hotfix-0717
Browse files Browse the repository at this point in the history
narr URL change fix
  • Loading branch information
mitchellmanware authored Jul 17, 2024
2 parents 971ef31 + 7c3c4e0 commit f8b541f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions R/download.R
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit f8b541f

Please sign in to comment.