This repository has been archived by the owner on Sep 9, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix #17 fixed cache delete fxn and other caching fxns
fix #16 clear up usage of lsast_list, lsat_scenes and lsast_scene_files fix #15 more details on what pkg is for bump dev version
- Loading branch information
Showing
12 changed files
with
99 additions
and
15 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,35 @@ | ||
#' getlandsat - get Landsat 8 data from AWS public data sets | ||
#' | ||
#' \pkg{getlandsat} provides access to Landsat \url{https://landsat.usgs.gov} 8 | ||
#' metadata and images hosted on AWS S3 at | ||
#' \url{https://aws.amazon.com/public-data-sets/landsat}. The package only | ||
#' fetches data. It does not attempt to aid users in downstream usage. | ||
#' | ||
#' @importFrom readr read_csv | ||
#' @importFrom xml2 read_html read_xml xml_find_all as_list xml_children xml_name | ||
#' @importFrom httr content write_disk GET stop_for_status | ||
#' @name getlandsat-package | ||
#' @aliases getlandsat | ||
#' @docType package | ||
#' @keywords package | ||
#' | ||
#' @examples \dontrun{ | ||
#' ## List scenes | ||
#' (res <- lsat_scenes(n_max = 10)) | ||
#' | ||
#' ## List scene files | ||
#' lsat_scene_files(x = res$download_url[1]) | ||
#' | ||
#' ## Get an image | ||
#' ### Returns path to the image | ||
#' lsat_image(x = "LC80101172015002LGN00_B5.TIF") | ||
#' | ||
#' ## Visualize | ||
#' if (requireNamespace("raster")) { | ||
#' library("raster") | ||
#' x <- lsat_cache_details()[[1]] | ||
#' img <- raster(x$file) | ||
#' plot(img) | ||
#' } | ||
#' } | ||
NULL |
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
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.
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.