Skip to content

Outstanding review issues from #3096 (gridcell rotations) #3114

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

Closed
pp-mo opened this issue Jul 31, 2018 · 2 comments
Closed

Outstanding review issues from #3096 (gridcell rotations) #3114

pp-mo opened this issue Jul 31, 2018 · 2 comments

Comments

@pp-mo
Copy link
Member

pp-mo commented Jul 31, 2018

Premature merge.
Outstanding comments :


Missing test aspects : originally from #3103

CODE CHANGES

ANGLES TEST ASPECTS : testing of 'grid_angles'

  • THINK THIS IS ALL NOW COVERED BY Vector plots 2 #3120 (check when that is accepted)
  • (cube)
  • unrecognised inputs (no shapes)
  • missing y + x not cube
  • coords
    • not 2d : (support?)
    • different shapes : error (except 1d?)
    • different cube dims (2d : ok for 1d)
    • different cs : error
    • no cs, but not angles, i.e. plain X+Y coords : ??
    • X/Y = coord/not, and not/coord
    • cell_angle_boundpoints unrecognised

ROTATE TEST ASPECTS : testing of 'rotate_grid_vectors'

  • u+v
  • u+v with angles supplied
  • u+v with angles derived from u
  • angles method key
  • check that magnitudes remain unchanged
  • check actual angles-rotation calculation (known vector + angles)
  • check that non-2d cubes work (not supported now ?)
  • check masking of invalid points
  • check behaviour with 0-vectors ?
  • Exceptions:
    • angles not angular (bad unit)
    • u+v not same shape (implied by arithmetic)
    • angles not same dims as u+v (implied by arithmetic)
  • ?possibly~ : NaN angles handling ?
@pp-mo pp-mo mentioned this issue Jul 31, 2018
@lbdreyer lbdreyer changed the title Outstanding review issues from #3096 Outstanding review issues from #3096 (gridcell rotations) Aug 2, 2018
@lbdreyer
Copy link
Member

lbdreyer commented Sep 3, 2018

All of these comments have been dealt with so I am going to close this.

@lbdreyer lbdreyer closed this as completed Sep 3, 2018
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

No branches or pull requests

2 participants