NASA-PDS / pds4-information-model

The software tools and data necessary for generating the Information Model including PDS4 ontology, data, and information model.
https://nasa-pds.github.io/pds4-information-model/
Other
9 stars 6 forks source link

Update LDDTool to write the PDS4 Data Dictionary (DocBook) for multiple LDDs #93

Closed jshughes closed 4 years ago

jshughes commented 4 years ago

Update LDDTool to write the PDS4 Data Dictionary (DocBook) for multiple LDDS. Multiple LDDs can now be stacked to produce a combined PDS4 Data Dictionary.

rchenatjpl commented 4 years ago

1) Is the output docbook the xml version of the Information Model Specification, https://pds.jpl.nasa.gov/datastandards/documents/im/current/index_1D00.html? 2) Should the output docbook include anything from the input Ingest_LDD for lddtool? I didn't see any. 3) Do you know an easy way to view or convert the docbook file? Thanks

rchenatjpl commented 4 years ago

Regarding the previous comment's #2, I meant, does the docbook have anything from the LDD that's getting created? I didn't see any, but then I changed Ingest_LDD/namespace_id from "insight" to "geo", and that worked. Is this intentional? That would be fine. Is it documented somewhere? Eh, this stuff doesn't matter much except that I must test it. I won't chase this down any further.

jordanpadams commented 4 years ago

@jshughes can you comment? I thought this should work for both mission and discipline dictionaries but maybe not?

rchenatjpl commented 4 years ago

ah, an older version of lddtool showed what namespaces were available, and "insight" wasn't one of them. I guess it'd be nice to see what that list is, though since presumably Steve's the only one generating the DocBook, not having that info is a pain only for the tester.

jshughes commented 4 years ago

Yes, there is an issue assigned to me to reduce the number of messages written by LDDTool to the log. The list of namespaces was considered debugging information and is now only written when the debug flag is set to true. Unfortunately, the debug flag is set in the code.

However, the namespace registry can be found here: https://pds.jpl.nasa.gov/datastandards/schema/pds-namespace-registry.pdf

jordanpadams commented 4 years ago

@jshughes can we maybe output this in the Help (-h) info?

jshughes commented 4 years ago

Good idea, will add add this suggestion to the queue.