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

[IDV #ZTC-423129]: IDV - Problem reading a remote GRIB file



Hi Tom-

The FTP protocol doesn't support RandomAccess, so you'll have to
copy it locally.

Don

> Institution: ssec
> Package Version: 2.2b2 build date:2007-03-01 15:08 UTC
> Operating System: Windows XP
> Hardware Information: Java: home: C:\\Program Files\\IDV_2.2b2\\jre version: 
> 1.5.0_06 j3d:1.3.2 fcs (build12)
> Inquiry: When I tried to use this URL:
> <ftp://tgftp.nws.noaa.gov/SL.us008001/ST.opnl/MT.nam_CY.12/RD.20070316/PT.grid_DF.gr2/fh.0006_tl.press_gr.awp211>
> 
> I got the error, below.  In the URLs Chooser, I had selected
> a "Data Source Type" as "Grid files".  I could paste the URL into my browser,
> get the file onto my local disk and then read it as
> a "file".
> 
> An error has occurred:
> There was an error loading the data:
> Error creating data source:netcdf.grid with: 
> ftp://tgftp.nws.noaa.gov/SL.us008001/ST.opnl/MT.nam_CY.12/RD.20070316/PT.grid_DF.gr2/fh.0006_tl.press_gr.awp211
> Grid data source failed making data set: 
> ftp://tgftp.nws.noaa.gov/SL.us008001/ST.opnl/MT.nam_CY.12/RD.20070316/PT.grid_DF.gr2/fh.0006_tl.press_gr.awp211
> ftp:\tgftp.nws.noaa.gov\SL.us008001\ST.opnl\MT.nam_CY.12\RD.20070316\PT.grid_DF.gr2\fh.0006_tl.press_gr.awp211
>  (The filename, directory name, or volume label syntax is incorrect)
> 
> ******************
> Stack trace:
> java.io.FileNotFoundException: 
> ftp:\tgftp.nws.noaa.gov\SL.us008001\ST.opnl\MT.nam_CY.12\RD.20070316\PT.grid_DF.gr2\fh.0006_tl.press_gr.awp211
>  (The filename, directory name, or volume label syntax is incorrect)
> at java.io.RandomAccessFile.open(Native Method)
> at java.io.RandomAccessFile.<init>(Unknown Source)
> at java.io.RandomAccessFile.<init>(Unknown Source)
> at ucar.unidata.io.RandomAccessFile.<init>(RandomAccessFile.java:184)
> at ucar.nc2.NetcdfFile.getRaf(NetcdfFile.java:280)
> at ucar.nc2.NetcdfFile.open(NetcdfFile.java:244)
> at ucar.nc2.dataset.NetcdfDataset.openFile(NetcdfDataset.java:341)
> at ucar.nc2.dataset.NetcdfDataset.openDataset(NetcdfDataset.java:175)
> at ucar.nc2.dataset.NetcdfDatasetCache.acquire(NetcdfDatasetCache.java:203)
> at ucar.nc2.dataset.NetcdfDatasetCache.acquire(NetcdfDatasetCache.java:183)
> at ucar.nc2.dataset.NetcdfDatasetCache.acquire(NetcdfDatasetCache.java:171)
> at ucar.nc2.dataset.grid.GridDataset.open(GridDataset.java:71)
> at ucar.nc2.dataset.grid.GridDataset.factory(GridDataset.java:80)
> at 
> ucar.unidata.data.grid.GeoGridDataSource.doMakeDataSet(GeoGridDataSource.java:446)
> at 
> ucar.unidata.data.grid.GeoGridDataSource.getDataset(GeoGridDataSource.java:462)
> at 
> ucar.unidata.data.grid.GeoGridDataSource.initAfterCreation(GeoGridDataSource.java:338)
> at ucar.unidata.data.DataManager.createDataSource(DataManager.java:1100)
> at 
> ucar.unidata.idv.IntegratedDataViewer.createDataSource(IntegratedDataViewer.java:1679)
> at 
> ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1598)
> at 
> ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1576)
> at 
> ucar.unidata.idv.IntegratedDataViewer.handleAction(IntegratedDataViewer.java:1433)
> at ucar.unidata.idv.DefaultIdv.handleAction(DefaultIdv.java:112)
> at 
> ucar.unidata.idv.IntegratedDataViewer.handleAction(IntegratedDataViewer.java:1365)
> at ucar.unidata.idv.chooser.UrlChooser.loadURLInner(UrlChooser.java:252)
> at ucar.unidata.idv.chooser.UrlChooser.loadURL(UrlChooser.java:224)
> at ucar.unidata.idv.chooser.UrlChooser.doLoadInThread(UrlChooser.java:271)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at ucar.unidata.util.Misc$2.run(Misc.java:936)
> at ucar.unidata.util.Misc$3.run(Misc.java:964)
> 
> 
> 


Ticket Details
===================
Ticket ID: ZTC-423129
Department: Support IDV
Priority: Normal
Status: Open