color legend, Information tab and spreadsheet giving incorrect information
This bug is set up by #15887 (closed). Here is a copy of that bug report, setting up this one.
- Dataset is Resample-Cone-DoNotRelease. This has two files, donor.g and recipient.g.
- Linux, master (pre 5.3.0), local server.
- Timestep 0.
- (Do not do this step, this functionality is broken.) (If desired, but not necessary, Edit/ Settings/ Clamp and update every timestep).
- Open donor.g. All vars on. Apply.
- Open recipient.g. All vars on. Apply.
- Filter/ Alphabetical/ ResampleWithDataset.
- Input == donor.g
- Source == recipient.g
- OK
- Advanced Properties tab.
- Turn on Pass Cell Array
- Turn on Pass Point Arrays
- Turn off Compute Tolerance. 1e-3.
- Apply.
- Paint by TEMPK.
Lets look at our data for the donor.g.
- Turn visibility off for ResampleWithDataset.
- Click on and turn visibility on for donor.g.
- Paint by TEMPK.
- Rescale to Data Range.
First bug. Notice that the min and max, as presented by the Color Legend, is 293.9 to 295.9. But, the Information tab shows the data running from 293.9 to 293.9. Try manually changing this to 293.9 to 294.9. Fails. Question - is this a bug, or is this just a feature of our "don't divide by zero" Color Legend implementation? Either way, needs to be fixed.
Lets look at our data for the ResampleWithDataset.
- Turn visibility off for donor.g.
- Click on and turn visibility on for ResampleWithDataset.
- Paint by TEMPK.
- Rescale to Data Range.
Second bug. The max has jumped down by two degrees. Range is now 0 to 293.9. I believe the reason is that the base of the cone is actually outside of the tolerance, and is being padded by zero. With regards to this bug, lets assume 0 is OK. Max range should not have jumped.
Lets look at our data in the Spreadsheet.
- Split horizontal. Spreadsheet. Should already be set up correctly. ResampleWithDataset, Point Data.
Third bug. Sort on TEMPK. Notice that everything is zero. This is wrong, the outside of the cone should be 293.9 degrees! Same problem with all of the other variables.
Note that I have marked this as required. The color legend min/max issue is required for the 5.3 release, the Spreadsheet may slip to 5.4.
Thanks team!