Open weaverba137 opened 6 years ago
Indeed, I can see how this can be a pain for datamodel validation. The current state requires different HDUs depending upon the FLAVOR in the FIBERMAP HDU:
Required by all flavors ('arc', 'flat', 'science'):
Additional HDUs required by FLAVOR='flat' and 'science':
Additional HDUs required only by FLAVOR='science':
Additionally, as of desisim 0.26.0,
For the purposes of the 18.3 release, let's document this by hand in the datamodel and recognize that they will fail automated validation, and consider automation options for a later release.
Thinking "aloud" about options:
Punting to 18.6
The existing data model for simspec files does not reflect the actual simspec files produced in recent reference runs. Depending on the flavor of the exposure, simspec files
This last point makes it especially difficult to validate simspec files against the data model.