mt_metadata.transfer_functions.io.edi.metadata.information

Created on Sat Dec 4 14:13:37 2021

@author: jpeacock

Classes

Information

Contain, read, and write info section of .edi file

Module Contents

class mt_metadata.transfer_functions.io.edi.metadata.information.Information(**data)

Bases: mt_metadata.base.MetadataBase

Contain, read, and write info section of .edi file

not much to really do here, but just keep it in the same format that it is read in as, except if it is in phoenix format then split the two paragraphs up so they are sequential.

info_dict: dict[str, str | list | None] = None
read_info(edi_lines)

Read information section and parse directly to info_dict.

Parameters:

edi_lines (list[str]) – List of lines from the EDI file.

write_info()

write out information