Hi,
gdal_translate() by default returns NULL, but also writes your
destination tiff to the specified location, in this case
modisndvi.tiff in your working directory. Is that file not created?
>From ?gdal_translate:
Value:
NULL or if(output_Raster), a RasterBrick.
So what you're seeing is
Hi,
I have a very simple problem which I couldn't solve nowadays: I can't convert
'.hdf' files to '.tif' files.
I use this code:
install.packages("raster",dependencies = TRUE)
install.packages("rgdal",dependencies = TRUE)
install.packages("rgeos",dependencies = TRUE)