oasislmf.pytools.converters.csvtobin.manager

Attributes

Functions

default_tobin(stack, file_in, file_out, file_type)

csvtobin(file_in, file_out, file_type, **kwargs)

Convert csv file to bin file based on file type

Module Contents

oasislmf.pytools.converters.csvtobin.manager.logger[source]
oasislmf.pytools.converters.csvtobin.manager.TOBIN_FUNC_MAP[source]
oasislmf.pytools.converters.csvtobin.manager.default_tobin(stack, file_in, file_out, file_type)[source]
oasislmf.pytools.converters.csvtobin.manager.csvtobin(file_in, file_out, file_type, **kwargs)[source]

Convert csv file to bin 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_CSVTOBIN

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