[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[IDV #JUN-901571]: Functiontype.binary: types don't match error
- Subject: [IDV #JUN-901571]: Functiontype.binary: types don't match error
- Date: Tue, 23 Oct 2018 10:41:34 -0600
> Hello, this is Michelle Spencer again.
>
> Thank you for the prompt response to the previous inquiry that I had,
> I greatly appreciate it.
>
> I am having trouble plotting my Significant Tornado Parameter. I have
> written code into the jython library, and made numerous sub-formulas
> that I am trying to use in a final formula for my STP. When I attempt
> to plot my data for each individual component of the STP formula I have
> no problems. My STP formula consists of a BWD formula, SRH formula,
> CAPE formula, and LCL formula. It appears that my LCL is what is giving
> me my error, because I can plot the BWD*SRH*CAPE just fine, but when I
> add in the *LCL I get the error described below. I am not sure how to
> fix this error in order to plot the STP, which is what I ultimately need
> for my research project. I'm not sure what all information you may need
> to help me fix my issue, so please let me know if you need anything.
>
> Thank you for any help you are able to provide,
>
> Michelle Spencer
Hi Michelle,
Please send me those formulas, I will have a better understanding of your
problem.
Yuan
>
> visad.TypeException: FunctionType.binary: types don't match
> at visad.FunctionType.binary(FunctionType.java:283)
> at visad.DataImpl.binary(DataImpl.java:141)
> at visad.DataImpl.multiply(DataImpl.java:208)
> at visad.DataImpl.__mul__(DataImpl.java:1410)
> at sun.reflect.GeneratedMethodAccessor81.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> 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:478)
> at org.python.core.PyObject.__call__(PyObject.java:482)
> at org.python.core.PyMethod.__call__(PyMethod.java:141)
> at org.python.core.PyMethod.__call__(PyMethod.java:132)
> at org.python.core.PyObjectDerived.__mul__(PyObjectDerived.java:260)
> at org.python.core.PyObject._basic_mul(PyObject.java:2353)
> at org.python.core.PyObject._mul(PyObject.java:2339)
> at org.python.pycode._pyx223.f$0(<string>:1)
> at org.python.pycode._pyx223.call_function(<string>)
> at org.python.core.PyTableCode.call(PyTableCode.java:167)
> at org.python.core.PyCode.call(PyCode.java:18)
> at org.python.core.Py.runCode(Py.java:1386)
> at org.python.core.__builtin__.eval(__builtin__.java:497)
> at org.python.core.__builtin__.eval(__builtin__.java:501)
> at org.python.util.PythonInterpreter.eval(PythonInterpreter.java:251)
> at
> ucar.unidata.data.DerivedDataChoice.getData(DerivedDataChoice.java:807)
> at ucar.unidata.data.DataChoice.getData(DataChoice.java:628)
> 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:219)
> at
> ucar.unidata.data.grid.GridDataInstance.<init>(GridDataInstance.java:176)
> at
> ucar.unidata.data.grid.GridDataInstance.<init>(GridDataInstance.java:157)
> at
> ucar.unidata.idv.control.GridDisplayControl.doMakeDataInstance(GridDisplayControl.java:294)
> at
> ucar.unidata.idv.control.DisplayControlImpl.initializeDataInstance(DisplayControlImpl.java:3293)
> at
> ucar.unidata.idv.control.DisplayControlImpl.setData(DisplayControlImpl.java:3249)
> at
> ucar.unidata.idv.control.PlanViewControl.setData(PlanViewControl.java:664)
> at
> ucar.unidata.idv.control.ContourPlanViewControl.setData(ContourPlanViewControl.java:195)
> at
> ucar.unidata.idv.control.PlanViewControl.init(PlanViewControl.java:489)
> at
> ucar.unidata.idv.control.DisplayControlImpl.init(DisplayControlImpl.java:1415)
> at
> ucar.unidata.idv.control.DisplayControlImpl.init(DisplayControlImpl.java:1098)
> at
> ucar.unidata.idv.ControlDescriptor.initControl(ControlDescriptor.java:993)
> at ucar.unidata.idv.ControlDescriptor$1.run(ControlDescriptor.java:918)
> at ucar.unidata.util.Misc$3.run(Misc.java:1243)
>
>
Ticket Details
===================
Ticket ID: JUN-901571
Department: Support IDV
Priority: Normal
Status: Open
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata
inquiry tracking system and then made publicly 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.