Skip to content

arcStats: do not know how to convert 'locDates' to class "Date"

1 message · Matteo Mattiuzzi

#
Dear Abdulhakim,


which version is your MODIS package? In the last version 0.8-04 this
should work!


Matteo
Dear List,

I'm trying to execute the arcStats function in the MODIS package:

arcStats(product="MYD17A2", collection="005",
extent=list(xmin=-20,xmax=40,ymin=10, ymax=20), begin="2000.08.01",
end="2000.08.31", asMap=TRUE, outName=NULL)?

and I get the following error:

Error in as.Date.default(locDates, "%Y.%m.%d") :
  do not know how to convert 'locDates' to class "Date"

Any fixes out there?