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

[IDV #MEJ-402737]: Error loading national radar mosaic in GRIB2 format via Web server (HTTP)



Dave,

That's correct. I believe you either have to host it from a DAP server like
RAMADDA or have the file local.

I'll let Sean chime in as to why the URL access does not work (though this makes
sense to me as just grabbing grb files off the web without any server-side
processing or subsetting would defeat many purposes.)

Best,

Unidata IDV Support

> Full Name: Dave Dempsey
> Email Address: address@hidden
> Organization: San Francisco State University
> Package Version: 5.2 build date:2015-08-26 18:19 UTC
> Operating System: Mac OS X
> Hardware: Java: home: /Applications/IDV_5.2/jre.bundle/Contents/Home/jre 
> version: 1.8.0_45 j3d:1.6.0-pre9-daily-experimental daily
> Description of problem: There was an error loading the data:
> Error creating data source:file.grid with: 
> http://virga.sfsu.edu/data/nexrad/nathr/1509230000_nathr.grb
> Grid data source failed making data set: 
> http://virga.sfsu.edu/data/nexrad/nathr/1509230000_nathr.grb
> No records found in dataset 1509230000_nathr.grb
> 
> 
> Trying to load a national radar mosaic in GRIB2 format, which resides on my 
> local machine (virga), via my local Web server (also virga), produces the 
> error message above.
> 
> I have no trouble loading the same data source via the RAMADDA server running 
> on virga or as a local file.
> 
> This sort of problem--accessing  data sources in GRIB2 format via HTTP--came 
> up several years ago, but I don't remember the diagnosis from that time (or, 
> more likely, didn't understand it).
> 
> I've attached a bundle that generates the desired plot successfully using our 
> RAMADDA server. (Of course, I can't attach a bundle created by the IDV that 
> accesses the data via HTTP because the IDV doesn't generate a plot 
> successfully that way._
> 
> ******************
> Stack trace:
> java.lang.IllegalStateException: No records found in dataset 
> 1509230000_nathr.grb
> at 
> ucar.nc2.grib.collection.Grib2CollectionBuilder.makeGroups(Grib2CollectionBuilder.java:155)
> at 
> ucar.nc2.grib.collection.GribCollectionBuilder.createMultipleRuntimeCollections(GribCollectionBuilder.java:150)
> at 
> ucar.nc2.grib.collection.GribCollectionBuilder.createIndex(GribCollectionBuilder.java:138)
> at 
> ucar.nc2.grib.collection.GribCdmIndex.openGribCollectionFromDataFile(GribCdmIndex.java:780)
> at 
> ucar.nc2.grib.collection.GribCdmIndex.openGribCollectionFromDataFile(GribCdmIndex.java:764)
> at 
> ucar.nc2.grib.collection.GribCdmIndex.openGribCollectionFromRaf(GribCdmIndex.java:734)
> at ucar.nc2.grib.collection.GribIosp.open(GribIosp.java:186)
> at ucar.nc2.NetcdfFile.<init>(NetcdfFile.java:1531)
> at ucar.nc2.NetcdfFile.open(NetcdfFile.java:828)
> at ucar.nc2.NetcdfFile.open(NetcdfFile.java:428)
> at ucar.nc2.dataset.NetcdfDataset.openOrAcquireFile(NetcdfDataset.java:748)
> at ucar.nc2.dataset.NetcdfDataset.openDataset(NetcdfDataset.java:427)
> at ucar.nc2.dataset.NetcdfDataset.acquireDataset(NetcdfDataset.java:528)
> at ucar.nc2.dt.grid.GridDataset.open(GridDataset.java:117)
> at ucar.nc2.dt.grid.GridDataset.open(GridDataset.java:103)
> at 
> ucar.unidata.data.grid.GeoGridDataSource.doMakeDataSet(GeoGridDataSource.java:1182)
> at 
> ucar.unidata.data.grid.GeoGridDataSource.getDataset(GeoGridDataSource.java:1204)
> at 
> ucar.unidata.data.grid.GeoGridDataSource.initAfterCreation(GeoGridDataSource.java:507)
> at ucar.unidata.data.DataManager.createDataSource(DataManager.java:1571)
> at 
> ucar.unidata.idv.IntegratedDataViewer.createDataSource(IntegratedDataViewer.java:1979)
> at 
> ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1896)
> at 
> ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1830)
> at 
> ucar.unidata.idv.IntegratedDataViewer.handleAction(IntegratedDataViewer.java:1672)
> at ucar.unidata.idv.DefaultIdv.handleAction(DefaultIdv.java:100)
> at 
> ucar.unidata.idv.IntegratedDataViewer.handleAction(IntegratedDataViewer.java:1604)
> at ucar.unidata.idv.chooser.UrlChooser.loadURLInner(UrlChooser.java:267)
> at ucar.unidata.idv.chooser.UrlChooser.loadURL(UrlChooser.java:239)
> at ucar.unidata.idv.chooser.UrlChooser.doLoadInThread(UrlChooser.java:286)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at ucar.unidata.util.Misc$2.run(Misc.java:1215)
> at ucar.unidata.util.Misc$3.run(Misc.java:1243)
> 
> 
> 


Ticket Details
===================
Ticket ID: MEJ-402737
Department: Support IDV
Priority: Normal
Status: Closed


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.