oasislmf.pytools.data_layer.conversions.footprint

Attributes

Functions

convert_bin_to_parquet_event(→ None)

Converts the data from a binary file to a parquet file.

convert_bin_to_parquet_chunk(→ None)

Converts the data from a binary file to a parquet file.

main()

Module Contents

oasislmf.pytools.data_layer.conversions.footprint.convert_bin_to_parquet_event(static_path: str, **kwargs) None[source]

Converts the data from a binary file to a parquet file.

Parameters:
  • static_path – (str) the path to the static file

  • **kwargs – additional keyword arguments, accepted and ignored so that the conversion entrypoints can share one signature

Returns: None

oasislmf.pytools.data_layer.conversions.footprint.convert_bin_to_parquet_chunk(static_path, chunk_size, **kwargs) None[source]

Converts the data from a binary file to a parquet file.

Parameters:
  • static_path – (str) the path to the static file

  • chunk_size – target raw size of the partition

  • **kwargs – additional keyword arguments, accepted and ignored so that the conversion entrypoints can share one signature

Returns: None

oasislmf.pytools.data_layer.conversions.footprint.default_chunk_size = 8388608[source]
oasislmf.pytools.data_layer.conversions.footprint.parser[source]
oasislmf.pytools.data_layer.conversions.footprint.main()[source]