[gdal-dev] batch for mean by gdal_calc

Giuseppe Amatulli giuseppe.amatulli at gmail.com
Mon Aug 27 09:26:15 PDT 2012


check also
oft-cal in open foris
http://km.fao.org/OFwiki/index.php/Oft-calc

something  like

oft-calc stk_sseb_2001 stk_sseb_2001_ave.tif<<EOF
1
#1 #2 #3 #4 + + +  4 /
EOF

all the best
Giuseppe
Web: www.spatial-ecology.net


On 21 August 2012 23:32, sigologo <dlopezaspe at gmail.com> wrote:
> Hello Gdalers!!!
>
> I'm calculated mean for many image MODIS is posible simply this
> calculation!!!! is tooo large...
>
> gdal_calc.py -A MOD13A3_2001001_.tif -B MOD13A3_2002001_.tif -C
> MOD13A3_2003001_.tif -D MOD13A3_2004001_.tif -E MOD13A3_2005001_.tif -F
> MOD13A3_2006001_.tif -G MOD13A3_2007001_.tif -H MOD13A3_2008001_.tif -I
> MOD13A3_2009001_.tif -J MOD13A3_2010001_.tif -K MOD13A3_2011001_.tif -L
> MOD13A3_2012001_.tif --outfile=MEAN_001.tif
> --calc="(A+B+C+D+E+F+G+H+I+J+K+L)/12"
>
> Regards
>
>
>
> --
> View this message in context: http://osgeo-org.1560.n6.nabble.com/batch-for-mean-by-gdal-calc-tp4996911.html
> Sent from the GDAL - Dev mailing list archive at Nabble.com.
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev



-- 
Giuseppe Amatulli
Web: www.spatial-ecology.net


More information about the gdal-dev mailing list