Describes the dataset's per-taxon surfaces as a static GeoParquet asset plus
the live DuckDB-SQL TiTiler endpoint (as a web-map link + an alternate asset),
parameterized by {mdl_seq}. If the dataset has more than one prediction
interval, a datacube temporal/season dimension enumerates them.
Usage
stac_model_cell_item(
ds,
cfg,
time_periods = NULL,
mdl_key_ex = NA_character_,
id_field = c("mdl_key", "mdl_seq"),
cog_ex = NA_character_,
has_native_asset = FALSE
)Arguments
- ds
one-row data.frame from
dataset- cfg
config from
stac_cfg()- time_periods
character vector of distinct
model.time_periodfor the dataset- mdl_key_ex
a representative
mdl_keyof the dataset, baked into the example tile links- id_field
"mdl_key"(v8 onward) or"mdl_seq"— a LEGACY release (v1–v7b,usa05grid). A legacy release publishes nodist_merged/Parquet and is not served by the SQL tile factory: its surfaces are one content-addressed COG per model, registered intables/model_asset.parquet, so that registry is the Item's data asset and the example tile links go through titiler's stock/cog.- cog_ex
for a legacy release, the
cog_urlof a representative model (example links);NAomits the links rather than inventing one.- has_native_asset
TRUEwhen the release publishestables/native_asset.parquet(the pointer table of per-model COG / PMTiles files in the content-addressed store); a raster or vector dataset then gets onenative_assetasset linking it.FALSE(default) emits no per-model file asset rather than a dead link.stac_build()sets it from the release's tables.