Re: [idvusers] Cross-section of derived fields + multiple times = NullPointerException

Thanks Don!  I need to keep you busy before you leave!!!

Couple related questions:

1. Is there a way (or future plans for) to use a different vertical coordinate than height? Typically in a cross section one uses pressure as the y-axis. Also, when using isosurfaces with one parameter colored by another, it would be nice to be able to have, say, the jet core colored by pressure in hPa instead of geopotential height in gpm.

2. Can parameters be scaled (aka like the SCALE parameter in GEMPAK) by powers of ten? Say I wish to display height values in decameters instead of meters?

Cheers, Kevin



On 05/21/2010 12:36 PM, Don Murray wrote:
Kevin-

Oh sure, just when we are about to do a release, you have to find a bug. ;-)

I've implemented a fix and it will be in the next nightly build (and the 2.9 release). Thanks for catching this.

To the list, we are planning a 2.9 full release next week. Please check out the test release at:

http://www.unidata.ucar.edu/downloads/idv/test

(or the nightly build) and let us know ASAP of any issues you find.

Don

Kevin R. Tyle wrote:
I've run into this problem where if I try to draw cross-sections on a derived field (e.g., potential temperature) and try to load more than one forecast time, the display will not appear and I get the following errors:

ERROR: Creating display: Color-Shaded Cross Section
java.lang.NullPointerException
java.lang.NullPointerException
at ucar.unidata.data.grid.GridUtil.setSpatialDomain(GridUtil.java:353) at ucar.unidata.data.grid.GridUtil.setSpatialDomain(GridUtil.java:333) at ucar.unidata.idv.control.CrossSectionControl.make2DData(CrossSectionControl.java:1736) at ucar.unidata.idv.control.CrossSectionControl.loadData(CrossSectionControl.java:1582) at ucar.unidata.idv.control.CrossSectionControl.loadDataFromLine(CrossSectionControl.java:1566) at ucar.unidata.idv.control.CrossSectionControl.applySmoothing(CrossSectionControl.java:1613) at ucar.unidata.idv.control.DisplayControlImpl.applyAttributesToDisplayables(DisplayControlImpl.java:1517) at ucar.unidata.idv.control.DisplayControlImpl.init(DisplayControlImpl.java:1066) at ucar.unidata.idv.ControlDescriptor.initControl(ControlDescriptor.java:987) at ucar.unidata.idv.ControlDescriptor$1.run(ControlDescriptor.java:912)
    at ucar.unidata.util.Misc$3.run(Misc.java:1089)

The problem also occurs with another derived field (Relative humidity), and with different NWP models, so I suspect this may be a general problem with "derived" quantitites. I've run this on both OSX and Linux 64-bit systems . . .

Thanks,

Kevin
______________________________________________________________________
Kevin Tyle, Systems Administrator               **********************
Dept. of Atmospheric & Environmental Sciences   ktyle@xxxxxxxxxxxxxxxx
University at Albany, ES-235                    518-442-4578 (voice)
1400 Washington Avenue                          518-442-5825 (fax)
Albany, NY 12222                                **********************
______________________________________________________________________

_______________________________________________
idvusers mailing list
idvusers@xxxxxxxxxxxxxxxx
For list information, to unsubscribe, visit: http://www.unidata.ucar.edu/mailing_lists/




  • 2010 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the idvusers archives: