In the past I have used IDV to load and view data from a netcdf file
(CF-compliant) accessed over http (I use Tomcat as the web server, not
that that should matter). this is NOT an opendap server in any way.
This is probably a http server configuration. To access netcdf files via
http you need to have byte ranges turned on on your server:
Now, in IDV 2.4, this is failing. I get this error:
java.io.IOException: Server does not support byte Ranges
As to the below opendap request that returns a 404 that is how the
IDV/Java netcdf code works. It will first try to open the url as an
(the .dds). This fails with a 404. Then it tries it as a http. Perhaps
you did not see that in your tcpmon output?
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
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
it 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)
It 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.
idvusers mailing list
For list information, to unsubscribe, visit: http://www.unidata.ucar.edu/mailing_lists/