Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ramarty committed Dec 13, 2023
1 parent 0af45d2 commit 65e3d4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/blackmarbler.R
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ bm_extract <- function(roi_sf,
roi_df <- roi_sf %>% st_drop_geometry()
roi_df$date <- NULL

n_obs_df <- exact_extract(r, roi_sf, count_n_obs) %>%
n_obs_df <- exact_extract(bm_r, roi_sf, count_n_obs) %>%
bind_cols(roi_df) %>%
tidyr::pivot_longer(cols = -c(names(roi_df)),
names_to = c(".value", "date"),
Expand Down

0 comments on commit 65e3d4e

Please sign in to comment.