Skip to content
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

Fix for QMOS not updating lat/lon ranges correctly. #3714

Merged

Conversation

Kelvinrr
Copy link
Collaborator

@Kelvinrr Kelvinrr commented Feb 26, 2020

Description

QMOS is broken on lon direction = positivewest on top of ranges being incorrect when new map files are loaded. This should fix the issue as described.

Related Issue

#3573

Motivation and Context

We want the grid tool to work.

How Has This Been Tested?

Manually tested with all the projection files @lwellerastro posted as part of the test. This includes switching between postivewest/east and 180 to 360 domains while messing with options in the grid tool to see if grid still draws correctly. Everything seems to work.

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Documentation change (update to the documentation; no code change)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have read and agree to abide by the Code of Conduct
  • I have read the CONTRIBUTING document.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Licensing

This project is mostly composed of free and unencumbered software released into the public domain, and we are unlikely to accept contributions that are not also released into the public domain. Somewhere near the top of each file should have these words:

This work is free and unencumbered software released into the public domain. In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain.

  • I dedicate any and all copyright interest in this software to the public domain. I make this dedication for the benefit of the public at large and to the detriment of my heirs and successors. I intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law.

Copy link
Contributor

@krlberry krlberry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 The change, including the qt stuff looks good to me. (Though I also have very limited experience with signals/slots and qt. Some of the pre-existing code seems a little odd, but nothing you added.) Just requesting documentation.

@@ -797,6 +802,25 @@ namespace Isis {
configDialog->show();
}

void MosaicGridTool::onProjectionChanged() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs a docstring.

AustinSanders
AustinSanders previously approved these changes Feb 27, 2020
Copy link
Contributor

@AustinSanders AustinSanders left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@Kelvinrr
Copy link
Collaborator Author

Once I get this in Ethan's hands and finds no issues + a re-review after the docstring change we can merge.

@Kelvinrr
Copy link
Collaborator Author

We got Ethan's blessing 👍

@Kelvinrr Kelvinrr merged commit 79e652e into DOI-USGS:dev Feb 27, 2020
jessemapel pushed a commit to jessemapel/ISIS3 that referenced this pull request Mar 1, 2020
jessemapel added a commit that referenced this pull request Mar 3, 2020
* Fix for QMOS not updating lat/lon ranges correctly.  (#3714)

* qqqqqqmoooooosssssss

* added doc string

* Hand ported #3716 from dev to 3.10

* Adds the ability to save and restore a greyscale stretch to/from a Cube (#3717)

* Update meta.yaml to rename conda package to isis from isis3

* Initial stretch attempt

* Now will write a single stretch with a name and type to the cube

* Stretch updated to inherit from Blob, re-loading a saved stretch works but only if Linear right now

* Clean up Stretch class

* Completely move stretchTypes into stretch class, and some minor cleanup

* Fixed combo-box not updating bug and more cleanup

* Further cleanup of propagated earlier changes with types and names being removed from unnecessary classes

* Removed added unneeded member variables from StretchType

* Cleanup StretchTool class

* Update enter-text dialogs to drop down selection options

* Wrapped some long strings

* Initial commit to address most of review comments

* Removed buttons in case of RGB stretch and add a 'Color' PvlKeyword to Stretch output

Co-authored-by: Stuart Sides <[email protected]>

* Pinned opencv

* Ported #3713 to ISIS3

* Fixes ddd2isis to support updated uvflat files (#3719)

* Fixes ddd2isis to support updated uvflat files

* Added history comment

* Ticked to 3.11_RC1

* changed kaguyatc2isis outputcube call

Co-authored-by: Kelvin Rodriguez <[email protected]>
Co-authored-by: Kristin <[email protected]>
Co-authored-by: Stuart Sides <[email protected]>
Co-authored-by: acpaquette <[email protected]>
jessemapel pushed a commit to jessemapel/ISIS3 that referenced this pull request Mar 4, 2020
@jessemapel jessemapel mentioned this pull request Mar 4, 2020
11 tasks
ladoramkershner added a commit that referenced this pull request Mar 4, 2020
* Fix for QMOS not updating lat/lon ranges correctly.  (#3714)

* qqqqqqmoooooosssssss

* added doc string

* Fixes ddd2isis to support updated uvflat files (#3719)

* Fixes ddd2isis to support updated uvflat files

* Added history comment

* prep for 4.0.1

Co-authored-by: Kelvin Rodriguez <[email protected]>
Co-authored-by: acpaquette <[email protected]>
jessemapel pushed a commit to jessemapel/ISIS3 that referenced this pull request Mar 4, 2020
@jessemapel jessemapel mentioned this pull request Mar 4, 2020
11 tasks
ladoramkershner added a commit that referenced this pull request Mar 4, 2020
* Fixes ddd2isis to support updated uvflat files (#3719)

* Fixes ddd2isis to support updated uvflat files

* Added history comment

* Fix for QMOS not updating lat/lon ranges correctly.  (#3714)

* qqqqqqmoooooosssssss

* added doc string

* Prep for 3.10.1

Co-authored-by: acpaquette <[email protected]>
Co-authored-by: Kelvin Rodriguez <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants