[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[IDV #SQR-320006]: Can't reset smoothing
- Subject: [IDV #SQR-320006]: Can't reset smoothing
- Date: Mon, 10 Jan 2011 14:16:02 -0700
> 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