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

[IDV #QZK-144543]: Isentropic Potential Vorticity


First, please update your IDV to 5.0.

The problem is likely that this derived formula is picking up the wrong
field. Here is what you need to do:

In the field selector, go to "Formulas" Data Sources.

Select "Define a grid diagnostic".

Select a Displays of Color-Shaded Plan View

Click Create Display.

This action will bring forth an input window.

Enter the formula "DerivedGridFactory.createIPV(D1,D2)"

Click OK

You will now have to select 2 fields for D1 and D2.

For D1: 3D Grid, Temperature, Temperature @ Isobaric

For D2: 3D Grid, Momentum, Derived, Absolute Vorticity. (Make sure to select the
2nd one. This is where the IDV is getting confused with your earlier attempt so
we need to be more explicit about this field.)

Click OK.


Unidata IDV Support

> Full Name: Scott J Landes
> Email Address: address@hidden
> Organization: Colorado Department of Public Health and Environment
> Package Version: 4.0u1 build date:2013-03-29 16:12 UTC
> Operating System: Windows 7
> Hardware: Java: home: C:\Program Files\IDV_4.0u1\jre version: 1.6.0_43 
> j3d:1.5.2 fcs (build4)
> Description of problem:
> Hello,
> I have had issues attempting to load Isentropic Potential Vorticity from
> the NCEP GFS Global 0.5 deg model.  I am trying to plot values with a
> Color-Shaded Plan View and continue to get this error:
> Creating display: Color-Shaded Plan View
> Attempt to convert from unit "Pa" to unit "m"
> Any suggestions?
> Thanks,
> Scott J Landes
> ******************
> Stack trace:
> visad.UnitException: Attempt to convert from unit "Pa" to unit "m"
> at visad.DerivedUnit.toThis(DerivedUnit.java:926)
> at visad.DerivedUnit.toThat(DerivedUnit.java:1133)
> at visad.DerivedUnit.toThat(DerivedUnit.java:1080)
> at visad.BaseUnit.toThis(BaseUnit.java:590)
> at visad.Unit.toThis(Unit.java:887)
> at visad.Real.getValue(Real.java:310)
> at 
> ucar.unidata.data.grid.GeoGridDataSource.indexOf(GeoGridDataSource.java:1734)
> at 
> ucar.unidata.data.grid.GeoGridDataSource.makeFieldImpl(GeoGridDataSource.java:1776)
> at 
> ucar.unidata.data.grid.GeoGridDataSource.getDataInner(GeoGridDataSource.java:1310)
> at ucar.unidata.data.DataSourceImpl.getData(DataSourceImpl.java:2379)
> at ucar.unidata.data.DirectDataChoice.getData(DirectDataChoice.java:332)
> at ucar.unidata.data.DerivedDataChoice.setData(DerivedDataChoice.java:635)
> at 
> ucar.unidata.data.DerivedDataChoice.collectOperands(DerivedDataChoice.java:547)
> at ucar.unidata.data.DerivedDataChoice.getData(DerivedDataChoice.java:738)
> 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:284)
> at 
> ucar.unidata.idv.control.DisplayControlImpl.initializeDataInstance(DisplayControlImpl.java:3178)
> at 
> ucar.unidata.idv.control.DisplayControlImpl.setData(DisplayControlImpl.java:3160)
> at ucar.unidata.idv.control.PlanViewControl.setData(PlanViewControl.java:641)
> at ucar.unidata.idv.control.PlanViewControl.init(PlanViewControl.java:471)
> at 
> ucar.unidata.idv.control.DisplayControlImpl.init(DisplayControlImpl.java:1421)
> at 
> ucar.unidata.idv.control.DisplayControlImpl.init(DisplayControlImpl.java:1106)
> 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:1249)

Ticket Details
Ticket ID: QZK-144543
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.