laads_search_files: Returns a list of file IDs matching the given search...

Description Usage Arguments Value Examples

View source: R/searchForFiles.R

Description

Returns a list of file IDs matching the given search criteria.

Usage

1
2
3
4
laads_search_files(product = "MCD15A2", collection = NULL,
  start_time = "2010-01-01", end_time = "2015-05-02", north = NULL,
  south = NULL, east = NULL, west = NULL, coords_or_tiles = "global",
  day_night_both = "DNB")

Arguments

product

product name(s), e.g. "MCD43C1" or c("MCD43C1", "MCD43B4"). See laads_products.

collection

collection number. Default is the default collection for the product. See laads_collection.

start_time

start date (and optional time) of the temporal window, "YYYY-MM-DD" or "YYYY-MM-DD hh:mm:ss".

end_time

end date (and optional time) of the temporal window, "YYYY-MM-DD" or "YYYY-MM-DD hh:mm:ss".

north

North boundary of the spatial window, -90 to 90 for coords or 0 to 17 for tiles.

south

South boundary of the spatial window, -90 to 90 for coords or 0 to 17 for tiles.

east

East boundary of the spatial window, -180 to 180 for coords or 0 to 35 for tiles.

west

West boundary of the spatial window, -180 to 180 for coords or 0 to 35 for tiles.

coords_or_tiles

"coords", "tiles" or "global", specifies whether the north/south/west/east parameters are coords or tiles. The north/south/west/east parameters are ignored if global.

day_night_both

specifies whether to include data files which only have day data (D), only have night data (N), or only have both day and night data (B). Possible values are these combinations: "D", "N", "B", "DN", "DB", "NB", "DNB". Default is "DNB".

Value

A data.frame (tibble) with only one column, "file_id".

Examples

1
2
3
4
5
6
7
## Not run: 
laads_search_files(product = "MCD15A2",
                     start_time = "2010-01-01",
                    end_time = "2015-05-02",
                    coords_or_tiles = "global",
                    day_night_both = "DNB")
## End(Not run)

masalmon/laads documentation built on May 21, 2019, 12:40 p.m.