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.
> One for the TODO list: > > In the PlanViewControls, when you smooth the grid, you can't go back to > an unsmoothed grid without reloading the data. There is code in > getSliceForDisplay that checks to see if the smoothing is not NONE > before it does the smoothing. This was done for performance reasons > because every time you did something that would call this method (e.g. > skip factor), you'd also go through the smoothing code which can be > expensive. A possible solution would be to have an oldSmoothingType and > check if it's changed. Another would be that if smoothing equals > LABEL_NONE, then use retfield (another if block inside the checkFlag block). > > The implementation is left as a simple exercise for the reader. > > Don I have the code changed to allow user moving back to non smoothing to the field. Yuan > -- > Don Murray > NOAA/ESRL/PSD and CIRES > 303-497-3596 > http://www.esrl.noaa.gov/psd/people/don.murray/ > > Ticket Details =================== Ticket ID: SQR-320006 Department: Support IDV Priority: Normal Status: Closed