From aa41fe06933d5adcffbd0b4e254292977e7d3cd3 Mon Sep 17 00:00:00 2001 From: Sharla Gelfand Date: Wed, 1 Oct 2025 09:21:46 -0400 Subject: [PATCH] Download metadata too --- fire_detection.Rmd | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fire_detection.Rmd b/fire_detection.Rmd index 9bae870..96465a0 100644 --- a/fire_detection.Rmd +++ b/fire_detection.Rmd @@ -71,7 +71,6 @@ collections_query <- stac_source |> rstac::collections() collections_query - ``` ```{r} @@ -156,6 +155,10 @@ rstac::assets_download(item2, "B08_10m", overwrite = TRUE, output_dir = tempdir()) +rstac::assets_download(item2, + "product_metadata", + overwrite = TRUE, + output_dir = asset_dir) # Access the downloaded ZARR output_file2 <- file.path(