Writers
Classes for writing Borealis data to disk in different file formats.
-
class src.utils.writers.DMAPWriter[source]
Bases: object
Class for writing to DMAP files.
Only rawacf files are supported.
-
static write_record(filename, slice_data, _, file_type)[source]
Write out data to a DMAP file.
- Parameters:
filename (str) – Name of the file to write to
slice_data (SliceData) – Data to write out to the file
_ (str) – unused
file_type (str) – Type of file to write
-
class src.utils.writers.HDF5Writer[source]
Bases: object
Class for writing to HDF5 files.
-
static write_record(filename, slice_data, dt_str, file_type)[source]
Write out data to an HDF5 file.
- Parameters:
filename (str) – Name of the file to write to
slice_data (SliceData) – Data to write out to the HDF5 file
dt_str (str) – A datetime timestamp of the first transmission time in the record
file_type (str) – Type of file to write