<div dir="ltr">Michael,<div><br></div><div>Thank you very much for the help.  Yes that worked.  I imported the data and then specified the bounds with r.region.  A couple of issues though:  1)  the map projection of the original NetCDF data grid is a Mercator projection, so now the raster is not georeferenced exactly right.  Is there a way to change the projection to Mercator and correct this?  2)  the lat lon values I put in for the bounds in r.region are for the center of the cells, so do I need to add half a grid cell padding on each edge when I specify the region?</div>

<div><br></div><div>The NetCDF file also includes grids of lat and lon values for each grid cell.  Is there anyway to properly georeference the raster in GRASS using this data?  I seemed to have run across people mentioning this as an option, but it was never spelled out how to do it.</div>

<div><br></div><div>I still don't understand why r.in.gdal can't determine the georeferencing directly from the NetCDF file as the information is included in the file and other graphics viewer programs are able to do so.  I've found a few scattered references to this same problem in user lists, but haven't found where anybody has gotten r.in.gdal to figure out the georeferencing directly from the NetCDF file.</div>

<div><br></div><div>Thanks again,</div><div>Lee</div><div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Nov 13, 2013 at 10:30 PM, Michael Barton <span dir="ltr"><<a href="mailto:Michael.Barton@asu.edu" target="_blank">Michael.Barton@asu.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word">
Lee,
<div><br>
</div>
<div>I just tested r.in.gdal on a NetCDF map I got from NCAR a year and a half ago. Here is the command:</div>
<div><br>
</div>
<div>r.in.gdal -o -l input="NETCDF:"/Users/cmbarton/Dropbox/Research Projects/NCAR/other_netcdf/ppt_SRESA2_mid_annual_down_anomaly.nc":ppt" output=test_delete</div>
<div><br>
</div>
<div>This works fine, imported into a latlon region. If you'd like to test it out, here is the link to the file:</div>
<div><br>
</div>
<div><a href="https://www.dropbox.com/s/dfgn2lvt9xmmtwa/ppt_SRESA2_mid_annual_down_anomaly.nc" target="_blank">https://www.dropbox.com/s/dfgn2lvt9xmmtwa/ppt_SRESA2_mid_annual_down_anomaly.nc</a></div>
<div><br>
</div>
<div>If this does NOT work for you, there is something off with your gdal installation. Try downloading and reinstalling gdal for the dev versions from my site. Let me know how it turns out</div>
<div><br>
</div>
<div>Michael</div>
<div><div class="im"><br>
<div><span style="border-collapse:separate;font-family:Helvetica;border-spacing:0px">
<div style="word-wrap:break-word">
<span style="border-spacing:0px;text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
<div style="word-wrap:break-word">
<span style="border-spacing:0px;text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
<div style="word-wrap:break-word">
<span style="border-spacing:0px;text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
<div style="word-wrap:break-word">
<span style="border-spacing:0px;text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
<div style="word-wrap:break-word">
<span style="border-spacing:0px;text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
<div style="word-wrap:break-word">
<span style="border-spacing:0px;text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
<div style="word-wrap:break-word">
<span style="border-spacing:0px;text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:12px;white-space:normal;font-family:Helvetica;word-spacing:0px">
<div style="word-wrap:break-word">
<div>
<div>____________________</div>
<div>C. Michael Barton</div>
<div>Director, Center for Social Dynamics & Complexity </div>
<div>Professor of Anthropology, School of Human Evolution & Social Change</div>
<div>Arizona State University</div>
<div><br>
</div>
voice: <span style="white-space:pre-wrap"> </span><a href="tel:480-965-6262" value="+14809656262" target="_blank">480-965-6262</a> (SHESC), 480-965-8130/727-9746 (CSDC)<br>
fax:          <a href="tel:480-965-7671" value="+14809657671" target="_blank">480-965-7671</a> (SHESC),  <a href="tel:480-727-0709" value="+14807270709" target="_blank">480-727-0709</a> (CSDC)<br>
<div>www: <a href="http://www.public.asu.edu/~cmbarton" target="_blank">http://www.public.asu.edu/~cmbarton</a>,
<a href="http://csdc.asu.edu" target="_blank">http://csdc.asu.edu</a></div>
<br>
</div>
<br>
</div>
</span><br>
</div>
</span><br>
</div>
</span><br>
</div>
</span><br>
</div>
</span><br>
</div>
</span><br>
</div>
</span><br>
</div>
</span><br>
<br>
</div>
<br>
</div><div>
<div>On Nov 13, 2013, at 10:37 PM, Lee Eddington <<a href="mailto:lee.w.eddington@gmail.com" target="_blank">lee.w.eddington@gmail.com</a>></div>
<div> wrote:</div><div><div class="h5">
<br>
<blockquote type="cite">
<div dir="ltr">Michael,
<div><br>
</div>
<div>That was my post.  I still haven't gotten the problem resolved.  I didn't think a question about what's in your GDAL binaries was appropriate for there, but I will post it if you feel it might be helpful.</div>

<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">Thanks,<br>
Lee</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Nov 13, 2013 at 6:18 PM, Michael Barton <span dir="ltr">
<<a href="mailto:Michael.Barton@asu.edu" target="_blank">Michael.Barton@asu.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Lee,
<div><br>
</div>
<div>I've just seen a very similar issue come across the GRASS user list. Could you post to that list so that more users and developers can help to debug it?</div>
<div><br>
</div>
<div>Michael<br>
<div><span style="border-spacing:0px;text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
<div style="word-wrap:break-word"><span style="border-spacing:0px;text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
<div style="word-wrap:break-word"><span style="border-spacing:0px;text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
<div style="word-wrap:break-word"><span style="border-spacing:0px;text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
<div style="word-wrap:break-word"><span style="border-spacing:0px;text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
<div style="word-wrap:break-word"><span style="border-spacing:0px;text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
<div style="word-wrap:break-word"><span style="border-spacing:0px;text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
<div style="word-wrap:break-word"><span style="border-spacing:0px;text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:12px;white-space:normal;font-family:Helvetica;word-spacing:0px">
<div style="word-wrap:break-word">
<div>
<div>____________________</div>
<div>C. Michael Barton</div>
<div>Director, Center for Social Dynamics & Complexity </div>
<div>Professor of Anthropology, School of Human Evolution & Social Change</div>
<div>Arizona State University</div>
<div><br>
</div>
voice: <span style="white-space:pre-wrap"> </span><a href="tel:480-965-6262" value="+14809656262" target="_blank">480-965-6262</a> (SHESC), 480-965-8130/727-9746 (CSDC)<br>
fax:          <a href="tel:480-965-7671" value="+14809657671" target="_blank">480-965-7671</a> (SHESC),  <a href="tel:480-727-0709" value="+14807270709" target="_blank">480-727-0709</a> (CSDC)<br>
<div>www: <a href="http://www.public.asu.edu/~cmbarton" target="_blank">http://www.public.asu.edu/~cmbarton</a>,
<a href="http://csdc.asu.edu/" target="_blank">http://csdc.asu.edu</a></div>
<br>
</div>
<br>
</div>
</span><br>
</div>
</span><br>
</div>
</span><br>
</div>
</span><br>
</div>
</span><br>
</div>
</span><br>
</div>
</span><br>
</div>
</span><br>
<br>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div></div></div>
<br>
</div>
</div>

</blockquote></div><br></div></div>