From c7e74f380d3a22cbc0e0aae9d4d1ef59c79e7193 Mon Sep 17 00:00:00 2001 From: addelany Date: Tue, 16 Jul 2024 14:29:17 -0500 Subject: [PATCH] fix bbox array --- R/build_model.R | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/R/build_model.R b/R/build_model.R index ddd6678..5b8eb26 100644 --- a/R/build_model.R +++ b/R/build_model.R @@ -70,7 +70,8 @@ build_model <- function(model_id, "stac_extensions"= list('https://stac-extensions.github.io/table/v1.2.0/schema.json'), "type"= "Feature", "id"= stac_id, - "bbox"= list(stac4cast::get_bbox(site_metadata = site_table, sites = site_values)), + #"bbox"= list(stac4cast::get_bbox(site_metadata = site_table, sites = site_values)), + "bbox"= stac4cast::get_bbox(site_metadata = site_table, sites = site_values), "geometry"= list( "type"= catalog_config$site_type, "coordinates"= stac4cast::get_site_coords(site_metadata = site_table, sites = site_values)