extract_phenology_MODIS.Rd
Get MODIS phenology data by date and location
extract_phenology_MODIS(
site_info,
start_date,
end_date,
outdir,
run_parallel = TRUE,
ncores = NULL
)
A dataframe of site info containing the BETYdb site ID, site name, latitude, and longitude, e.g.
Start date to download data
End date to download data
Path to store the outputs
optional method to download data parallely. Only works if more than 1 site is needed and there are >1 CPUs available.
number of cpus to use if run_parallel is set to TRUE. If you do not know the number of CPU's available, enter NULL.
the path for output file The output file will be saved as a CSV file to the outdir. Output column names are "year", "site_id", "lat", "lon", "leafonday","leafoffday","leafon_qa","leafoff_qa"