call_MODIS.Rd
Get MODIS data by date and location
call_MODIS(outfolder = ".", fname = "m_data.nc", start_date, end_date, lat, lon, size = 0, product = "MOD15A2", band = "Lai_1km", qc_band = NA, sd_band = NA, verbose = TRUE)
outfolder | where the output file will be stored |
---|---|
fname | name of netcdf file to output |
start_date | beginning of date range for LAI download in unambiguous date format |
end_date | end of date range for LAI download in unambiguous date format |
lat | Latitude of the pixel |
lon | Longitude of the pixel |
size | NS and WE distance in km to be included |
product | MODIS product number |
band | which measurement to extract |
qc_band | which quality control band (optional) |
sd_band | which standard deviation band (optional) |
verbose | tell python whether or not to print debug statements (all or nothing) depends on a number of Python libraries. sudo -H pip install numpy suds netCDF4 |
# NOT RUN { test <- call_MODIS(start="2001001",end="2016366",lat=44.0646,lon=-71.28808,size=3,qc_band = "FparLai_QC",sd_band = "LaiStdDev_1km") # }# NOT RUN { # }