Downloads and smooths MODIS LAI/FPAR values for merging into the final LSM model data. Smoothing interpolates values to an half-hourly time step.

fdk_download_modis(df, path, force = FALSE)

Arguments

df

data frame with site info

path

path where to store the MODIS data

force

force a new download even if the data exists in the output path

Value

raw MODIS data saved to a desired path

Details

This is an almost verbatim copy of the routine as used to generate the PLUMBER-2 data. For transparency reasons this part was split out into a function to provide easier debugging and processing options.