[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 archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: Re: ToolsUI ncdump fails on TDS OPeNDAP dataset with range request not supported
  • Date: Mon, 27 Feb 2006 11:06:57 -0700

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