Closed tbarnes4 closed 1 month ago
@tbarnes4 without explicit context products that call out these instrument hosts/instruments as targets and their types, there is no way for us to validate these. I would recommend either creating separate target context products for these objects of an observation (targets) vs. observing objects (instrument host, instrument), and relate them (we may need a new reference type to indicate "sameness").
If that is not an option, there is really nothing we can do here because there is know way for us to know that these should be equipment. You can either ignore the warnings, or use the flag to turn the check off.
I think we previously agreed that any 1 thing would have only 1 context product (i.e. LID). That seems best to me. Richard Chen is a JPL employee and a softball player, but I only get 1 SS#.
This issue has resurfaced because validate now checks
@jordanpadams I'm okay ignoring the WARNING. Is the assumption that all LIDs listed in the context area of target context objects? Is it okay to use a non-target LID? I'm just concerned that validate tells the user what the valid
We have cases in our PDS3 archive of the target being a spacecraft, the one coming to mind is one spacecraft targeting another.
Checked for duplicates
Yes - I've already checked
π Describe the bug
We have a case in the Lucy mission data under peer review where the spacecraft or instrument is listed as the target for DSN data. A LID is provided. But validate says that the type of "Equipment" is unexpected and it should be either "Spacecraft" or "N/A" depending on the situation. I look at the PDS Data Dictionary, and I do not see either of these suggested values as valid, though they may make sense. The valid type values listed in both the current and 1.20.0.0 (which Lucy uses) IM are the same (source):
Here are two such examples:
Case 1: Spacecraft as target in
Validate warning:
Case 2: Instrument as target in
Validate warning:
I will note that in the past we had agreed that using "Equipment" though not optimal, was the best option at the time, and at least as I currently see it, currently.
This may be related to some of the context_ref checking that is going on. Though why "N/A" is acceptable instead of "Instrument", I'm not sure.
π΅οΈ Expected behavior
I expect values as listed in the data dictionary. Perhaps an update is needed?
π To Reproduce
1. 2. 3. ...
π₯ Environment Info
π Version of Software Used
Validate 3.5.2
π©Ί Test Data / Additional context
No response
π¦ Related requirements
π¦ #xyz
βοΈ Engineering Details
No response
π Integration & Test
No response