<div dir="ltr">Chris,<br><br>I corrected the namespace problem on my local machine and it worked for me with Tropical Rainfall data from NASA/GSFC DISC. I will check in the code later today.<br><br>Also, the problem your having on <a href="http://apdrc.soest.hawaii.edu/dods/public_data/SODA/soda_pop2.0.4">http://apdrc.soest.hawaii.edu/dods/public_data/SODA/soda_pop2.0.4</a> is due to the fact that you are using GDS(Grads-DODS) which is meant for Grads. <br>
<br>I will look at the source code and try to find out why the IReadBlock failed. It might be very simple to fix. In fact, I think it would be very nice if GDAL DODS driver support GDS since GDS is georeferenced and a lot of people doing research are using it.<br>
<br>Thanks for your input!<br>Denis<br><br>e.g.<br>gdalinfo -mm <a href="http://disc2.nascom.nasa.gov/opendap/TRMM_L3/TRMM_3B42/2000/004/3B42.000104.12.6.HDF.Z?precipitation[0]">http://disc2.nascom.nasa.gov/opendap/TRMM_L3/TRMM_3B42/2000/004/3B42.000104.12.6.HDF.Z?precipitation[0]</a><br>
[y][x]<br><br>Driver: DODS/DAP 3.x servers<br>Files: none associated<br>Size is 400, 1440<br>Coordinate System is `'<br>Corner Coordinates:<br>Upper Left ( 0.0, 0.0)<br>Lower Left ( 0.0, 1440.0)<br>Upper Right ( 400.0, 0.0)<br>
Lower Right ( 400.0, 1440.0)<br>Center ( 200.0, 720.0)<br>Band 1 Block=400x128 Type=Float32, ColorInterp=Undefined<br> Computed Min/Max=-9999.900,38.662<br> NoData Value=3.82456147081407153e-62<br> Overviews: 200x720, 100x360, 50x180<br>
<br><br>Denis<br><div class="gmail_quote">2008/8/21 Christopher Condit <span dir="ltr"><<a href="mailto:condit@sdsc.edu">condit@sdsc.edu</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Hi Denis-</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">I put this patch in a few months ago addressing this libdap 3.8
issue:</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"><a href="http://trac.osgeo.org/gdal/ticket/2404" target="_blank">http://trac.osgeo.org/gdal/ticket/2404</a></span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">This will get the code to build against libdap3.8 (primarily a
namespace problem), but there are still issues accessing DODS datasources:</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"><a href="http://trac.osgeo.org/gdal/ticket/2492" target="_blank">http://trac.osgeo.org/gdal/ticket/2492</a></span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">If you get some time to look into this it would be great…</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Thanks,</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">-Chris</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<div style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; border-width: medium medium medium 1.5pt; padding: 0in 0in 0in 4pt;">
<div>
<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">
<p><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;">
<a href="mailto:gdal-dev-bounces@lists.osgeo.org" target="_blank">gdal-dev-bounces@lists.osgeo.org</a> [mailto:<a href="mailto:gdal-dev-bounces@lists.osgeo.org" target="_blank">gdal-dev-bounces@lists.osgeo.org</a>] <b>On
Behalf Of </b>Denis Nadeau<br>
<b>Sent:</b> Thursday, August 21, 2008 10:53 AM<br>
<b>To:</b> <a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<b>Subject:</b> [gdal-dev] netcdf driver</span></p>
</div>
</div><div><div></div><div class="Wj3C7c">
<p> </p>
<div>
<p>Hi,<br>
<br>
I will being doing some new development on netCDF driver to make it more CF-1
Compliant. <br>
<br>
Note: when I compiled the netCDF 3.6.2 with HDF4.2r3 (with the flag
--disable-netcdf) I had to change all macros such as
"MAX_NC_NAME" to "H4_MAX_NC_NAME" and many other similar
macros. Need to do some testing on this.<br>
<br>
I also noticed that DODS (dodsdataset2.cpp) does not seem to compile with
libdap3.8.2. There are some major changes in the library for C++. <br>
I will take a look into this as well, but do not promess anything...<br>
<br>
If you have suggestion of improvements for DODS, HDF4 and netCDF drivers, let
me know, I have a little bit of time this coming month.<br>
<br>
Regards,<br>
Denis</p>
</div>
</div></div></div>
</div>
</div>
</blockquote></div><br></div>