Open mace-space opened 2 weeks ago
@mace-space for https://pds.nasa.gov/data/pds4/context-pds4/instrument/co.rss_2.0.xml, it appears your Observing_System_Component
values are using the title
value from the context product, as opposed to the name
, which is what our tool uses to validate:
<title>Radio Science Subsystem for Cassini Orbiter</title>
<Instrument>
<name>Radio Science Subsystem</name>
For https://pds.nasa.gov/data/pds4/context-pds4/telescope/canberra.dss43_70m_1.0.xml, not sure why that has not been registered.
@rchenatjpl any ideas here why that telescope is not available in the keyword search?
None of the telescopes show up in search. I'm not sure what part is configured that way. Does anyone want me to investigate and change that?
@jordanpadams Thanks. I thought the Validate warning meant it was insisting on all uppercase "RADIO SCIENCE SUBSYSTEM," but I see now that Validate passes both "Radio Science Subystem" and "RADIO SCIENCE SUBSYSTEM".
Are you saying that Validate uses <Instrument>.<name>
to check, and so because context products like canberra.dss_70m don't have such an attribute they cannot validate currently?
Also, doesn't the appearance of "RADIO SCIENCE SUBSYSTEM" in the warning indicate that it is looking at v1.0 of the context product (where that is the Instrument.name
) rather than v2.0 (where it is "Radio Science Subsystem")?
Checked for duplicates
Yes - I've already checked
🐛 Describe the bug
Validate v3.5.1 flags
warning.label.context_ref_mismatch
s for labels that appear to use correct instrument names.For example, validate outputs:
for a label containing:
i.e. labels that use information from the context products to fill in the attributes above: https://pds.nasa.gov/data/pds4/context-pds4/instrument/co.rss_2.0.xml https://pds.nasa.gov/data/pds4/context-pds4/telescope/canberra.dss43_70m_1.0.xml
🕵️ Expected behavior
I expected Validate to insist on text from the context product attributes to match
Observing_System_Component
s.However, it appears to validate against what's registered with pds.nasa.gov's Data Search. For example, by searching for
identifier:urn:nasa:pds:context:instrument:rss.co
in the Keyword Search for Cassini RSS, the webpage shows “NAME” = “RADIO SCIENCE SYSTEM.”Searching for the DSS-43 LID gives 0 results (hence why Validate reports
Expected one of: '[N/A]'
).When a context product is updated and its name changes, this is not updated in the registered context product at https://pds.nasa.gov/datasearch/keyword-search/. Validate is insisting on the original name of the instrument rather than the updated name.
📜 To Reproduce
% validate --label-extension lblx --target template-tau_filled_20240625rgf_mjtm.lblx --report-file ./validate_logs/template-tau_filled_20240625rgf_mjtm.log
Outputs:
🖥 Environment Info
📚 Version of Software Used
3.5.1
🩺 Test Data / Additional context
No response
🦄 Related requirements
No response
⚙️ Engineering Details
No response
🎉 Integration & Test
No response