<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <DEFANGED_meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Hamish,<br>
<br>
Thanks for your help! No, I do not see;<br>
<br>
<pre wrap="">r.in.gdal -f in=foo out=bar | grep -i cdf
  GMT (rw): GMT NetCDF Grid Format
  netCDF (ro): network Common Data Format
</pre>
when I run 'r.in.gdal -f in=foo out=bar | grep -i cdf<br>
<br>
So, your best guess is that a gdal lib is being picked up without
netcdf support. I'm not sure how this can be since I built all the
libs. Due to local admin restrictions I had to put the gdal libs (and
proj libs, etc.) in with the GRASS libs. How can I be sure that the
gdal lib correctly built with netcdf support?<br>
<br>
I do have one question, when building gdal, am I suppose to set the
flag for GRASS support? I tried that once and got some error, so I
*maybe* mistakenly thought that I should not do that.<br>
<br>
Regards,<br>
Tom<br>
<br>
<br>
Hamish wrote:<br>
<blockquote type="cite"
 cite="mid20050528131437.0259c555.hamish_nospam@yahoo.com">
  <blockquote type="cite">
    <pre wrap="">I need to import netcdf files into GRASS 6.0.0. I successfully built 
GRASS 6.0.0 with gdal support (and previously built gdal with netcdf 
support), but when I try to import the netcdf file, GRASS tells me
it's  an unsupported format. The r.in.gdal -f option confirms that
netcdf is  not supported as it is available in GRASS. I don't
understand.
    </pre>
  </blockquote>
  <pre wrap=""><!---->

does this list it?

gdalinfo --formats

if so it should work with GRASS too, but make sure you don't have
multiple GDAL libraries installed, GRASS might be picking up the one
without netcdf support.


Quick solution:
 convert to a GeoTIFF or something with 'gdal_translate' and load that.



Hamish
  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
Thomas E Adams
National Weather Service
Ohio River Forecast Center
1901 South State Route 134
Wilmington, OH 45177

EMAIL:        <a class="moz-txt-link-abbreviated" href="mailto:thomas.adams@noaa.gov">thomas.adams@noaa.gov</a>

VOICE:        937-383-0528
FAX:        937-383-0033</pre>
</body>
</html>