NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.


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

[IDV #LEZ-466024]: how to probe (profile) a horizontally smoothed field?



> Full Name: brian mapes
> Email Address: address@hidden
> Organization: u of miami
> Package Version: 5.0 build date:2014-03-19 07:05 UTC
> Operating System: Mac OS X
> Hardware: Java: home: /Applications/IDV_5.0/jre.bundle/Contents/Home version: 
> 1.7.0_51 j3d:1.6.0-pre9-daily-experimental daily
> Description of problem: Grid Diagnostic circular smoothing balks when given 
> multiple levels. Unfortunate.
> 
> Selecting new data
> Grid must be a 2D slice
> 

Yes, you can only do any kind of smoothing on a 2D grid. If it is 3D you need 
to slice it and do the smoothing call.


Yuan
> ******************
> Stack trace:
> visad.VisADException: Grid must be a 2D slice
> at ucar.unidata.data.grid.GridUtil.smooth(GridUtil.java:6844)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:186)
> at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:204)
> at org.python.core.PyObject.__call__(PyObject.java:422)
> at org.python.core.PyObject.__call__(PyObject.java:426)
> at org.python.pycode._pyx91.circs$10(<string>:100)
> at org.python.pycode._pyx91.call_function(<string>)
> at org.python.core.PyTableCode.call(PyTableCode.java:165)
> at org.python.core.PyBaseCode.call(PyBaseCode.java:301)
> at org.python.core.PyFunction.function___call__(PyFunction.java:376)
> at org.python.core.PyFunction.__call__(PyFunction.java:371)
> at org.python.pycode._pyx179.f$0(<string>:1)
> at org.python.pycode._pyx179.call_function(<string>)
> at org.python.core.PyTableCode.call(PyTableCode.java:165)
> at org.python.core.PyCode.call(PyCode.java:18)
> at org.python.core.Py.runCode(Py.java:1261)
> at org.python.core.__builtin__.eval(__builtin__.java:484)
> at org.python.core.__builtin__.eval(__builtin__.java:488)
> at org.python.util.PythonInterpreter.eval(PythonInterpreter.java:190)
> at ucar.unidata.data.DerivedDataChoice.getData(DerivedDataChoice.java:795)
> at ucar.unidata.data.DataChoice.getData(DataChoice.java:607)
> at ucar.unidata.data.DerivedDataChoice.getData(DerivedDataChoice.java:813)
> at ucar.unidata.data.DataChoice.getData(DataChoice.java:637)
> at ucar.unidata.data.DataInstance.getData(DataInstance.java:243)
> at ucar.unidata.data.DataInstance.getData(DataInstance.java:207)
> at ucar.unidata.data.grid.GridDataInstance.init(GridDataInstance.java:206)
> at ucar.unidata.data.grid.GridDataInstance.<init>(GridDataInstance.java:163)
> at ucar.unidata.data.grid.GridDataInstance.<init>(GridDataInstance.java:144)
> at 
> ucar.unidata.idv.control.VerticalProfileControl.processNewData(VerticalProfileControl.java:356)
> at 
> ucar.unidata.idv.control.VerticalProfileControl.addNewData(VerticalProfileControl.java:400)
> at 
> ucar.unidata.idv.control.DisplayControlImpl$16.run(DisplayControlImpl.java:8292)
> at ucar.unidata.util.Misc$3.run(Misc.java:1243)
> 
> 
> 


Ticket Details
===================
Ticket ID: LEZ-466024
Department: Support IDV
Priority: Normal
Status: Closed