New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable projected click, fix time values #1800

Merged
merged 4 commits into from Feb 3, 2016

Conversation

Projects
None yet
4 participants
@chaosphere2112
Contributor

chaosphere2112 commented Jan 21, 2016

When clicking on data that was projected, the wrong value was displayed. The issue is that we are not "de-projecting" the coordinates of the mouse. I wasn't able to come up with a quick fix for that (as my ability to reason through projection stuff is pretty limited), so I disabled the value checker for all nonlinear projections. I also removed some redundant logic for extracting the world coordinate (we had a call in vcs.utils for this). As an added bonus, we now get correct values when clicking on the plot after having animated it or advanced the current frame beyond the initial frame now. I'm pretty sure the time logic I used is solid, and it should fall back nicely to the "N/A" if it's not able to determine which axis is time.

@sankhesh @doutriaux1 @aashish24 @danlipsa Please review and merge so we can release.

@chaosphere2112 chaosphere2112 self-assigned this Jan 21, 2016

@chaosphere2112 chaosphere2112 added this to the 2.4 milestone Jan 21, 2016

@doutriaux1

This comment has been minimized.

Member

doutriaux1 commented Jan 21, 2016

@chaosphere2112 we should really unproject we have all the info via the vtk arguments it's not too hard to revert projection in vtk. We should do this the right way.

@aashish24

This comment has been minimized.

Contributor

aashish24 commented Jan 21, 2016

@chaosphere2112 okay if @danlipsa and @aashish take over this branch?

@chaosphere2112

This comment has been minimized.

Contributor

chaosphere2112 commented Jan 21, 2016

@aashish24 @doutriaux1 Sure thing, I was just getting this pushed out. I do need to make one tweak to the time axis logic still, but other than that anyone can take it over.

@aashish24

This comment has been minimized.

Contributor

aashish24 commented Jan 21, 2016

@chaosphere2112 roger that.

@aashish24

This comment has been minimized.

Contributor

aashish24 commented Jan 27, 2016

@danlipsa can you look in this for the projected plots?

@danlipsa

This comment has been minimized.

Contributor

danlipsa commented Feb 2, 2016

@doutriaux1 @chaosphere2112 @aashish24 I think a proper fix for this may need plotting_dataset_bounds which I return from plot in my branch:
#1806
Probably I could do something now, but I will need to revisit it after that branch is merged.
Given that this never worked, I would say to merge it as is (with projected datasets not showing the coordinates at all) instead holding the release.

@aashish24

This comment has been minimized.

Contributor

aashish24 commented Feb 2, 2016

@danlipsa this is not holding the release (at least not yet :))

@danlipsa

This comment has been minimized.

Contributor

danlipsa commented Feb 2, 2016

That's good. :-)

doutriaux1 added a commit that referenced this pull request Feb 3, 2016

Merge pull request #1800 from UV-CDAT/fix_projected_click
Disable projected click, fix time values

@doutriaux1 doutriaux1 merged commit 18643ff into master Feb 3, 2016

3 of 8 checks passed

continuous-integration/kitware-buildbot/uvcdat-garant-linux-release/ Build done.
Details
cont-int/LLNL/Darwin-Mac (FULL) 'In Queue: 16' (Wed Jan 27 11:49:19 2016)
Details
cont-int/LLNL/Darwin-Mac (NOGUI) 'In Queue: 16' (Wed Jan 27 11:49:19 2016)
Details
cont-int/LLNL/Darwin-Mac LEAN 'In Queue: 16' (Wed Jan 27 11:49:18 2016)
Details
cont-int/LLNL/Linux-Ub. 15.10 (FULL/MESA) 'In Queue: 16' (Wed Jan 27 11:49:20 2016)
Details
cont-int/LLNL/Linux-RH6 (MESA) 'git reset --hard ori' (Wed Jan 27 16:31:27 2016)
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details

@doutriaux1 doutriaux1 deleted the fix_projected_click branch Feb 3, 2016

@aashish24 aashish24 referenced this pull request Feb 3, 2016

Closed

Fix projected click #1811

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment