Learn R Programming

satres (version 1.1.1)

get_spatial_resolution: Get spatial resolutions

Description

Returns the spatial resolutions of the multi-band raster that make up the object.

Usage

get_spatial_resolution(sr)

# S3 method for satres get_spatial_resolution(sr)

Value

A vector of strings.

Arguments

sr

A satres object.

See Also

sat_untarzip

Other satellite definition: get_band_names(), get_spectral_band_names(), satres()

Examples

Run this code

esa <- system.file("extdata", "esa", package = "satres")
sr <- satres(dir = esa)

r <- sr |>
     get_spatial_resolution()

Run the code above in your browser using DataLab