I am trying to subset some MODIS products to a common spatial extent. I need to subset the MOD12 (land cover) and MOD13 (vegetation indices). They have been reprojected to a common UTM coordinate system with the same datum. I stacked several MOD13 dates and subset in one step using "Layer Stacking" and using the "Spatial Subset" option. I designated the corner coordinates for the subset and got the desired result. Next, I tried to again use "Layer Stacking" with the "Spatial Subset" option to subset the MOD12 to the same extent as the MOD13 product. This time I did not use the coordinates to subset like I did with MOD13, instead I used the subset by file option.
The resulting image has one more line and one more sample than the input. For example, if the dimensions of the MOD13 image are n by n, then the output MOD12 image is n+1 by n+1
What have I done wrong?
|