Skip to content

Commit

Permalink
∆ rerddap::griddap() arg x -> datasetx
Browse files Browse the repository at this point in the history
  • Loading branch information
bbest committed Jul 20, 2023
1 parent a29fa4f commit 8269043
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions R/read.R
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ get_ed_grds <- function(
message(glue(" griddap({date}, ...)"))

nc <- try(griddap(
attr(ed_info, "datasetid"),
datasetx = attr(ed_info, "datasetid"),
fields = ed_var,
url = ed_info$base_url,
longitude = c(bb["xmin"], bb["xmax"]),
Expand All @@ -324,7 +324,7 @@ get_ed_grds <- function(
stop(glue("
Problem fetching data from ERDDAP server using:
rerddap::griddap(
x = '{attr(ed_info, 'datasetid')}',
datasetx = '{attr(ed_info, 'datasetid')}',
fields = '{ed_var}',
url = '{ed_info$base_url}',
longitude = c({bb['xmin']}, {bb['xmax']}),
Expand Down
1 change: 0 additions & 1 deletion vignettes/extractr.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ devtools::load_all()
```{r}
if (!require("librarian"))
install.packages("librarian")
library(librarian)
librarian::shelf(
dplyr, here, mapview, sf)
Expand Down

0 comments on commit 8269043

Please sign in to comment.