Closed smclaughlin7 closed 1 month ago
@smclaughlin7 we currently only match the Instrument_Host.Name
value in order to encourage the highest level of consistency across the archive. The title can be considered a "display title", which is not necessarily appropriate for archive metadata. You are welcome to disable the check if you do not want to make the appropriate updates for this.
@jordanpadams My concern is that the current registered_context_products.json file specifies an incorrect and misleading name/display title for the Pioneer Venus Large Probe spacecraft/instrument_host (urn:nasa:pds:context:instrument_host:spacecraft.pvmp.lp::1.0). The Large Probe was one of five spacecraft/instrument_hosts that comprised the "Multiprobe" component of the Pioneer Venus mission/investigation.
In the context JSON file, the name for the Large Probe entry should be changed from: "PIONEER VENUS MULTIPROBE" to "PIONEER VENUS LARGE PROBE"
Looping in @Martian-Dustdevil (Lynn -- Great handle!) because he did all the heavy lifting for us on the instrument_host context products for the Pioneer Venus Large/Day/Night/North/Bus spacecraft.
@smclaughlin7 sorry for the misunderstanding. This needs to be updated in the context products themselves. Not validate. We are in the process of doing a scrub of these so I will add this to my list.
So to be clear -- the
@jordanpadams Sorry, my description of this 'bug' was not very clear!
@Martian-Dustdevil Thanks for clarifying urn:nasa:pds:context:instrument_host:spacecraft.pvmp.lp
.
Checked for duplicates
No - I haven't checked
🐛 Describe the bug
Validate 3.5.2 throws this warning on the basic product label "v2_ks-18m.xml" in v2_ks-18m.zip:
The instrument host specified in the label matches the in context product urn:nasa:pds:context:instrument_host:spacecraft.pvmp.lp: "PIONEER VENUS LARGE PROBE".
However, the registered_context_products.json file, which is distributed with Validate 3.5.2, specifies the wrong name:
I ran "validate -u" as Jordan recommended but it did not correct that name in my local JSON file. (It did make a few other updates in that file.) Jordan mentioned those values come directly from the database.
Could the registered_context_products.json file be corrected in the next Validate release?
🕵️ Expected behavior
Since the instrument host specified in the label matches the in context product urn:nasa:pds:context:instrument_host:spacecraft.pvmp.lp, I expected to get no warning message.
📜 To Reproduce
> validate v2_ks-18m.xml
🖥 Environment Info
📚 Version of Software Used
Validate 3.5.2
🩺 Test Data / Additional context
The attached zip file "v2_ks-18m.zip" includes the product data file "v2_ks-18m.dat".
🦄 Related requirements
🦄 #xyz
⚙️ Engineering Details
No response
🎉 Integration & Test
No response