st_as_stars.csquares {csquares}R Documentation

Coerce csqaures object into a stars object

Description

Take a csquares object created with new_csquares or as_csquares and coerce it to a spatiotemporal array (stars).

Usage

st_as_stars.csquares(x, ...)

Arguments

x

An object of class csquares created with new_csquares or as_csquares

...

ignored.

Value

Returns a spatiotemporal array (stars) object based on x.

Author(s)

Pepijn de Vries

Examples

library(stars)
st_as_stars(as_csquares("7500:110:3|7500:110:1|1500:110:3|1500:110:1"))
st_as_stars(as_csquares(orca, csquares = "csquares"))

[Package csquares version 0.0.7 Index]