I am having the same problem as the OP. I understand Robert's response, but I
don't think it applies to my situation. Any ideas?
Here are my rasters:
from.rast
class : RasterLayer
band: 2
dimensions : 96, 192, 18432 (nrow, ncol, ncell)
resolution : 1.875,
Oh, I see. My 'from.rast' extent is given from (0,360) degrees longitude,
rather than (-180, 180). I fixed that per this thread:
https://stat.ethz.ch/pipermail/r-sig-geo/2011-March/011155.html
And then the projection works fine.
--
View this message in context:
G'day,
I have been trying to change a raster from one projection, with a high
resolution, to a new projection, and a lower resolution. When I use
projectRaster the new object that is produced does not contain any values. Am I
using projectRaster incorrectly, my rasters and code is below? Any