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.
> Full Name: Stefan Cecelski > Email Address: address@hidden > Organization: University of Maryland > Package Version: 3.0u1 build date:2011-11-15 08:06 UTC > Operating System: Mac OS X > Hardware: Java: home: > /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home version: > 1.6.0_26 j3d:1.5.2 fcs (build4) > Description of problem: Hi All, > > I know you are in Madison, but I thought I'd submit this error while Im > thinking of it. I am trying to make a time series plot of wind shear > magnitude for the 850-200 hPa layer for a number of time steps. Here is the > formula I am using: > > savg(mag(windShearVector(u, v, 200, 1000))) Hi Stefan, Sorry for the delay. I tried the above formula, and see no problem in 3D field. Yuan > > It is simple enough, I create the wind shear vectors then take the magnitude > of them. Then I use the spatial average function (savg) to spatially average > over the grid box of my choice (I can choose any box I want by specifying a > grid subset for the average). This should return a single value for each time > step, which I can make a time series chart out of. But I get this error > instead: > > Error creating data set > 1 > > Thanks very much in advance! > > V/R, > > Stefan > > ****************** > Stack trace: > java.lang.ArrayIndexOutOfBoundsException: 1 > at > ucar.unidata.idv.control.chart.TimeSeriesChartWrapper.loadDatax(TimeSeriesChartWrapper.java:400) > at > ucar.unidata.idv.control.chart.TimeSeriesChartWrapper.loadData(TimeSeriesChartWrapper.java:327) > at ucar.unidata.idv.control.multi.DisplayGroup.loadData(DisplayGroup.java:634) > at > ucar.unidata.idv.control.multi.MultiDisplayHolder.loadData(MultiDisplayHolder.java:1607) > at > ucar.unidata.idv.control.multi.MultiDisplayHolder.initDone(MultiDisplayHolder.java:195) > at > ucar.unidata.idv.control.DisplayControlImpl.init(DisplayControlImpl.java:1214) > 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:1091) > > > Ticket Details =================== Ticket ID: OOE-929362 Department: Support IDV Priority: Emergency Status: Open