Skip to content

Commit

Permalink
Add namespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dongchen Zhang committed Feb 14, 2024
1 parent 999bb0d commit 79d7e28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/data.remote/R/MODIS_LAI_prep.R
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ MODIS_LAI_prep <- function(site_info, time_points, outdir = NULL, search_window
} else {
return(NA)
}
}) %>% unlist %>% set_names(NULL)
}) %>% unlist %>% purrr::set_names(NULL)
}, .progress = T)
PEcAn.logger::logger.info("Extracting LAI qc products!")
lai_qc <- split(as.data.frame(new_site_info), seq(nrow(as.data.frame(new_site_info)))) %>%
Expand All @@ -142,7 +142,7 @@ MODIS_LAI_prep <- function(site_info, time_points, outdir = NULL, search_window
} else {
return(NA)
}
}) %>% unlist %>% set_names(NULL)
}) %>% unlist %>% purrr::set_names(NULL)
}, .progress = T)
# LAI <- data.frame(matrix(NA, 0, 6)) %>% `colnames<-`(c("date", "site_id", "lat", "lon", "lai", "sd"))
LAI <- data.frame()
Expand Down

0 comments on commit 79d7e28

Please sign in to comment.