Custom class based on stars objects. The additional
class eupp_stars is used to provide some additional
methods to conveniently process the data.
# S3 method for eupp_stars
[(x, ...)
# S3 method for eupp_stars
[[(x, ...)
# S3 method for eupp_stars
st_extract(x, at, bilinear, atname = NULL, ..., subsequent = NULL)stars object
currently unused.
object of class sf or sfc forwarded to
st_extract
logical, forwarded to st_extract.
Defaults to TRUE (bilinear interpolation); FALSE
results in the use of nearest-neighbour interpolation.
character length 1 or NULL (default).
Can be used to specify a variable in the object at which should
be appended to the final object.
Defaults to NULL, please leave as it is.
Returns an object of class c("sf", "data.frame").
Internally, an eupp_stars object is only a stars
object with one additional attribute (the extra class).
Depending on the stars object this function is calling itself multiple times.
This is controlled using the 'subsequent' argument which becomes a named
vector (internally). As an end-user, please leave this argument NULL.
Have not found a better solution yet.