R: Functions to work with file info tibble

file_info_functions {sits} | R Documentation

## Functions to work with file info tibble

### Description

Functions to work with file info tibble

### Usage

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

    .file_info_nrows(cube)

    .file_info_ncols(cube)

    .file_info_path(cube)

    .file_info_xres(cube)

    .file_info_yres(cube)

    .file_info_fids(cube)

    .file_info_timeline(cube)

    .file_info_timeline_wtss(cube)

    .file_info_start_date(cube)

    .file_info_end_date(cube)

    .file_info_bands(cube)

### Arguments

`cube` | input data cube
`bands` | bands to be filtered
`fid` | feature id (fid) to be filtered

### Details

Return the file info for a cube with a single tile Filter by bands if required

Return number of rows for a given tile Throws an error if rows are not equal

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

Returns a single path to a file Throws an error if there is more than one path

Returns the X resolution for a single tiled cube Throws an error if resolution is not unique

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

Returns the file ids for a single tiled cube

Returns timeline for a single tiled cube

Returns timeline for a single tiled cube

Returns start date for a single tiled cube Throws an error if cube is not a processed one

Returns start date for a single tiled cube Throws an error if cube is not a processed one

Returns the bands for the cube Throws an error bands are NULL

### Value

vector with requested information

### Author(s)

Rolf Simoes, rolf.simoes@inpe.br

[Package sits version 0.16.1 Index]