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.
> Full Name: Murray Brown > Email Address: address@hidden > Organization: UNESCO/IOC/IODE Marine Data Training Program > Package Version: 3.0u2 build date:2012-02-10 17:21 UTC > Operating System: Windows XP > Hardware: Java: home: C:\Program Files\IDV_3.0u2\jre version: 1.6.0_20 > j3d:1.5.2 fcs (build4) > Description of problem: > > loading data > > visad.Tuple cannot be cast to ucar.unidata.data.point.PointOb > > Hello IDV Folks, > > I get the above error whenever I attempt to apply a filter to the attached > point observation file. The GlobWave folks have advised me that the > swh_quality flag should be 1 or 0, and we need to ignore values of 2. > Can you suggest anything? Does it look like a problem with the NC file? > Thanks for any help you can provide. > > Murray Brown > Hi Murray, I have no problem to apply the filter swh_quality != 2, and no error on my side. Can you provide more information on: what did you try to display and how did you do it? Yuan > ****************** > Stack trace: > java.lang.ClassCastException: visad.Tuple cannot be cast to > ucar.unidata.data.point.PointOb > at > ucar.unidata.idv.control.ObsDisplayControl.doDeclutterTime(ObsDisplayControl.java:369) > at > ucar.unidata.idv.control.StationModelControl.loadData(StationModelControl.java:1685) > at > ucar.unidata.idv.control.StationModelControl.applyFilters(StationModelControl.java:3027) > at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > at java.lang.reflect.Method.invoke(Unknown Source) > at ucar.unidata.util.GuiUtils$15.actionPerformed(GuiUtils.java:4731) > at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) > at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) > at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) > at javax.swing.DefaultButtonModel.setPressed(Unknown Source) > at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) > at java.awt.Component.processMouseEvent(Unknown Source) > at javax.swing.JComponent.processMouseEvent(Unknown Source) > at java.awt.Component.processEvent(Unknown Source) > at java.awt.Container.processEvent(Unknown Source) > at java.awt.Component.dispatchEventImpl(Unknown Source) > at java.awt.Container.dispatchEventImpl(Unknown Source) > at java.awt.Component.dispatchEvent(Unknown Source) > at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) > at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) > at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) > at java.awt.Container.dispatchEventImpl(Unknown Source) > at java.awt.Window.dispatchEventImpl(Unknown Source) > at java.awt.Component.dispatchEvent(Unknown Source) > at java.awt.EventQueue.dispatchEvent(Unknown Source) > at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) > at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) > at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) > at java.awt.EventDispatchThread.pumpEvents(Unknown Source) > at java.awt.EventDispatchThread.pumpEvents(Unknown Source) > at java.awt.EventDispatchThread.run(Unknown Source) > > > Ticket Details =================== Ticket ID: QDQ-299644 Department: Support IDV Priority: Normal Status: Closed