pds4_tools
pds4_tools copied to clipboard
to_dict method | Reference_List dictionary - sub-groups collapse
Dear @LevN0,
I found out that the to_dict method has apparently an issue when dealing with a Reference_List, and apparently collapses the duplicate sub-groups into a single one.
Consider a Reference_List containing multiple Internal_Reference labels set as below:
Which when read as follows:
Provides the following results:
My understanding is that this feature happens despite the Reference_List being structured as expected according the Information model specs (https://pds.nasa.gov/datastandards/documents/im/v1/index_1K00.html#reference_type).
Could you throw maybe some light on this ? Looking forward to your reply, All the best