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

[IDV #OWO-748043]: Errors in reading mesonet data

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: [IDV #OWO-748043]: Errors in reading mesonet data
  • Date: Fri, 29 Jul 2011 12:45:42 -0600


> Greetings!
> 
> Would you mind sending a link to the file, or the actual file, that produced 
> this error?
> 
> Thanks!
> 
> Sean
> 
> > Full Name: Song-Lak Kang
> > Email Address: address@hidden
> > Organization: Texas Tech Univ
> > Package Version: 3.0b1 build date:2011-07-01 17:24 UTC
> > Operating System: Mac OS X
> > Hardware: Java: home: 
> > /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home version: 
> > 1.6.0_24 j3d:1.5.2 fcs (build4)
> > Description of problem: There was an error loading the data:
> > java.lang.NullPointerException
> >
> > ******************
> > Stack trace:
> > java.lang.NullPointerException
> > at visad.Tuple.buildTupleType(Tuple.java:170)
> > at 
> > ucar.unidata.data.point.TextPointDataSource.makePointObs(TextPointDataSource.java:2105)
> > 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:2518)
> > at 
> > ucar.unidata.data.point.PointDataSource.doMakeDataChoices(PointDataSource.java:932)
> > at 
> > ucar.unidata.data.point.TextPointDataSource.doMakeDataChoices(TextPointDataSource.java:2526)
> > at ucar.unidata.data.DataSourceImpl.getDataChoices(DataSourceImpl.java:1844)
> > at ucar.unidata.data.DataManager.createDataSource(DataManager.java:1555)
> > at 
> > ucar.unidata.idv.IntegratedDataViewer.createDataSource(IntegratedDataViewer.java:1998)
> > at 
> > ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1915)
> > at 
> > ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1849)
> > at 
> > ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1822)
> > 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(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:1063)
> > at ucar.unidata.util.Misc$3.run(Misc.java:1091)
> >
> >
> >
> 
> Actually the files are derived West Texas Mesonet observations.
> Here are say the raw data and derived one.
> Thanks,
> 
> Actually the files are derived West Texas Mesonet observations.
> Here are say the raw data and derived one.
> Thanks,
> 
Greetings!

  Would you mind explaining how the data are laid out in the files? Is the 
latitude and longitude of the station(s) included? Also, exactly which steps 
did you take when trying to load in the data (and which file)?

Thanks!

Sean

Ticket Details
===================
Ticket ID: OWO-748043
Department: Support IDV
Priority: Normal
Status: Open