-
Notifications
You must be signed in to change notification settings - Fork 1
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
Mistaking platform and instrument groups #3
Comments
@graemenott Indeed. I'm not sure the platform group was a thing that was considered when this was first put together. Do we have a full spec of what a spif file should look like anywhere. At the moment there's definitely the requirement that a top-level group is an instrument group. First thing to define is exactly what a platform group needs to look like... |
Any other group, including platform, is an optional. So it vocal applying the instr group validators to any group in the root? Is it possible to make it so any other group that isn't an instrument group validated against the definitions only? Is it becoming a right pain that the instrument group does not have a defined or at least known name? Do we need to make a mandatory global attribute that is the instrument group name/s? Isn't the full spif spec in the spif_example as it has all the mandatories? |
The difficulty is that if an instrument group is a subset of a. n. other group (which I believe it is), and you allow either
full spec != mandatories, as it may---as in this case---exclude optionals. |
A way to get around this would be to have something like a |
Just so I've got this straight in my head:
?? |
Sorry, prep'ing for volcano. Yes to your last. We only came up with
|
Ah yes, the biannual volcano panic. Can chat about this tomorrow if you're in. I think the commit associated with this issue 'solves' the problem, but with greater flexibility comes less specific/more verbose error management. |
So that would be a group attribute in all the groups one down from Oh, "instrument" is probably not a great tag in this context; "image", "raw_image", ?? ...I'm beginning to hate this. |
So latest idea...is to do both.
See issue #5 about changing "instrument" to "imager". |
|
Reposting with correct nomenclature for clarity...
|
Good point about this. I agree that it probably shouldn't be allowed to have sub groups of Just give an hour or two to work out what's happening in this diagram! |
When attempting to run
release
withspif_extended_example.yaml
, vocal attempts to apply instrument group attr requirements to platform group. Results in error below.Applying InstrumentGroupAttributes() to all groups?
The text was updated successfully, but these errors were encountered: