Learn R Programming

stars (version 0.5-0)

st_raster_type: get the raster type (if any) of a stars object

Description

get the raster type (if any) of a stars object

Usage

st_raster_type(x)

Arguments

x

object of class stars

Value

one of NA (if the object does not have raster dimensions), "curvilinear", "rectilinear", "affine", or "regular"

Examples

Run this code
# NOT RUN {
tif = system.file("tif/L7_ETMs.tif", package = "stars")
x = read_stars(tif)
st_raster_type(x)
# }

Run the code above in your browser using DataLab