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: john horel > Email Address: address@hidden > Organization: uu > Package Version: 2.9u2 build date:2010-12-21 08:14 UTC > Operating System: Windows 7 > Hardware: Java: home: C:\Program Files\IDV_2.9u2\jre version: 1.6.0_20 > j3d:1.5.2 fcs (build4) > Description of problem: applySmoothing > Gridded2DSet: samples value #0 may not be missing > > So we generate grids that don't look so hot in IDV mainly because we can't > smooth them. They are available via our catalog and should be in the bundle > here too. > > http://wx3.chpc.utah.edu:8080/thredds/catalog/pcaps_data/UU2DVAR/20101226/catalog.html?dataset=root%20data%20directory/UU2DVAR/20101226/2010122606_2dvar.nc > > They appear fine in ncview. The fill value in the netcdf file is set > properly. And, when we sectorize to zoom into a smaller area where there > shouldn't be any missing values, then the projection issue causes problems. > > Any ideas how to either zoom into an area where there won't be a problem to > smooth, or handle this from the outset? > > Thanks > Hi John, The projection of this dataset is not well defined, however, the IDV can recognize the file as grided dataset. I will take a look tomorrow. Yuan > John > > > ****************** > Stack trace: > visad.SetException: Gridded2DSet: samples value #0 may not be missing > at visad.Gridded2DSet.<init>(Gridded2DSet.java:105) > at visad.Gridded2DSet.<init>(Gridded2DSet.java:56) > at visad.Gridded2DSet.cloneButType(Gridded2DSet.java:551) > at ucar.visad.Util.clone(Util.java:1231) > at ucar.visad.Util.clone(Util.java:1056) > at ucar.visad.Util.ensureMathType(Util.java:363) > at ucar.visad.Util.clone(Util.java:1151) > at ucar.unidata.data.grid.GridUtil.setParamType(GridUtil.java:2865) > at ucar.unidata.data.grid.GridUtil.smooth5Point(GridUtil.java:6565) > at ucar.unidata.data.grid.GridUtil.smooth(GridUtil.java:6512) > at > ucar.unidata.idv.control.PlanViewControl.getSliceForDisplay(PlanViewControl.java:1181) > at > ucar.unidata.idv.control.PlanViewControl.applySmoothing(PlanViewControl.java:1201) > at > ucar.unidata.idv.control.DisplayControlImpl.setSmoothingType(DisplayControlImpl.java:11973) > at > ucar.unidata.idv.control.DisplayControlImpl$31.actionPerformed(DisplayControlImpl.java:11906) > at javax.swing.JComboBox.fireActionEvent(Unknown Source) > at javax.swing.JComboBox.setSelectedItem(Unknown Source) > at javax.swing.JComboBox.setSelectedIndex(Unknown Source) > at javax.swing.plaf.basic.BasicComboPopup$Handler.mouseReleased(Unknown > Source) > at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) > at java.awt.Component.processMouseEvent(Unknown Source) > at javax.swing.JComponent.processMouseEvent(Unknown Source) > at javax.swing.plaf.basic.BasicComboPopup$1.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.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: RTX-619030 Department: Support IDV Priority: Normal Status: Open