
Keep only the named assets in a STAC item collection (or sources table).
stac_filter_assets.RdDrops every other asset from each item – fewer assets to carry through the
pipeline, and fewer to sign. Apply it BEFORE stac_sign_mpc() so only the
assets you keep get a token (MPC returns every band plus thumbnails and
rendered previews). Items left with none of the requested assets are dropped.
Polymorphic: a STAC doc_items or a stac_sources() table.
Arguments
- sources
A STAC
doc_itemsor astac_sources()data frame.- assets
Asset names to keep.