Dear List members, I am requesting help again on the problem below. If anyone has used the moving average functionality in gdal_grid, it would be great to see your example, especially if you have produced outputs that either are netcdf or ascii grids, or could be converted to them via gdal_translate or imagemagik convert.
Regards, -Andy On Tue, Jan 26, 2010 at 11:10 AM, Andy Wood <aw...@3tier.com> wrote: > Dear List, > > I'm a novice to gdal and have been trying to apply the moving average > algorithm to CSV (or gridded) data to produce grids in either ESRI arc/info > Ascii or NetCDF format. I've tried a range of command variations with no > success (just get the usage message). > > A typical attempt looks like the following: > > > gdal_grid -a > average:radius1=2.0:radius2=2.0:angle=0.0:min_points=4:nodata=-99.0 -outsize > 48 48 -txe -107.5 -104.5 -tye 22.5 25.5 -of AAIGrid -l robf robf.m2.csv > robf.m2.MA.asc > > with the CSV data file (robf.m2.csv) looking like: > > -104.53125,22.53125,4.631 > -104.59375,22.53125,3.988 > -104.65625,22.53125,2.785 > -104.71875,22.53125,2.660 > ... > > The grid I'm trying to create would be in a geographic (decimal degree) > projection; I'm not sure if that matters. I'm working on mac osx. > > I don't think I have the basic syntax down, and if anyone could help me > with it, I think that would get me past the hump and open up all the other > commands as well. > > Thanks in advance, > -Andy > > > > > >
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev