Send grass-windows mailing list submissions to grass-windows@lists.osgeo.org
To subscribe or unsubscribe via the World Wide Web, visit http://lists.osgeo.org/mailman/listinfo/grass-windows or, via email, send a message with subject or body 'help' to grass-windows-requ...@lists.osgeo.org You can reach the person managing the list at grass-windows-ow...@lists.osgeo.org When replying, please edit your Subject line so it is more specific than "Re: Contents of grass-windows digest..." Today's Topics: 1. Zonal Statistics - min (rasmus borgstr?m) 2. Re: Zonal Statistics - min (Markus Neteler) 3. Re: Zonal Statistics - min (Markus Neteler) ---------------------------------------------------------------------- Message: 1 Date: Thu, 10 Mar 2011 01:42:39 -0800 (PST) From: rasmus borgstr?m <r...@gras.ku.dk> Subject: [GRASS-windows] Zonal Statistics - min To: grass-windows@lists.osgeo.org Message-ID: <1299750159626-6157065.p...@n2.nabble.com> Content-Type: text/plain; charset=us-ascii Hi I want to calculate the minimum value of a floating point MODIS image (MODISraster) based on defined area of interest (DOSraster) and store this value in a new raster. This can be done by using Zonal Statistics in ArcGIS, but how is it done in GRASS? I tried this one out: r.statistics base=DOSraster cover=MODISraster out=minstats method=min r.category minstats r.mapcalc "field=@minstats" r.univar field The processing looks fine, but I end my with all 0's (also tried with max, average etc.; same results) Can anyone help me out on this rather simple calculation? I have uploaded MODISraster and DOSraster file if anyone wants to test... http://osgeo-org.1803224.n2.nabble.com/file/n6157065/MOD02QKM.A2009033.0320_UTM48N_EV_250_RefSB_b0.tif MOD02QKM.A2009033.0320_UTM48N_EV_250_RefSB_b0.tif & http://osgeo-org.1803224.n2.nabble.com/file/n6157065/dosraster.tif dosraster.tif Cheers, Rasmus -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Zonal-Statistics-min-tp6157065p6157065.html Sent from the Grass - Win mailing list archive at Nabble.com. ------------------------------ Message: 2 Date: Thu, 10 Mar 2011 11:02:29 +0100 From: Markus Neteler <nete...@osgeo.org> Subject: Re: [GRASS-windows] Zonal Statistics - min To: rasmus borgstr?m <r...@gras.ku.dk> Cc: grass-windows@lists.osgeo.org Message-ID: <AANLkTi=gedrB2Js3iRi4oj+awT=8t9ud9t9sgyjhj...@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 On Thu, Mar 10, 2011 at 10:42 AM, rasmus borgstrøm <r...@gras.ku.dk> wrote: > Hi > > I want to calculate the minimum value of a floating point MODIS image > (MODISraster) based on defined area of interest (DOSraster) and store this > value in a new raster. This can be done by using Zonal Statistics in ArcGIS, > but how is it done in GRASS? For GRASS 6, there is the Addon r.univar.zonal: https://svn.osgeo.org/grass/grass-addons/raster/r.univar.zonal/r.univar.zonal.html which has been integrated into GRASS 7 into r.univar: http://grass.osgeo.org/grass70/manuals/html70_user/r.univar.html As a solution, either install the Addon in GRASS 6 or use GRASS 7. Markus ------------------------------ Message: 3 Date: Thu, 10 Mar 2011 17:14:23 +0100 From: Markus Neteler <nete...@osgeo.org> Subject: Re: [GRASS-windows] Zonal Statistics - min To: rasmus borgstr?m <r...@gras.ku.dk> Cc: grass-windows@lists.osgeo.org Message-ID: <AANLkTimvF2TTrerHmuDsX=pSCmh4Hg=uj-kmkhmje...@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 On Thu, Mar 10, 2011 at 11:02 AM, Markus Neteler <nete...@osgeo.org> wrote: > On Thu, Mar 10, 2011 at 10:42 AM, rasmus borgstrøm <r...@gras.ku.dk> wrote: >> Hi >> >> I want to calculate the minimum value of a floating point MODIS image >> (MODISraster) based on defined area of interest (DOSraster) and store this >> value in a new raster. This can be done by using Zonal Statistics in ArcGIS, >> but how is it done in GRASS? > > For GRASS 6, there is the Addon r.univar.zonal: > https://svn.osgeo.org/grass/grass-addons/raster/r.univar.zonal/r.univar.zonal.html > > which has been integrated into GRASS 7 into r.univar: > http://grass.osgeo.org/grass70/manuals/html70_user/r.univar.html > > As a solution, either install the Addon in GRASS 6 or use GRASS 7. winGRASS7 is back now: http://josef.fsv.cvut.cz/wingrass/grass70/ Markus ------------------------------ _______________________________________________ grass-windows mailing list grass-windows@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-windows End of grass-windows Digest, Vol 54, Issue 6 ********************************************