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.


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

[IDV #QYZ-487766]: Error loading Grads file into IDV



> Full Name: Glenn Hunter
> Email Address: address@hidden
> Organization: Penn State
> Package Version: 4.0u1 build date:2013-03-29 18:10 UTC
> Operating System: Linux
> Hardware: Java: home: /usr/global/IDV_4.0u1/jre version: 1.6.0_41 j3d:1.5.2 
> fcs (build4)
> Description of problem: Hi,
> 
> I created a GRADS file from a WRF output file using the ARWpost routine.  
> When I attempt to load the file using the Data Chooser and set the Files of 
> Type (GrADS Binary Grid Files) , IDV gives me the following error:
> 
> There was an error loading the data:
> Error creating data source:file.grid with: /erik/s0/gkh1/worked060513/test.ctl
> Grid data source failed making data set: /erik/s0/gkh1/worked060513/test.ctl

Glenn,
    Could you upload a sample file and the ctl file here:

http://motherlode.ucar.edu/repository/alias/idvupload


Yuan
> 24
> 
> ******************
> Stack trace:
> java.lang.ArrayIndexOutOfBoundsException: 24
> at 
> ucar.nc2.iosp.grads.GradsBinaryGridServiceProvider.fillNCFile(GradsBinaryGridServiceProvider.java:403)
> at 
> ucar.nc2.iosp.grads.GradsBinaryGridServiceProvider.buildNCFile(GradsBinaryGridServiceProvider.java:291)
> at 
> ucar.nc2.iosp.grads.GradsBinaryGridServiceProvider.open(GradsBinaryGridServiceProvider.java:270)
> at ucar.nc2.NetcdfFile.<init>(NetcdfFile.java:1494)
> at ucar.nc2.NetcdfFile.open(NetcdfFile.java:786)
> at ucar.nc2.NetcdfFile.open(NetcdfFile.java:395)
> at ucar.nc2.dataset.NetcdfDataset.openOrAcquireFile(NetcdfDataset.java:687)
> at ucar.nc2.dataset.NetcdfDataset.openDataset(NetcdfDataset.java:418)
> at ucar.nc2.dataset.NetcdfDataset.acquireDataset(NetcdfDataset.java:513)
> at ucar.nc2.dt.grid.GridDataset.open(GridDataset.java:104)
> at ucar.nc2.dt.grid.GridDataset.open(GridDataset.java:90)
> at 
> ucar.unidata.data.grid.GeoGridDataSource.doMakeDataSet(GeoGridDataSource.java:1113)
> at 
> ucar.unidata.data.grid.GeoGridDataSource.getDataset(GeoGridDataSource.java:1135)
> at 
> ucar.unidata.data.grid.GeoGridDataSource.initAfterCreation(GeoGridDataSource.java:499)
> at ucar.unidata.data.DataManager.createDataSource(DataManager.java:1597)
> 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.makeDataSource(IntegratedDataViewer.java:1804)
> at ucar.unidata.idv.chooser.IdvChooser.makeDataSource(IdvChooser.java:943)
> at ucar.unidata.idv.chooser.FileChooser.selectFilesInner(FileChooser.java:656)
> at ucar.unidata.idv.chooser.FileChooser.selectFiles(FileChooser.java:525)
> at ucar.unidata.idv.chooser.FileChooser.doLoadInThread(FileChooser.java:547)
> 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:1221)
> at ucar.unidata.util.Misc$3.run(Misc.java:1249)
> 
> 
> 


Ticket Details
===================
Ticket ID: QYZ-487766
Department: Support IDV
Priority: Normal
Status: Open