You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here's a first attempt at the raster <-> stars migration table we talked about in #112. Many things are still to define, and I have added my comments on what could or should be implemented (not necessarily in stars) in my humble opinion.
This migration table is currently very rough and many things are for sure imprecise or plain wrong. Any comment or correction is hugely appreciated. In a future I might add some info on xarray and GDAL too, but I'll have to do some more research since I do not use them much.
I post this here so we can get some useful discussion before it goes on the wiki.
LEGEND
? = I am not sure / I do not know how to do that in stars
* = Not present, could be implemented
# = Not present, should be implemented (imho)
Creating objects
raster
stars
{raster, stack, brick} (read)
read_stars or read_stars(along = ...)
{stack, brick} (concatenate layers)
c or c(along = ...)
subset
{[ ] , slice, filter}
addLayer
c() or c(along = ...)
dropLayer
{[ ] , slice, filter}
unstack
combine lapply and {[ ] , slice, filter}
Changing spatial extent and/or resolution of objects