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

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



Greetings Jessica!

It looks like the issue is that the time format of your data is different than 
what is specified in the header. I created a new header for you to try (see
attached). I would double check that your altitude is really in km, as I think
meters makes more sense (some of the values are larger than the radius of
the Earth, which makes me suspicious). Note that I changed the unit to meters
in the new header.

Cheers,

Sean


> 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: Open
(index)->(Time,Latitude,Longitude,Altitude,magnitude,strike,dip,rake,comment(Text),Mo(Text))
Time[fmt="M/dd/yyyy 
H:mm"],Latitude[unit="degrees_north"],Longitude[unit="degrees_east"],Altitude[unit="m"],magnitude[unit="1"],strike[unit="1"],dip[unit="1"],rake[unit="1"],comment(Text)[],Mo(Text)[]
7/26/2005 4:51,45.37,-112.596,-5000,3,125,61,-126,0,0
4/5/2011 7:05,44.611,-112.087,-12100,4.4,299,69,-19,0,0
4/8/2000 11:30,46.39,-111.44,-11000,3.85,200,70,35,0,0
05/24/2000 04:22:06,46.35,-111.39,-3500,4,88.11,61.98,-139.5,0,0
6/28/2000 14:28,46.69,-113.58,-5000,4.5,115,70,-155,0,0
11/10/2000 19:14,46.4,-111.38,-1000,4,190,80,50,0,0
7/30/2005 8:08,45.4,-112.55,-14000,5.44,335,47,-57,0,0
7/26/2005 7:12,45.43,-112.61,-15000,3.9,275,85,-130,0,0
7/27/2005 15:51,45.39,-112.62,-5000,4.2,102,74,-143,0,0
7/28/2005 2:29,45.5,-112.43,-5000,3.5,333,60,-62,0,0
7/29/2005 14:07,45.42,-112.6,-5000,3.8,272,80,-129,0,0
8/7/2005 5:28,45.4,-112.57,-5000,3.7,330,50,-60,0,0
10/31/2005 0:23,44.9,-113.45,-5000,4.5,303,80,-113,0,0
1/18/2006 9:47,45.42,-112.57,-5000,3.9,10,70,-25,0,0
2/5/2006 3:25,44.74,-111.88,-5000,4.6,264,66,-116,0,0
6/17/2006 16:22,45.72,-111.84,-5000,3.9,308,51,-124,0,0
6/18/2006 0:05,45.74,-111.8,-5000,4.3,305,60,-120,0,0
3/29/2007 5:39,45.34,-112.58,-13000,3.7,5,50,-60,0,0
5/29/2009 18:16,48.516,-112.336,0,3.6,334,55,87,0,0
1/13/2010 11:17,47.431,-113.174,-20800,3.9,342,50,-113,0,0
4/5/2011 7:05,44.617,-112.098,-5000,4.1,300,85,-20,0,0
11/11/2011 17:51,46.618,-113.557,-12000,4.2,128,80,-165,0,0
6/29/2012 8:04,47.349,-113.135,-23800,3.7,189,46,-80,0,0
8/7/2012 5:07,44.752,-111.096,-7300,3.2,67,74,-143,0,0
7/5/2002 12:08,45.54,-111.67,-3900,2.8,314,44,-105,0,0
5/14/2013 8:46,45.612,-111.737,-9500,2.7,309,51,-105,0,0
10/4/2001 10:42,45.73,-112.12,-6400,3.3,323,40,-102,0,0
2/2/2002 6:06,45.764,-112.165,-6300,3.6,344,44,-72,0,0
6/23/2002 22:06,45.73,-112.12,-7600,3.2,356,43,-80,0,0
2/1/2002 17:21,45.73,-112.11,-5300,2.9,322,59,-102,0,0
7/3/2002 7:12,45.72,-112.11,-6300,2.8,309,68,-82,0,0
10/10/2004 9:27,45.72,-112.12,-7700,2.8,310,49,-110,0,0
3/6/2009 11:29,45.711,-112.127,-11700,4,342,48,-92,0,0
3/6/2009 11:33,45.707,-112.119,-9700,3.4,335,35,-108,0,0
3/14/2009 3:58,45.745,-112.132,-11300,3.2,351,45,-91,0,0
5/19/2007 15:06,45.422,-112.09,-10400,2.5,325,29,-86,0,0
5/8/2002 15:46,45.16,-111.8,-9600,2.8,300,49,-32,0,0
2/27/2010 1:11,44.78,-111.64,-8200,2.9,311,47,-90,0,0
6/21/2006 19:25,45.605,-111.926,-11000,3.9,334,34,-92,0,0
8/8/2009 2:14,44.914,-111.7437,-10000,3.7,344,41,-90,0,0
10/17/2012 7:23,45.27,-112.79,-12100,2.8,305,49,-129,0,0
1/31/2002 0:06,45,-111.83,-6400,3.4,289,48,-113,0,0
1/22/2003 1:38,45.01,-111.88,-8000,2.9,292,36,-136,0,0
3/23/2005 8:33,45,-111.89,-10500,3.6,336,37,-97,0,0
9/7/2010 10:08,44.9524,-111.7581,-6700,3.6,283,44,-130,0,0
3/14/2009 4:27,45.7446,-112.1323,0,3.2,340,47,-91,0,0
4/12/2012 7:00,45.95,-111.36,-12900,2.7,343,56,-94,0,0
1/11/2011 14:13,46.03,-111.42,-12600,2.9,340,56,-93,0,0
3/14/2009 4:27,45.7446,-112.1323,0,3.2,340,47,-92,0,0
4/16/2004 4:06,42.57,46.1422,-10000,3.4,341,53,-85,0,0
10/14/2010 15:27,45.95,-111.2,-7500,2.5,342,32,8,0,0
9/9/2008 20:48,46.1,-111.34,-700,2.8,319,41,-103,0,0
6/24/2002 17:53,45.69,-112.12,-6300,2.8,318,65,-102,0,0
7/29/2005 14:07,45.4511,-112.6419,-5800,3.8,207,35,-98,0,0
5/31/2007 3:52,45.8436,-112.049,-7200,2,353,35,-92,0,0
10/15/2007 13:36,46.1065,-111.924,-13300,2,351,56,-96,0,0
10/18/2007 12:00,46.1077,-111.924,-3000,2.1,1,46,-91,0,0
5/8/2007 15:46,45.4609,-112.123,-11700,4.7,348,52,-84,0,0
5/9/2007 1:36,45.4459,-112.126,-3500,2.9,319,51,-98,0,0
5/20/2007 21:15,45.1,-112.11,-14300,3,327,36,-104,0,0
10/22/2007 4:57,45.4136,-112.1137,-5800,3.3,334,31,-105,0,0
6/6/2013 12:41,44.82,-111.45,-10000,3.3,213,80,-107,0,0
6/28/1925 1:01,46.4,-111.3,0,0,26,90,10,0,0
8/8/1959 1:01,44.8,111.1,0,0,102,64,-100,0,0
8/30/1962 1:01,41.8,111.8,0,0,5,32,-96,0,0
7/7/1963 1:01,39.6,111.9,0,0,350,74,-126,0,0
7/7/1963 1:01,44.3,114.7,0,0,287,46,-80,0,0
10/21/1964 1:01,44.8,111.6,0,0,138,75,-28,0,0