MODIS
MODIS copied to clipboard
runGdal with local Hdf
I am sorry I have met a base trouble when runGdal with local Hdf file. I have downloaded a Hdf file from chrome (I must use proxy when downloading the data), and saved it in a folder :D:/ET, with the below code, I get an error of: "Error in product@CCC[[product@PRODUCT[z]]] : subscript out of bounds", would you please show me what is the corret way to do so?
require(MODIS) setwd("D:/ET") hdf=file.path("D:/ET","MOD16A2.A2020097.h23v07.006.2020113000821.hdf") p=runGdal(product="Mod16A2",tileH=23,tileV=7,begin="2020091",end="2020097",SDSstring = "1",localArcPath=getwd())