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

[IDV #VBR-726452]: Focal Mechanism Plotting Error



Dear Jessica,

I was able to successfully view these data in the IDV, but first I had to clean 
up the header lines. I removed extraneous quotes, and also gave an accurate 
description of the time field.

(index -> 
(Time,Latitude,Longitude,Altitude,magnitude,strike,dip,rake,comment(Text),Mo(Text)))
Time[fmt="MM/dd/yyyy HH:mm"],Latitude[unit="deg"],Longitude[unit="degrees 
west"],Altitude[unit="km"],magnitude[unit="null"],strike[unit="null"],dip[unit="null"],rake[unit="null"],comment(Text),Mo(Text)

Please keep us up-to-date on your progress.

Best Wishes, 

Unidata IDV Support

> Full Name: Jessica Szkody
> Email Address: address@hidden
> Organization: Western Michigan University
> Package Version: 4.0u1 build date:2013-03-29 18:10 UTC
> Operating System: Windows 7
> Hardware: Java: home: C:\Program Files\IDV_4.0u1\jre version: 1.6.0_43 
> j3d:1.5.2 fcs (build4)
> Description of problem:
> 
> I'm trying to plot focal mechanisms that I have generated. I have
> succesfully plotted the focal mechanism sample data from USGS that was
> provided on the website. I copied and pasted my data into the worksheet
> as to not screw up the first two header lines. It still will not load. I'm
> not sure what I'm doing incorrectly, but I get the following error:
> 
> There was an error loading the data:
> java.lang.NullPointerException
> 
> I have attached the csv file that I have been trying to import.
> 
> Thank you for your help!
> 
> Jessica Szkody
> 
> ******************
> Stack trace:
> java.lang.NullPointerException
> at visad.Tuple.buildTupleType(Tuple.java:170)
> at 
> ucar.unidata.data.point.TextPointDataSource.makePointObs(TextPointDataSource.java:2106)
> at 
> ucar.unidata.data.point.TextPointDataSource.makeObs(TextPointDataSource.java:656)
> at 
> ucar.unidata.data.point.TextPointDataSource.makeObs(TextPointDataSource.java:479)
> at 
> ucar.unidata.data.point.TextPointDataSource.getSample(TextPointDataSource.java:2520)
> at 
> ucar.unidata.data.point.PointDataSource.doMakeDataChoices(PointDataSource.java:960)
> at 
> ucar.unidata.data.point.TextPointDataSource.doMakeDataChoices(TextPointDataSource.java:2528)
> at ucar.unidata.data.DataSourceImpl.getDataChoices(DataSourceImpl.java:1852)
> at ucar.unidata.data.DataManager.createDataSource(DataManager.java:1599)
> 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: VBR-726452
Department: Support IDV
Priority: Normal
Status: Closed