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

[IDV #DME-432072]: Error



JP,

What is this formula doing scientifically speaking?

What is V1, V2, V3?

Best,

Unidata IDV Support

> Full Name: JP Kalb
> Email Address: address@hidden
> Organization: SJSU
> Package Version: 5.0u1 build date:2014-08-08 16:54 UTC
> Operating System: Windows 7
> Hardware: Java: home: C:\Users\dilbert\IDV_5.0u1\jre version: 1.7.0_51 
> j3d:1.6.0-pre9-daily-experimental daily
> Description of problem: Hi there, I got this error message
> Creating display: Color-Shaded Plan View
> visad.UnitException: visad.UnitException: FlatField: RangeUnits must be 
> convertable with RangeType default Units
> FlatField: RangeUnits must be convertable with RangeType default Units
> when I was running this program
> def NX3(CAPE,SRH,V1,V2,V3):
> cap=noUnit(make2D(CAPE))
> sh=noUnit(make2D(SRH))
> w1=noUnit(make2D(V1))
> w2=noUnit(make2D(V2))
> w3=noUnit(make2D(V3))
> shear=.5*((w1-w3)**2+(w2-w3)**2)
> nx3=cap*sh*shear/4000000
> return nx3
> 
> 
> ******************
> Stack trace:
> visad.UnitException: FlatField: RangeUnits must be convertable with RangeType 
> default Units
> at visad.FlatField.<init>(FlatField.java:413)
> at visad.FlatField.cloneFloat(FlatField.java:5606)
> at visad.FlatField.unary(FlatField.java:3745)
> at visad.FieldImpl.unary(FieldImpl.java:908)
> at visad.DataImpl.unary(DataImpl.java:488)
> at visad.DataImpl.sqrt(DataImpl.java:754)
> at visad.python.JPythonMethods.sqrt(JPythonMethods.java:1074)
> 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.java:186)
> at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:204)
> at org.python.core.PyObject.__call__(PyObject.java:387)
> at org.python.core.PyObject.__call__(PyObject.java:391)
> at org.python.pycode._pyx85.NX3$7(<string>:72)
> at org.python.pycode._pyx85.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.core.PyFunction.__call__(PyFunction.java:361)
> at org.python.pycode._pyx89.f$0(<string>:1)
> at org.python.pycode._pyx89.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: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.GridDisplayControl.doMakeDataInstance(GridDisplayControl.java:299)
> at 
> ucar.unidata.idv.control.DisplayControlImpl.initializeDataInstance(DisplayControlImpl.java:3278)
> at 
> ucar.unidata.idv.control.DisplayControlImpl.setData(DisplayControlImpl.java:3234)
> at ucar.unidata.idv.control.PlanViewControl.setData(PlanViewControl.java:664)
> at ucar.unidata.idv.control.PlanViewControl.init(PlanViewControl.java:489)
> at 
> ucar.unidata.idv.control.DisplayControlImpl.init(DisplayControlImpl.java:1402)
> at 
> ucar.unidata.idv.control.DisplayControlImpl.init(DisplayControlImpl.java:1085)
> at ucar.unidata.idv.ControlDescriptor.initControl(ControlDescriptor.java:986)
> at ucar.unidata.idv.ControlDescriptor$1.run(ControlDescriptor.java:911)
> at ucar.unidata.util.Misc$3.run(Misc.java:1243)
> 
> 
> 


Ticket Details
===================
Ticket ID: DME-432072
Department: Support IDV
Priority: Normal
Status: Closed


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.