DNode
- class roman_datamodels.stnode.DNode(node=None, parent=None, name=None)[source]
Bases:
MutableMapping
Base class describing all “object” (dict-like) data nodes for STNode classes.
Attributes Summary
Asdf context for this node.
Methods Summary
copy
()Handle copying of the node
to_flat_dict
([include_arrays])Returns a dictionary of all of the schema items as a flat dictionary.
Attributes Documentation
- ctx
Asdf context for this node. This should be an empty file
Methods Documentation
- to_flat_dict(include_arrays=True)[source]
Returns a dictionary of all of the schema items as a flat dictionary.
Each dictionary key is a dot-separated name. For example, the schema element
meta.observation.date
will end up in the dictionary as:{ "meta.observation.date": "2012-04-22T03:22:05.432" }