NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
Hi Kevin, First, thanks for your advice about XFree86. > OK, enough with that ramble and onto another (shorter) one. About half > the time when I load my app, I get what I call a "squat-bug". You can > see an example here: > > http://www.cimms.ou.edu/~kmanross/VCPRPE/squat-bug.gif > > The image does not fill the VisAD display area (white square). The > other half of the time it works correctly, filling the whole area. I'm > not sure what is causing this, except that the rings, line and dots are > created in a separate class than the terrain image. > > I would be very grateful for any help on this and would be happy to > provide some code if needed. This is very likely a problem (e.g., a race condition) with calls to ScalarMap.SetRange(), particularly for the ScalarMap to YAxis. Assuming you are running VisAD from compiled source, your might uncomment the print statement at lines 715-716 of ScalarMap.java. I would expect that you'll see differences in the order of calls for the ScalarMap to YAxis, between the times your app works correctly and the times it fails. You might also replace "System.out.println" in this call by "DisplayImpl.printStack", which will show the stack at calls to setRange(). Feel free to send a message to the list with the output. Cheers, Bill
visad
archives: