Closed henry2004y closed 3 years ago
I was enlightened by the way SpacePy handles files. Instead of a separate header and data array, it may be better to build a more contained struct. Also, the header could use NamedTuple instead of Dict.
NamedTuple
Dict
These are all implemented in newer versions.
I was enlightened by the way SpacePy handles files. Instead of a separate header and data array, it may be better to build a more contained struct. Also, the header could use
NamedTuple
instead ofDict
.These are all implemented in newer versions.