fdetsch / MODIS

Download and processing framework for MODIS imagery. The package provides automated access to the global online data archives LP DAAC, LAADS and NSIDC as well as processing capabilities such as file conversion, mosaicking, subsetting and time series.
Other
57 stars 27 forks source link

Downloading MODIS data issues with getHdf #102

Closed mkettley closed 2 years ago

mkettley commented 4 years ago

I'm trying to download MOD16A2 data. As a precursor to what I need I am running the following code:

hdf = getHdf("MOD16A2", begin = "2017.01.01", end = "2017.01.10"
                           , tileH = 21, tileV = 8)

However when I run this I get the following error repeated multiple times:

sh: -c: line 0: unexpected EOF while looking for matching `"'
sh: -c: line 1: syntax error: unexpected end of file

Any advice would be great, thanks.

fdetsch commented 4 years ago

Have you tried this with the latest development version? This might help narrow down the issue a little bit..

remotes::install_github("MatMatt/MODIS", ref = "develop")
library(MODIS)