Hi Markus- I've used r.resamp.stats alot, but in this case it dosent appear to be flexible enough to just select the cells I want to do stats on. It's still a lovely routine, however. It would be nice to be able to supply it a matrix mask to make it more flexible, then it could do what I want. Then, it could cook me lunch too. :)
I've now tested the bilinear method in r.resamp.interp, exactly as suggested by Glynn and it works perfectly going to coarser resolution. I imported my interpolates/aggregates made in IDL and r.stats shows only a zero category for the difference of the rasters! Still wondering about r.what and row,col inputs... thanks! Markus Neteler wrote: > > On Wed, Sep 2, 2009 at 4:42 PM, jamesmcc<[email protected]> wrote: >> Thanks Glynn, >> >> I didnt realize that bilinear was what I was doing, though I'm familiar >> with >> it. This should work, though I immediately become concerned by the first >> line of the documentation >> >> r.resamp.interp - Resamples raster map layers to a finer grid using >> interpolation. >> >> since I'm not going to a finer resolution. I noticed that you are the >> author, so I thought I should say something! :) > > see also: > http://grass.osgeo.org/grass64/manuals/html64_user/r.resamp.stats.html > r.resamp.stats - Resamples raster map layers to a coarser grid using > aggregation > > Markus > _______________________________________________ > grass-user mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/grass-user > > -- View this message in context: http://n2.nabble.com/subsampling-to-a-coarser-resolution-tp3563929p3567972.html Sent from the Grass - Users mailing list archive at Nabble.com. _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
