Prepare Landtrendr AGB data for the SDA workflow.
Source:R/Landtrendr_AGB_prep.R
Landtrendr_AGB_prep.RdPrepare Landtrendr AGB data for the SDA workflow.
Usage
Landtrendr_AGB_prep(
site_info,
start_date,
end_date,
time_points,
AGB_indir,
outdir = NULL,
export_csv = TRUE,
allow_download = FALSE,
buffer = NULL,
skip_buffer = TRUE
)Arguments
- site_info
Bety list of site info including site_id, site_name, lon, and lat.
- start_date
Start date of SDA workflow.
- end_date
End date of SDA workflow.
- time_points
A vector contains each time point within the start and end date.
- AGB_indir
Where the Landtrendr AGB data can be accessed.
- outdir
Where the final CSV file will be stored.
- export_csv
Decide if we want to export the CSV file.
- allow_download
If data is missing, should we download the missing data?
- buffer
buffer area to calculate the min var of AGB data.
- skip_buffer
flag to skip calculating min var based on buffer area.