-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add rev roles * Discuss colocated compute * Clarify downloading files without processing * Assign downloads to objects * Better check inputs to query function * Add examples of stretching images * Document merge option * Highlight using st_make_grid()
- Loading branch information
1 parent
9e50b37
commit 0f2d5e4
Showing
15 changed files
with
232 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,10 @@ Version: 0.2.1.9000 | |
Authors@R: c( | ||
person("Michael", "Mahoney", , "[email protected]", role = c("aut", "cre"), | ||
comment = c(ORCID = "0000-0003-2402-304X")), | ||
person("Felipe", "Carvalho", role = "rev", | ||
comment = "Felipe reviewed the package (v. 0.3.0) for rOpenSci, see <https://github.com/ropensci/software-review/issues/636>"), | ||
person("Michael", "Sumner", role = "rev", | ||
comment = "Michael reviewed the package (v. 0.3.0) for rOpenSci, see <https://github.com/ropensci/software-review/issues/636>"), | ||
person("Permian Global", role = c("cph", "fnd")) | ||
) | ||
Description: Downloads spatial data from spatiotemporal asset catalogs | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
test_that("non-4326 CRS warns", { | ||
nc <- sf::read_sf( | ||
system.file("shape/nc.shp", package = "sf") | ||
) | ||
expect_warning( | ||
rsi_query_api( | ||
sf::st_as_sfc(sf::st_bbox(nc)), | ||
stac_source = "https://planetarycomputer.microsoft.com/api/stac/v1/", | ||
collection = "landsat-c2-l2", | ||
start_date = "2023-08-01", | ||
end_date = "2023-09-01", | ||
limit = 10 | ||
), | ||
class = "rsi_reprojecting_bbox" | ||
) | ||
}) | ||
|
||
test_that("unaccepted bbox objects error well", { | ||
expect_error( | ||
rsi_query_api( | ||
"not a bbox", | ||
stac_source = "https://planetarycomputer.microsoft.com/api/stac/v1/", | ||
collection = "landsat-c2-l2", | ||
start_date = "2023-08-01", | ||
end_date = "2023-09-01", | ||
limit = 10 | ||
), | ||
class = "rsi_bbox_wrong_class" | ||
) | ||
}) |
Oops, something went wrong.