-
Notifications
You must be signed in to change notification settings - Fork 6
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
Notes on implementation; scoping compared to draft conformance rules and ugrid-checks #17
base: main
Are you sure you want to change the base?
Conversation
@pp-mo I'd like to deprecate this one in lieu for |
Thanks for the plug ! I did look into wrapping ugrid-checks within the ioos framework before, but only as a preliminary investigation. I would note that, when I discussed with another person (? @MathewBiddle or someone else ?) in context of the existing code, it seemed that the existing implementation was a more structured validation approach than the ugrid-checks code, which is arguably a bit ad-hoc in it's approach (it was written under some time constraint). I think you can see that in the ioos-interfacing draft code outlined above . I think it's also worth saying that, like the UGRID spec itself, the ugrid-checks code has been pretty much static for some years + gets very little attention, or at least little feedback. So it does need careful consideration whether the somewhat hacky ugrid-checks code, and the above interfacing approach is generally good enough to adopt here -- I will appreciate comment on that from others ! |
Thanks! My mind on this is shifting a bit. While It would be awesome to have
Indeed.
Agreed.
TL;DR we will keep this plugin for legacy purposes, but I'm more inclined into recommend the very few people doing ugrid stuff to just use Thanks for all the help and consideration @pp-mo! (And sorry for the long delay on getting back you on this.) |
Comments in code (no changes)
Scope
I believe there are only a few checks which cc-plugin-ugrid conducts which ugrid-checks does not.
-- And, as it happens, I think I disagreed with all those cases personally. E.G. checking numbers of coordinates against topology dimension, which I think is too narrow as I already explained in this comment in a ugrid conventions discussion
Summary of Problems noted
I assume the intention here was to add them to a subsidiary Result list.
This also crashes, instead of producing an error result (which tends to get ignored)