godber / pds3label

A Python module for parsing PDS 3 labels.
MIT License
0 stars 0 forks source link

Add support for groups and objects #2

Closed godber closed 9 years ago

godber commented 9 years ago

Groups and objects should be supported as nested dictionaries.

godber commented 9 years ago

This works pretty well. I can't recall offhand if GROUP and OBJECT can be nested more than once. If they can, this will need changes. If they can't we are good to go.

godber commented 9 years ago

Nesting is possible.

There is no limit to the depth to which OBJECT statements may be nested.
There is no limit to the depth to which groups can be nested.

Since this is not common in the IMAGE PDS types I deal with I am going to file a new ticket to support nested groups/objects that I will deal with later.