Skip to content

Commit

Permalink
Merge pull request #86 from addelany/main
Browse files Browse the repository at this point in the history
add stac id for models
  • Loading branch information
addelany authored May 24, 2024
2 parents 1d5b6b7 + 633d9ba commit 8666c7a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/build_model.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#' @export
#'
build_model <- function(model_id,
stac_id,
team_name,
model_description,
start_date,
Expand Down Expand Up @@ -60,7 +61,7 @@ build_model <- function(model_id,
"stac_version"= "1.0.0",
"stac_extensions"= list('https://stac-extensions.github.io/table/v1.2.0/schema.json'),
"type"= "Feature",
"id"= model_id,
"id"= stac_id,
"bbox"= list(stac4cast::get_bbox(site_metadata = site_table, sites = site_values)),
"geometry"= list(
"type"= catalog_config$site_type,
Expand Down

0 comments on commit 8666c7a

Please sign in to comment.