Dear List members,<br><br>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. <br>
<br>Regards,<br>-Andy<br><br><div class="gmail_quote">On Tue, Jan 26, 2010 at 11:10 AM, Andy Wood <span dir="ltr">&lt;<a href="mailto:awood@3tier.com">awood@3tier.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="word-wrap: break-word;"><div>Dear List, </div><div><br></div><div>I&#39;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&#39;ve tried a range of command variations with no success (just get the usage message).  </div>
<div><br></div><div>A typical attempt looks like the following:</div><div><br></div><div>&gt; 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</div>
<div> <span style="font-size: 14px;"><div style="word-wrap: break-word;"><span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Calibri; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="word-wrap: break-word;">
<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Calibri; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="word-wrap: break-word;">
<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Calibri; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="word-wrap: break-word;">
<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="word-wrap: break-word;">
<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="word-wrap: break-word;">
<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="word-wrap: break-word;">
<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="word-wrap: break-word;">
<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="word-wrap: break-word;">
<div><br></div><div>with the CSV data file (robf.m2.csv) looking like:</div><div><br></div><div>-104.53125,22.53125,4.631</div><div>-104.59375,22.53125,3.988</div><div>-104.65625,22.53125,2.785</div><div>-104.71875,22.53125,2.660</div>
<div>...</div><div><br></div><div>The grid I&#39;m trying to create would be in a geographic (decimal degree) projection; I&#39;m not sure if that matters.  I&#39;m working on mac osx.</div><div><br></div><div>I don&#39;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.</div>
<div><br></div><div>Thanks in advance, </div><div>-Andy</div><div><br></div><div><br></div></div></span></div></span></div></span></div></span></div></span></div></span></div></span></div></span><br></div></span><br> </div>
<br></div></blockquote></div><br>