Dear List members, <br><br>For a third time, I am requesting assistance on the issue below. Does anyone in this community know how to use the moving average command to produce a grid from a CSV? It must be a simple issue. gdal seems like a promising piece of software, but is unlikely to be of much use to anyone if the community is so small that it cannot address simple requests from new users. For comparison, the first time I emailed the GMT users list, I had a response within hours. <br>
<br>Thanks,<br>Andy<br>__________________________<br>Andy Wood, PhD<br>Lead Scientist<br>3TIER Inc.<br>2001 6th Avenue, Suite 2100<br>Seattle, WA 98121<br><a href="http://www.3tier.com">www.3tier.com</a><br><br><br><div class="gmail_quote">
On Sat, Jan 30, 2010 at 10:52 AM, Andrew Wood <span dir="ltr"><<a href="mailto:andywood.home@gmail.com" target="_blank">andywood.home@gmail.com</a>></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;">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"><<a href="mailto:awood@3tier.com" target="_blank">awood@3tier.com</a>></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'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). </div>
<div><br></div><div>A typical attempt looks like the following:</div><div><br></div><div>> 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'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.</div><div><br></div><div>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.</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>
</blockquote></div><br>