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

20040831: IDV - wind flow vectors with udiff and vdiff



>From: "David Ahijevych" <address@hidden>
>Organization: NCAR/MMM
>Keywords: 200408311940.i7VJe4OA001824 IDV error

Hi David-

>Institution: MMM
>Package Version: 1.1
>Operating System: os.name:Linux; os.arch:i386; os.version:2.4.22-1.2188.nptlsm
> p; 
>Hardware Information: java.vendor:Sun Microsystems Inc.; java.version:1.4.2_01
> ; java.home:/sharp/ahijevyc/IDV/jre; 
>Inquiry: >But I also want to plot wind vectors where the u-component is udiff 
> and
>>the v-component is vdiff.
>
>Don asked if I was seeing ClassCastExceptions.
>I saw a bunch of error messages, but they disappeared when I clicked the butto
> n 
>to send this report. Hopefully the details get tagged on to this email??

Yes they do.  We used to display them in the box, but now they get 
silently tacked on. ;-)

This is as I suspected and I'll look at it tomorrow.

Thanks.

Don
>
>An error has occurred:
>ControlDescriptor.Creating display
>org.python.core.PyException
>
>******************
>Stack trace:
>Traceback (innermost last):
>  File "<string>", line 1, in ?
>  File "/ucar/unidata/idv/resources/default.py", line 48, in makeVector
>java.lang.ClassCastException
>       at ucar.unidata.data.grid.DerivedGridFactory.createFlowVectors(DerivedG
> ridFactory.java:791)
>       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 org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.jav
> a)
>       at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.jav
> a)
>       at org.python.core.PyObject.__call__(PyObject.java)
>       at org.python.core.PyObject.invoke(PyObject.java)
>       at org.python.pycode._pyx3.makeVector$4(/ucar/unidata/idv/resources/def
> ault.py:48)
>       at org.python.pycode._pyx3.call_function(/ucar/unidata/idv/resources/de
> fault.py)
>       at org.python.core.PyTableCode.call(PyTableCode.java)
>       at org.python.core.PyTableCode.call(PyTableCode.java)
>       at org.python.core.PyFunction.__call__(PyFunction.java)
>       at org.python.pycode._pyx10.f$0(<string>:1)
>       at org.python.pycode._pyx10.call_function(<string>)
>       at org.python.core.PyTableCode.call(PyTableCode.java)
>       at org.python.core.PyCode.call(PyCode.java)
>       at org.python.core.Py.runCode(Py.java)
>       at org.python.core.__builtin__.eval(__builtin__.java)
>       at org.python.core.__builtin__.eval(__builtin__.java)
>       at org.python.util.PythonInterpreter.eval(PythonInterpreter.java)
>       at ucar.unidata.data.DerivedDataChoice.getData(DerivedDataChoice.java:7
> 91)
>       at ucar.unidata.data.DataChoice.getData(DataChoice.java:480)
>       at ucar.unidata.data.DataInstance.getData(DataInstance.java:205)
>       at ucar.unidata.data.DataInstance.getData(DataInstance.java:170)
>       at ucar.unidata.data.grid.GridDataInstance.init(GridDataInstance.java:1
> 76)
>       at ucar.unidata.data.grid.GridDataInstance.<init>(GridDataInstance.java
> :139)
>       at ucar.unidata.idv.control.GridDisplayControl.doMakeDataInstance(GridD
> isplayControl.java:206)
>       at ucar.unidata.idv.control.DisplayControlImpl.setData(DisplayControlIm
> pl.java:1890)
>       at ucar.unidata.idv.control.PlanViewControl.setData(PlanViewControl.jav
> a:328)
>       at ucar.unidata.idv.control.PlanViewControl.init(PlanViewControl.java:2
> 90)
>       at ucar.unidata.idv.control.DisplayControlImpl.init(DisplayControlImpl.
> java:805)
>       at ucar.unidata.idv.control.DisplayControlImpl.init(DisplayControlImpl.
> java:731)
>       at ucar.unidata.idv.ControlDescriptor.initControl(ControlDescriptor.jav
> a:740)
>       at ucar.unidata.idv.ControlDescriptor$1.run(ControlDescriptor.java:697)
>       at ucar.unidata.util.Misc$1.run(Misc.java:1448)
>
>java.lang.ClassCastException: java.lang.ClassCastException
>
>
>
--
NOTE: All email exchanges with Unidata User Support are recorded in the
Unidata inquiry tracking system and then made publically 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.