NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
Now, in IDV 2.4, this is failing. I get this error: java.io.IOException: Server does not support byte Rangesat ucar .unidata.io.http.HTTPRandomAccessFile.<init>(HTTPRandomAccessFile.java: 99) at ucar .unidata.io.http.HTTPRandomAccessFile.<init>(HTTPRandomAccessFile.java: 78)
at ucar.nc2.NetcdfFile.getRaf(NetcdfFile.java:283) at ucar.nc2.NetcdfFile.open(NetcdfFile.java:264) at ucar.nc2.dataset.NetcdfDataset.openFile(NetcdfDataset.java:335)For debug, I put tcpmon in between IDV and my web server. When IDV issues this request
HEAD /uwme/netcdf/2007031700-gasp-d2.nc.dds HTTP/1.1 User-Agent: Java/1.5.0_13 Host: localhost:8080 Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 Connection: keep-aliveit gets this response (since we have no .dds file nor servlet mapped to service the url)
HTTP/1.1 404 /uwme/netcdf/2007031700-gasp-d2.nc.dds Date: Mon, 17 Mar 2008 20:38:17 GMT Server: Apache/2.2.6 (Fedora) Connection: close Content-Type: text/html;charset=ISO-8859-1It appears as if the 404 response is throwing the IDV error. Weird thing is that there is no 'byte range' http header in the request??
Looking at the stack trace above, maybe the issue lies in the netcdf- java package, since IT contains the HttpRandomAccessFile class???
Any help appreciated.PS: If I download a nc file from my web site using a browser and then load that from local disk in IDV, the file loads OK.
Stuart
idvusers
archives: