Skip to content
Prev 20192 / 29559 Next

resampling MODIS-based raster to PRISM raster to obtain same extent

Julie,
You raise an important question that is often overlooked. While it is
possible to use resample as you suggest; you would want to avoid it
because it leads to loss of data quality (although in practice this is
often minimal and irrelevant).

You state that you "project it to the same geographic coordinate
system as PRISM precip. data". But that is an incomplete statement for
raster data. What you need to do is to project the NDVI data to the
raster definition used by PRISM. That includes the coordinate system,
but also the origin (or extent) and resolution of that raster. I do
not think MRT supports setting these parameters; in which case you
should not use it. You can use GDAL instead. On Linux this can be done
with rgdal; on windows you can use FWTools instead, or perhaps the new
gdalUtils package?

Robert
On Mon, Jan 13, 2014 at 3:39 PM, Julie Lee-Yaw <julleeyaw at yahoo.ca> wrote: