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

[IDV #BAB-751935]: URLs as Data Sources



Bryan,

FYI, I get a 403 error "Forbidden You don't have permission to access
/~guarente/idealized_cyclone/isentropic/grib/ on this server."

Best,

Unidata IDV Support


> I have been trying to link to data sources for over a month now trying
> different URL strings.  The URL for my dataset is here:
> http://homes.comet.ucar.edu/~guarente/idealized_cyclone/isentropic/grib/
> 
> There are many files underneath of that directory with the pattern of
> "8712140300_isentropic_08km.grb2f000000" where f000000 represents fhhmmss.
> 
> I considered whether the problem was that the grb2 extension wasn't on the
> end of the file, but changing the filenames to make that the case causes
> errors like below.
> 
> java.io.IOException: GribCollection 8712140300f00_isentropic_24km.grb2 has
> no files
> at
> ucar.nc2.grib.grib2.Grib2CollectionBuilder.createIndex(Grib2CollectionBuilder.java:596)
> at
> ucar.nc2.grib.grib2.Grib2CollectionBuilder.createIndex(Grib2CollectionBuilder.java:435)
> at
> ucar.nc2.grib.grib2.Grib2CollectionBuilder.readOrCreateIndex(Grib2CollectionBuilder.java:148)
> at
> ucar.nc2.grib.grib2.Grib2CollectionBuilder.readOrCreateIndexFromSingleFile(Grib2CollectionBuilder.java:76)
> at
> ucar.nc2.grib.GribIndex.makeGribCollectionFromSingleFile(GribIndex.java:122)
> at ucar.nc2.grib.grib2.Grib2Iosp.open(Grib2Iosp.java:311)
> at ucar.nc2.NetcdfFile.<init>(NetcdfFile.java:1521)
> at ucar.nc2.NetcdfFile.open(NetcdfFile.java:813)
> at ucar.nc2.NetcdfFile.open(NetcdfFile.java:422)
> at ucar.nc2.dataset.NetcdfDataset.openOrAcquireFile(NetcdfDataset.java:699)
> at ucar.nc2.dataset.NetcdfDataset.openDataset(NetcdfDataset.java:421)
> at ucar.nc2.dataset.NetcdfDataset.acquireDataset(NetcdfDataset.java:516)
> 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:1156)
> at
> ucar.unidata.data.grid.GeoGridDataSource.getDataset(GeoGridDataSource.java:1178)
> at
> ucar.unidata.data.grid.GeoGridDataSource.initAfterCreation(GeoGridDataSource.java:502)
> at ucar.unidata.data.DataManager.createDataSource(DataManager.java:1602)
> at
> ucar.unidata.idv.IntegratedDataViewer.createDataSource(IntegratedDataViewer.java:1980)
> at
> ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1897)
> at
> ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1831)
> at
> ucar.unidata.idv.IntegratedDataViewer.handleAction(IntegratedDataViewer.java:1673)
> at ucar.unidata.idv.DefaultIdv.handleAction(DefaultIdv.java:114)
> at
> ucar.unidata.idv.IntegratedDataViewer.handleAction(IntegratedDataViewer.java:1605)
> 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:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at ucar.unidata.util.Misc$2.run(Misc.java:1215)
> at ucar.unidata.util.Misc$3.run(Misc.java:1243)
> 
> 
> Any thoughts on how to get this to work?  I can use the file after I
> download it locally and then don't use the URL option to load the data, but
> this is NOT ideal.  I need a solution to let students pull the data from a
> URL.
> 
> Let me know if there are other things to try or if you have any questions I
> can answer to help find a solution.
> 
> --
> Bryan Guarente
> Instructional Designer/Meteorologist
> The COMET Program
> Boulder, CO
> 
> 


Ticket Details
===================
Ticket ID: BAB-751935
Department: Support IDV
Priority: Normal
Status: Open