Learn R Programming

sits (version 1.1.0)

file_info_functions: Functions to work with file info tibble

Description

Functions to work with file info tibble

Usage

.file_info(cube, bands = NULL, fid = NULL, start_date = NULL, end_date = NULL)

.file_info_nrows(cube, bands = NULL)

.file_info_ncols(cube, bands = NULL)

.file_info_path(cube)

.file_info_paths(cube, bands = NULL)

.file_info_xres(cube, bands = NULL)

.file_info_yres(cube, bands = NULL)

.file_info_fids(cube)

.file_info_timeline(cube)

.file_info_start_date(cube)

.file_info_end_date(cube)

.file_info_bands(cube)

Value

Vector with requested information obtained in the file_info.

The file info for a cube with a single tile filtered by bands if required.

Number of rows for a given tile. Throws an error if rows are not equal.

Number of cols for a given tile Throws an error if cols are not equal

A single path to a file throws an error if there is more than one path.

Paths to the cube bands

The X resolution for a single tiled cube. Throws an error if resolution is not unique.

The Y resolution for a single tiled cube Throws an error if resolution is not unique

the file ids for a single tile

the timeline for a single tile

start date for a single tile

end date for a single tile

bands present in the cube

Arguments

cube

Input data cube.

bands

Bands to be filtered

fid

Feature id (fid) to be filtered.

dates

Dates to be filtered.

Author

Rolf Simoes, rolf.simoes@inpe.br