Class representing a generic DAF file, containing file-wide metadata,
optional comments, and multiple
DAFArray.
DAF (Double Precision Array File) is a binary file architecture designed to
store arrays of double precision arrays used by SPICE, NAIF toolkit software library.
The architecture forms the basis of multiple file formats used to store different
data related to astrodynamics, such as SPK, PCK and CK files
(https://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/req/daf.html).
DAF files provide a generic architecture onto which more specific file
formats are implemented. They are organized in records of fixed length (1024 bytes)
containing different information. The first record is called the file record,
and contains global metadata for the file. This is followed by an optional block
comprising any number of comment records. After this, the file consits of sets of
summary records, name records and element records. These are structured as blocks
of 1 summary record (which contains multiple array summaries, providing metadata
about each array), followed by 1 name record (comprising names for the corresponding
arrays whose summaries were in the previous summary record) and finally by as many
element records as required to store the arrays described in the corresponding summary
records. For a detailed description of the DAF architecture, see NAIF documentation
(https://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/req/daf.html).