On Tue, May 12, 2009 at 10:15 AM, Jennifer Adams <span dir="ltr"><<a href="mailto:jma@cola.iges.org">jma@cola.iges.org</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I am able to open this URL with 2.0.a5 and display a variable without<br>
any crashes on my 64-bit linux server and my mac. I suspect the<br>
version of the netcdf library linked with 2.0.a5.oga.5 because of the<br>
"nc3_get_vara_double" in the backtrace. That routine is in netcdf-4.0<br>
but not libdap-3.7.8. --Jennfier<div><div></div><div class="h5"><br></div></div></blockquote></div><br>Confirmed. In fact, doing a ncdump on this URL also segfaults; I have contacted the NetCDF-4 developers about it. In the meantime, there is a work around. It turns out the problem is associated with the coodinate variable time<br>
<br> int time(time) ;<br> time:long_name = "time" ;<br> time:axis = "t" ;<br> time:units = "minutes since 2008-01-01 00:00:00" ;<br><br>which is an integer (instead of a float). (There is nothing wrong with using int for coordinate variables, but it triggers this bug). If you create a simple ddf with 2 lines:<br>
<br>dset <a href="http://oos.soest.hawaii.edu/thredds/dodsC/hioos/nss/ns01/ns01_2009_04_21.nc">http://oos.soest.hawaii.edu/thredds/dodsC/hioos/nss/ns01/ns01_2009_04_21.nc</a><br>TDEF time 360 LINEAR 0z1jan2008 1mn<br><br>
than everything works. Another possibility is to serve the data trough GDS instead of the THREDDS server. Or if rewriting the file is a possibility, making<br> "time" a float would do it as well.<br><br> I'll let you when we have this bug is fixed.<br>
<br> Arlindo<br><br>-- <br>Arlindo da Silva<br><a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a><br>