Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ECMWF Open Data download and conversion functions #2975

Open
wants to merge 17 commits into
base: develop
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update modules/data.atmosphere/R/download.ECMWF.R
Co-authored-by: istfer <[email protected]>
  • Loading branch information
swarnaleem and istfer authored Jul 28, 2022
commit b7a2b923725b28f5f36108716fdbd6d935415c8e
6 changes: 5 additions & 1 deletion modules/data.atmosphere/R/download.ECMWF.R
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,11 @@ download.ECMWF <- function(outfolder,
dir.create(outfolder, showWarnings = FALSE, recursive = TRUE)
}


if(is.null(product)){
stream <- "enfo"
} else{
stream <- product
}
tryCatch({
ecmwfod <- reticulate::import("ecmwf.opendata")
}, error = function(e) {
Expand Down