Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ramarty committed Apr 19, 2024
1 parent 5285b07 commit 9353b50
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions man/bm_extract.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions man/bm_raster.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions readme_figures/testing.R
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,18 @@ r_202110 <- bm_raster(roi_sf = roi_sf,
h5_dir = "~/Desktop/h5_test",
quiet = T)

r_202110 <- bm_extract(roi_sf = roi_sf,
product_id = "VNP46A3",
variable = "NearNadir_Composite_Snow_Free",
date = "2021-10-01",
bearer = bearer)

a <- terra::extract(r_202110, roi_sf, fun = sum, exact = T)$t2021_10
b <- exact_extract(r_202110, roi_sf, fun = "sum")

plot(r_202110)
plot(roi_sf,add=T)

e_202110 <- bm_raster(roi_sf = roi_sf,
product_id = "VNP46A3",
date = c("2021-10-01", "2021-11-01"),
Expand Down

0 comments on commit 9353b50

Please sign in to comment.