-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Initial implementation for validating two WCS #433
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
logic looks fine. Couple of small comments and needs tests 😄
Hello @adwaitbhope! Thanks for updating this PR. There are currently no PEP 8 issues detected in this Pull Request. Cheers! Comment last updated at 2021-07-07 16:44:45 UTC |
I've added test cases for this function, but for the positive test case, we have the same object as source and target. Should we introduce another WCS in the fixtures? |
I don't think it's necessary at this stage. The test as is adequately tests the current implementation. If/when this function moves to a more complicated implementation, adapting the test should be part of the work. Adding a new fixture would be part of that. |
Co-authored-by: Stuart Mumford <stuart@cadair.com>
Co-authored-by: DanRyanIrish <ryand5@tcd.ie>
Co-authored-by: Stuart Mumford <stuart@cadair.com>
Description
Fixes #428.
An initial implementation of the validate function for checking if two WCS objects are compatible with each other to reproject an
NDCube
on top of another.