diff --git a/DESCRIPTION b/DESCRIPTION index 3eeb85b..dd89995 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: extractr Title: Extract data from online dataset APIs -Version: 0.1.1 +Version: 0.1.2 URL: https://marinebon.github.io/extractr, https://github.com/marinebon/extractr BugReports: https://github.com/marinebon/extractr/issues diff --git a/NEWS.md b/NEWS.md index 694e7b1..15a40d1 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,6 +1,10 @@ +# extractr 0.1.2 + +* Fixed arguments in `rerddap::griddap()` for rerddap version `1.0.3`: `x` to `datasetx`; `time` with `as.character()`. Fixed article outputs. + # extractr 0.1.1 -* fix `get_ed_raster()`, `grds_to_ts()` so working with [noaa-onms/climate-dashboard](https://github.com/noaa-onms/climate-dashboard) ed_var = "CRW_SST" coral reef watch +* Fix `get_ed_raster()`, `grds_to_ts()` so working with [noaa-onms/climate-dashboard](https://github.com/noaa-onms/climate-dashboard) ed_var = "CRW_SST" coral reef watch # extractr 0.1.0 diff --git a/R/read.R b/R/read.R index 830155d..cc196fc 100644 --- a/R/read.R +++ b/R/read.R @@ -317,7 +317,7 @@ get_ed_grds <- function( url = ed_info$base_url, longitude = c(bb["xmin"], bb["xmax"]), latitude = c(bb["ymin"], bb["ymax"]), - time = c(date, date), + time = c(date, date) |> as.character(), fmt = "nc")) if ("try-error" %in% class(nc)){ diff --git a/docs/404.html b/docs/404.html index 3b2cd88..e237360 100644 --- a/docs/404.html +++ b/docs/404.html @@ -32,7 +32,7 @@
diff --git a/docs/LICENSE-text.html b/docs/LICENSE-text.html index acd9986..a8df728 100644 --- a/docs/LICENSE-text.html +++ b/docs/LICENSE-text.html @@ -17,7 +17,7 @@ diff --git a/docs/LICENSE.html b/docs/LICENSE.html index d1957c2..0936d88 100644 --- a/docs/LICENSE.html +++ b/docs/LICENSE.html @@ -17,7 +17,7 @@ diff --git a/docs/articles/extractr.html b/docs/articles/extractr.html index b8bd2ab..03847f3 100644 --- a/docs/articles/extractr.html +++ b/docs/articles/extractr.html @@ -33,7 +33,7 @@ @@ -87,9 +87,7 @@
-# library(extractr) # devtools::install_local()
-devtools::load_all()
-#> ℹ Loading extractr
+library(extractr) # devtools::install_local(force = T) # devtools::load_all()
#> The legacy packages maptools, rgdal, and rgeos, underpinning the sp package,
#> which was just loaded, will retire in October 2023.
#> Please refer to R-spatial evolution reports for details, especially
@@ -105,7 +103,6 @@ Get regions of interestsif (!require("librarian"))
install.packages("librarian")
#> Loading required package: librarian
-library(librarian)
librarian::shelf(
dplyr, here, mapview, sf)
@@ -118,8 +115,8 @@ Get regions of interestsfk_sf <- bind_rows(fk_roi_sf, fk_sta_sf)
mapview(fk_sf)
ed_info <- get_ed_info("https://coastwatch.pfeg.noaa.gov/erddap/griddap/jplMURSST41mday.html")
-#>
-#> Attaching package: 'magrittr'
-#> The following objects are masked from 'package:extractr':
-#>
-#> extract, set_names
ed_info
#> <ERDDAP info> jplMURSST41mday
#> Base URL: https://coastwatch.pfeg.noaa.gov/erddap
@@ -174,20 +166,20 @@ Summarize#> # A tibble: 6 × 4
#> lyr date mean sd
#> <chr> <date> <dbl> <dbl>
-#> 1 sst_2021.10.16 2021-10-16 -80.5 0.881
-#> 2 sst_2021.11.16 2021-11-16 -80.5 0.881
-#> 3 sst_2021.12.16 2021-12-16 -80.5 0.881
-#> 4 sst_2022.01.16 2022-01-16 -80.5 0.881
-#> 5 sst_2022.02.16 2022-02-16 -80.5 0.881
-#> 6 sst_2022.03.16 2022-03-16 -80.5 0.881
plot_ts(ts_csv, "mean", "sd")
NEWS.md
+ rerddap::griddap()
for rerddap version 1.0.3
: x
to datasetx
; time
with as.character()
. Fixed article outputs.get_ed_raster()
, grds_to_ts()
so working with noaa-onms/climate-dashboard ed_var = “CRW_SST” coral reef watchget_ed_raster()
, grds_to_ts()
so working with noaa-onms/climate-dashboard ed_var = “CRW_SST” coral reef watch