Learn R Programming

getlandsat (version 0.2.0)

lsat_scene_files: List files for a Landsat scene

Description

List files for a Landsat scene

Usage

lsat_scene_files(x, ...)

Arguments

x

(character) A URL to a scene html file

...

Curl options passed on to crul::HttpClient()

Value

A data.frame with two columns:

  • file - file name

  • size - file size

Details

This function fetches files available in a scene, while lsat_scenes() lists the scenes, but not their files

See Also

lsat_scenes()

Examples

Run this code
# NOT RUN {
res <- lsat_scenes(n_max = 10)
lsat_scene_files(x = res$download_url[1])
lsat_scene_files(x = res$download_url[2])
# }

Run the code above in your browser using DataLab