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.
Hi Dave- > Institution: San Francisco State University > Package Version: 2.0 > Operating System: os.name:Mac OS X; os.arch:i386; os.version:10.4.8; > Hardware Information: java.vendor:Apple Computer, Inc.; > java.version:1.5.0_06; > java.home:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home; > j3d.version:1.3.1; j3d.vendor:Apple Computer, Inc.; j3d.renderer:OpenGL; > Inquiry: An error has occurred: > There was an error loading the data: > Server does not support Range requests, code= 200 The HTTP server needs to support HTTP 1.1 or later and be configured to set the "Content-Length" and "Accept-Ranges: bytes" headers to allow accessing netCDF files on it. Of course, this little tidbit is not currently anywhere in the IDV docs (it's hidden in the netCDF Java user's guide), but I've updated the Data Formats and Sources page for the next release to indicate this. What is the make and model of your web server? > Circumstances for this error: > > -- Loading global GFS analysis data file via URL. > -- URL of file: > http://funnel.sfsu.edu/data/cases/040828_cstlsurge/GRIB/04082800_gfs_F00.grb > -- IDV v2.0 > -- iMac (Intel), 1 GB RAM > > The file resides on another machine in our local network with a Web server > running on it. > I can browse to the file and can see it listed, but I can't load it as a URL. > I can load the same file > just fine, however, by navigating to it (it resides on a mounted disk) and > loading it directly. When you are accessing it as a file, you can do the random access that netCDF uses. > When loading it that way I can display a number of variables successfully. > > ****************** > Stack trace: > 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.grib.grib1.Grib1Input.scan(Grib1Input.java:149) > at ucar.grib.grib1.Grib1Indexer.writeFileIndex(Grib1Indexer.java:79) > at > ucar.nc2.iosp.grib.GribServiceProvider.writeIndex(GribServiceProvider.java:138) > at > ucar.nc2.iosp.grib.GribServiceProvider.getIndex(GribServiceProvider.java:123) > at ucar.nc2.iosp.grib.GribServiceProvider.open(GribServiceProvider.java:58) > at ucar.nc2.NetcdfFile.<init>(NetcdfFile.java:808) > at ucar.nc2.NetcdfFile.open(NetcdfFile.java:351) > at ucar.nc2.NetcdfFile.open(NetcdfFile.java:229) > at ucar.nc2.NetcdfFile.open(NetcdfFile.java:174) > at ucar.nc2.dataset.NetcdfDataset.openFile(NetcdfDataset.java:295) > at ucar.nc2.dataset.NetcdfDataset.openDataset(NetcdfDataset.java:150) > at ucar.nc2.dataset.NetcdfDatasetCache.acquire(NetcdfDatasetCache.java:190) > at ucar.nc2.dataset.NetcdfDatasetCache.acquire(NetcdfDatasetCache.java:170) > at ucar.nc2.dataset.grid.GridDataset.open(GridDataset.java:70) > at ucar.nc2.dataset.grid.GridDataset.factory(GridDataset.java:79) > at > ucar.unidata.data.grid.GeoGridDataSource.doMakeDataSet(GeoGridDataSource.java:369) > at > ucar.unidata.data.grid.GeoGridDataSource.getDataset(GeoGridDataSource.java:385) > at > ucar.unidata.data.grid.GeoGridDataSource.initAfterCreation(GeoGridDataSource.java:293) > at ucar.unidata.data.DataManager.createDataSource(DataManager.java:1049) > at > ucar.unidata.idv.IntegratedDataViewer.createDataSource(IntegratedDataViewer.java:1558) > at > ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1488) > at > ucar.unidata.idv.IntegratedDataViewer.handleAction(IntegratedDataViewer.java:1345) > at ucar.unidata.idv.DefaultIdv.handleAction(DefaultIdv.java:116) > at > ucar.unidata.idv.IntegratedDataViewer.handleAction(IntegratedDataViewer.java:1292) > at > ucar.unidata.idv.control.TextDisplayControl$10.run(TextDisplayControl.java:1412) > at ucar.unidata.util.Misc$2.run(Misc.java:924) Don Murray Ticket Details =================== Ticket ID: DML-647530 Department: Support IDV Priority: Normal Status: Open