[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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 

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


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 ?


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.