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

20041214: IDV - derived data error from temp and rh of avn data

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.


  • Subject: 20041214: IDV - derived data error from temp and rh of avn data
  • Date: Thu, 16 Dec 2004 06:52:08 -0700

>From: "cheong chin chio" <address@hidden>
>Organization: SMG from MACAO
>Keywords: 200412140936.iBE9amjW016034 IDV derived quantity

Hi-

>Institution: SMG from MACAO
>Package Version: 1.1
>Operating System: os.name:Windows 2000; os.arch:x86; os.version:5.0; 
>Hardware Information: java.vendor:Sun Microsystems Inc.; java.version:1.4.2_01
> ; java.home:C:\\Program Files\\Java\\j2re1.4.2_01; 
>Inquiry: An error has occurred:
>ControlDescriptor.Creating display
>org.python.core.PyException

Is this a locally generated avn dataset?  Do both the temp and rh
fields have the same number of levels?  Is there a way you could
put the file out on an ftp/http server for me to download and look
at?

>******************
>Stack trace:
>Traceback (innermost last):
>  File "<string>", line 1, in ?
>visad.TypeException: MathType of data object (((longitude, latitude, levels) -
> > tmpprs)) is incompatible with required MathType (Temperature)
>       at ucar.visad.Util.vetType(Util.java:183)
>       at ucar.visad.quantities.SaturationVaporPressure.create(SaturationVapor
> Pressure.java:364)
>       at ucar.unidata.data.grid.DerivedGridFactory.makeDewpointFromTAndRH(Der
> ivedGridFactory.java:1186)
>       at ucar.unidata.data.grid.DerivedGridFactory.createDewpoint(DerivedGrid
> Factory.java:1149)
>       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._pyx9.f$0(<string>:1)
>       at org.python.pycode._pyx9.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.ContourPlanViewControl.setData(ContourPlanV
> iewControl.java:109)
>       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)
>
>visad.TypeException: visad.TypeException: MathType of data object (((longitude
> , latitude, levels) -> tmpprs)) is incompatible with required MathType (Tempe
> rature)
>
>

Don Murray
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.