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.
> Hi.. > In My FFT.java program following error occured. We are not supporting VisAD here, you need to send the support request to SSEC next time. I will try to answer your question. x_set = new Integer1DSet(val1, 32); The exception is caused by the dimension length of the x_set, you need to reduce it to 16, the same length as your dataset. Yuan > > Stack Trace: > Exception in thread "main" visad.SetException: SimpleSet: bad > ManifoldDimension2 > at visad.SimpleSet.<init>(SimpleSet.java:62) > at visad.SampledSet.<init>(SampledSet.java:89) > at visad.GriddedSet.<init>(GriddedSet.java:72) > at visad.Gridded2DSet.<init>(Gridded2DSet.java:72) > at visad.Gridded2DSet.<init>(Gridded2DSet.java:56) > at visad.Gridded2DSet.<init>(Gridded2DSet.java:43) > at javaapplication1.fft1T.main(fft1T.java:702) > Java Result: 1 > > 2.Exception in thread "main" visad.SetException: SampledSet.init_samples: > sample dimension 2 doesn't match expected length 1 > at visad.SampledSet.init_samples(SampledSet.java:205) > at visad.GriddedSet.<init>(GriddedSet.java:78) > at visad.Gridded2DSet.<init>(Gridded2DSet.java:202) > at visad.Gridded2DSet.<init>(Gridded2DSet.java:195) > at visad.Gridded2DSet.<init>(Gridded2DSet.java:184) > at javaapplication1.fft1T.main(fft1T.java:702) > > > -Ankita Zalavadiya > > Ticket Details =================== Ticket ID: IXW-989220 Department: Support IDV Priority: Normal Status: Closed