Re: ToolsUI ncdump fails on TDS OPeNDAP dataset with range request not supported

this is an intermittent bug in the server, im trying to fix it, thanks for 
reporting.

Ethan Davis wrote:
Looks like the ToolsUI ncdump is trying to do direct HTTP access on this dataset:

http://motherlode.ucar.edu:8080/thredds/dodsC/station/metar/Surface_METAR_20060221_0000.nc

java.io.IOException: Server does not support Range requests, code= 200
at ucar.unidata.io.http.HTTPRandomAccessFile3.read_(HTTPRandomAccessFile3.java:150)
   at ucar.unidata.io.RandomAccessFile.seek(RandomAccessFile.java:297)
   at ucar.nc2.N3header.isValidFile(N3header.java:44)
   at ucar.nc2.NetcdfFile.open(NetcdfFile.java:304)
   at ucar.nc2.NetcdfFile.open(NetcdfFile.java:221)
   at ucar.nc2.NetcdfFile.open(NetcdfFile.java:167)
   at ucar.nc2.dataset.NetcdfDataset.openFile(NetcdfDataset.java:294)
   at ucar.nc2.ui.ToolsUI$NCdumpPanel.run(ToolsUI.java:1002)
   at ucar.nc2.ui.ToolsUI$GetDataTask.run(ToolsUI.java:2161)
   at java.lang.Thread.run(Unknown Source)

It works if I change the "http://"; to "dods://".

Could we catch this and check if it is an OPeNDAP dataset with a ".ver" request ?

Ethan



  • 2006 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the thredds archives: