oasislmf.pytools.converters.bintocsv.manager

Attributes

Functions

default_tocsv(stack, file_in, file_out, file_type, ...)

bintocsv(file_in, file_out, file_type[, noheader])

Convert bin file to csv file based on file type

Module Contents

oasislmf.pytools.converters.bintocsv.manager.logger[source]
oasislmf.pytools.converters.bintocsv.manager.TOCSV_FUNC_MAP[source]
oasislmf.pytools.converters.bintocsv.manager.default_tocsv(stack, file_in, file_out, file_type, noheader)[source]
oasislmf.pytools.converters.bintocsv.manager.bintocsv(file_in, file_out, file_type, noheader=False, **kwargs)[source]

Convert bin file to csv file based on file type

Parameters:
  • file_in (str | os.PathLike) – Input file path

  • file_out (str | os.PathLike) – Output file path

  • file_type (str) – File type str from SUPPORTED_BINTOCSV

  • noheader (bool) – Bool to not output header. Defaults to False.

  • **kwargs – additional keyword arguments forwarded to the file type specific converter