Address Mask Error with Rotated Datasets #1278
This commit proposes a strawman fix for #1240 .
A test is included as well, and it uses new test fixtures to demonstrate the issue.
I believe this is the cleanest way to address the issue, though the transform round-trip is not particularly elegant.
Looking forward to hearing your thoughts!