Get MODIS phenology data by date and location

extract_phenology_MODIS(
  site_info,
  start_date,
  end_date,
  outdir,
  run_parallel = TRUE,
  ncores = NULL
)

Arguments

site_info

A dataframe of site info containing the BETYdb site ID, site name, latitude, and longitude, e.g.

start_date

Start date to download data

end_date

End date to download data

outdir

Path to store the outputs

run_parallel

optional method to download data parallely. Only works if more than 1 site is needed and there are >1 CPUs available.

ncores

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.

Value

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"

Author

Qianyu Li