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

[IDV #AIJ-521880]: Likely a header issue?


This is a very complex CSV file with *many* columns. It is difficult to pinpoint
the source of the error. I would try to iteratively load these data first by
winnowing down the rows and columns. Once you have that working, then
incrementally add rows and columns and try to read those into the IDV.

In short, try something simpler and build up from there. Also be cautious of
hard returns within the rows of your data. A row should be contained within a
single line of the text file.

You can also have the IDV construct the header for you. See here for more



Unidata IDV Support

> Full Name: Logan Downing
> Email Address: address@hidden
> Organization: Purdue University
> Package Version: 5.0u2 build date:2014-11-12 20:09 UTC
> Operating System: Windows 7
> Hardware: Java: home: C:\Program Files\IDV_5.0u2\jre version: 1.7.0_51 
> j3d:1.6.0-pre9-daily-experimental daily
> Description of problem: There was an error loading the data:
> java.lang.NullPointerException
> Hello to whoever may be reading this. Thank you for taking the time do so, I 
> really appreciate it.
> The issue I'm having is I can't seem to get the information to be read to 
> IDV. I think the header or
> the time column may be the real issue here but I'm not sure how to get it 
> formatted. The time
> value column is intended to cover the Temp., Dewpoint Temp., and Pressure 
> value columns.
> If there is any advice you can give me, it would be greatly appreciated!
> Thanks.
> Respectfully,
> Logan Downing.
> ******************
> Stack trace:
> java.lang.NullPointerException
> at visad.Tuple.buildTupleType(Tuple.java:170)
> at 
> ucar.unidata.data.point.TextPointDataSource.makePointObs(TextPointDataSource.java:2118)
> at 
> ucar.unidata.data.point.TextPointDataSource.makeObs(TextPointDataSource.java:668)
> at 
> ucar.unidata.data.point.TextPointDataSource.makeObs(TextPointDataSource.java:488)
> at 
> ucar.unidata.data.point.TextPointDataSource.getSample(TextPointDataSource.java:2575)
> at 
> ucar.unidata.data.point.PointDataSource.doMakeDataChoices(PointDataSource.java:960)
> at 
> ucar.unidata.data.point.TextPointDataSource.doMakeDataChoices(TextPointDataSource.java:2583)
> at ucar.unidata.data.DataSourceImpl.getDataChoices(DataSourceImpl.java:1855)
> at ucar.unidata.data.DataManager.createDataSource(DataManager.java:1604)
> 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:1215)
> at ucar.unidata.util.Misc$3.run(Misc.java:1243)

Ticket Details
Ticket ID: AIJ-521880
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.