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

[IDV #PAR-344847]: Error with my own data chooser



Hi Howard-

> I got the following error with clicking "Add Source" button with my own data 
> chooser (referenced WxTextChooser &
> MesowestChooser). What could be the cause and how toi resoove this?

It looks like the number of observations you got back was 0 and we don't check 
for that, thus the error.  We should probably pick that up.  Is there a way you 
can print out the CSV structure that you are sending to TextPointDataSource so 
I can track this down a little further (e.g., whatever the URL sends back).  I 
assume I can't get to the server from here.

Don Murray
 
> There was an error loading the data:
> Error creating data source:FILE.POINTTEXT with:
> http://maui:8080/obsServer/download?dataType=ATECLightning&startTime=2009-24-24T17%3A28&endTime=2009-24-24T17%3A28
> Making grid parameters
> GriddedSet: each grid length must be at least 1 (length#0
> is 0
> 
> 
> 
> visad.SetException: GriddedSet: each grid length must be at least 1 (length#0 
> is 0
> at visad.GriddedSet.init_lengths(GriddedSet.java:87)
> at visad.GriddedSet.<init>(GriddedSet.java:73)
> at visad.Gridded1DSet.<init>(Gridded1DSet.java:130)
> at visad.Gridded1DSet.<init>(Gridded1DSet.java:99)
> at visad.Linear1DSet.<init>(Linear1DSet.java:116)
> at visad.Linear1DSet.<init>(Linear1DSet.java:88)
> at visad.Linear1DSet.<init>(Linear1DSet.java:51)
> at visad.data.text.TextAdapter.readit(TextAdapter.java:1053)
> at visad.data.text.TextAdapter.<init>(TextAdapter.java:210)
> at 
> ucar.unidata.data.point.TextPointDataSource.makeObs(TextPointDataSource.java:389)
> at 
> ucar.unidata.data.point.TextPointDataSource.makeObs(TextPointDataSource.java:333)
> at 
> ucar.unidata.data.point.TextPointDataSource.getSample(TextPointDataSource.java:1627)
> at 
> ucar.unidata.data.point.PointDataSource.doMakeDataChoices(PointDataSource.java:906)
> at 
> ucar.unidata.data.point.TextPointDataSource.doMakeDataChoices(TextPointDataSource.java:1635)
> at ucar.unidata.data.DataSourceImpl.getDataChoices(DataSourceImpl.java:1743)
> at ucar.unidata.data.DataManager.createDataSource(DataManager.java:1492)
> at 
> ucar.unidata.idv.IntegratedDataViewer.createDataSource(IntegratedDataViewer.java:1967)
> at 
> ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1884)
> at 
> ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1818)
> at 
> ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1791)
> at ucar.unidata.idv.chooser.IdvChooser.makeDataSource(IdvChooser.java:907)
> at ucar.unidata.idv.chooser.AtecChooser.doLoadInThread(AtecChooser.java:300)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at ucar.unidata.util.Misc$2.run(Misc.java:1033)
> at ucar.unidata.util.Misc$3.run(Misc.java:1061)
> 
> 


Ticket Details
===================
Ticket ID: PAR-344847
Department: Support IDV
Priority: Normal
Status: Open