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

[IDV #SMP-768775]: Text point data problems



Brian,

We suggest three changes:

1/ Get rid of "IDX".

2/ Comma separate the data. As far as I can tell, the IDV
is finicky about space separated data in this context.

3/ As a consequence of 2, remove the colspan attribute for time.

See attached file for an example.

Best,

Unidata IDV Support

> Hello IDV wizards.
> I spent 2-3 hours struggling to build from the examples on 
> http://www.unidata.ucar.edu/software/idv/docs/userguide/data/TextPointData.html
> 
> The attached file finally opens, but I cannot make any display, even "value 
> plots".
> Is there a wiz at this stuff who could help me, or another tool that gives 
> more informative errors?
> 
> Brian
> 
> 
> java.lang.ArrayIndexOutOfBoundsException: 0
> at 
> ucar.unidata.data.point.PointObFactory.makeTimeSequenceOfPointObs(PointObFactory.java:390)
> at 
> ucar.unidata.data.point.PointObFactory.makeTimeSequenceOfPointObs(PointObFactory.java:310)
> at 
> ucar.unidata.data.point.PointObFactory.makeTimeSequenceOfPointObs(PointObFactory.java:285)
> at 
> ucar.unidata.data.point.PointDataSource.getDataInner(PointDataSource.java:1233)
> at 
> ucar.unidata.data.point.TextPointDataSource.getDataInner(TextPointDataSource.java:2642)
> at ucar.unidata.data.DataSourceImpl.getData(DataSourceImpl.java:2389)
> at ucar.unidata.data.DirectDataChoice.getData(DirectDataChoice.java:332)
> at ucar.unidata.data.DataChoice.getData(DataChoice.java:637)
> at ucar.unidata.data.DataInstance.getData(DataInstance.java:243)
> at ucar.unidata.data.DataInstance.getData(DataInstance.java:207)
> at ucar.unidata.data.grid.GridDataInstance.init(GridDataInstance.java:206)
> at ucar.unidata.data.grid.GridDataInstance.<init>(GridDataInstance.java:163)
> at ucar.unidata.data.grid.GridDataInstance.<init>(GridDataInstance.java:144)
> at 
> ucar.unidata.idv.control.GridDisplayControl.doMakeDataInstance(GridDisplayControl.java:299)
> at 
> ucar.unidata.idv.control.DisplayControlImpl.initializeDataInstance(DisplayControlImpl.java:3278)
> at 
> ucar.unidata.idv.control.DisplayControlImpl.setData(DisplayControlImpl.java:3234)
> at ucar.unidata.idv.control.PlanViewControl.setData(PlanViewControl.java:664)
> at ucar.unidata.idv.control.PlanViewControl.init(PlanViewControl.java:489)
> at 
> ucar.unidata.idv.control.DisplayControlImpl.init(DisplayControlImpl.java:1402)
> at 
> ucar.unidata.idv.control.DisplayControlImpl.init(DisplayControlImpl.java:1085)
> at ucar.unidata.idv.ControlDescriptor.initControl(ControlDescriptor.java:986)
> at ucar.unidata.idv.ControlDescriptor$1.run(ControlDescriptor.java:911)
> at ucar.unidata.util.Misc$3.run(Misc.java:1243)
> 
> 
> 
> 
> 


Ticket Details
===================
Ticket ID: SMP-768775
Department: Support IDV
Priority: Normal
Status: Closed
(index -> (Latitude, Longitude, Time, PRES, TEMP, RHUM, CWV, CTT))
Latitude[unit="deg"], Longitude[unit="deg"], Time[fmt="yyyy MM dd HH mm"], 
PRES[unit="mb" miss="-999.99"], TEMP[unit="celsius" miss="-999.99"], 
RHUM[unit="%" miss="-999.99"], CWV[unit="cm" miss="-999.99"], CTT[unit="K" 
miss="-999.99"]

Latitude=-1.694122
Longitude=-48.797578 
2011 07 03  03  05  ,  1011.40  ,    26.60  ,    84.70  ,     5.02  ,  -999.99
2011 07 03  03  10  ,  1011.50  ,    26.30  ,    86.30  ,     5.00  ,  -999.99
2011 07 03  03  15  ,  1011.50  ,    26.50  ,    85.20  ,     4.98  ,   282.67
2011 07 03  03  20  ,  1011.50  ,    26.40  ,    85.60  ,     4.97  ,  -999.99
2011 07 03  03  25  ,  1011.50  ,    26.30  ,    85.60  ,     4.95  ,  -999.99

Latitude=-1.694122
Longitude=-49.797578 
2011 07 03  03  05  ,  1011.40  ,    26.60  ,    84.70  ,     5.02  ,  -999.99
2011 07 03  03  10  ,  1011.50  ,    26.30  ,    86.30  ,     5.00  ,  -999.99
2011 07 03  03  15  ,  1011.50  ,    26.50  ,    85.20  ,     4.98  ,   282.67
2011 07 03  03  20  ,  1011.50  ,    26.40  ,    85.60  ,     4.97  ,  -999.99
2011 07 03  03  25  ,  1011.50  ,    26.30  ,    85.60  ,     4.95  ,  -999.99