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

[IDV #TSZ-747127]: loading and interpolating point (station) data in IDV



Hi Youssef,

The IDV will read these data just fine. You need to correctly load the CSV data.
We provide a movie on how to load in CSV data into the IDV.

https://www.youtube.com/watch?v=22TWdFunK3E

See the attached image for how to define CSV data.

I do not know the units of rain so I just guessed millimeters. See the attached
image for the plot of these data.

Best,

Unidata IDV Support



> > Full Name: Youssef
> > Email Address: address@hidden
> > Organization: Masdar Institute
> > Package Version: 5.3 build date:2016-05-23 19:17 UTC
> > Operating System: Windows 7
> > Hardware: Java: home: D:\IDV_5.3\jre version: 1.8.0_45 
> > j3d:1.6.0-pre9-daily-experimental daily
> > Description of problem: There was an error loading the data:
> > Error creating data source:file.pointtext with: 
> > C:\Users\ywehbe\Desktop\validation-subset\rainfall-tottals.csv
> > Making grid parameters
> > can't find lat/lon
> >
> 
> The error message explains the problem of your dataset. The iDV in general 
> only support the geo located data.
> 
> Yuan
> > ******************
> > Stack trace:
> > java.lang.IllegalArgumentException: can't find lat/lon
> > at 
> > ucar.unidata.data.point.TextPointDataSource.makePointObs(TextPointDataSource.java:2172)
> > 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:2578)
> > at 
> > ucar.unidata.data.point.PointDataSource.doMakeDataChoices(PointDataSource.java:961)
> > at 
> > ucar.unidata.data.point.TextPointDataSource.doMakeDataChoices(TextPointDataSource.java:2586)
> > at ucar.unidata.data.DataSourceImpl.getDataChoices(DataSourceImpl.java:1856)
> > at ucar.unidata.data.DataManager.createDataSource(DataManager.java:1579)
> > at 
> > ucar.unidata.idv.IntegratedDataViewer.createDataSource(IntegratedDataViewer.java:1979)
> > at 
> > ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1896)
> > at 
> > ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1830)
> > at 
> > ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1803)
> > at ucar.unidata.idv.chooser.IdvChooser.makeDataSource(IdvChooser.java:943)
> > at 
> > ucar.unidata.idv.chooser.FileChooser.selectFilesInner(FileChooser.java:659)
> > at ucar.unidata.idv.chooser.FileChooser.selectFiles(FileChooser.java:528)
> > at ucar.unidata.idv.chooser.FileChooser.doLoadInThread(FileChooser.java:550)
> > 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: TSZ-747127
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.

Attachment: rain.jpg
Description: JPEG image

Attachment: csv.jpg
Description: JPEG image