ssapy_toolkit.IO.hdf5_to_csv
h5_to_csv.py
Library + script:
Import and call: hdf5_to_csv_per_key(“input.h5”)
Or run directly: python h5_to_csv.py (uses the hard-coded path in main()).
Functions
|
Callable API (for importing). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Returns (written, warning). |
|
- ssapy_toolkit.IO.hdf5_to_csv.hdf5_to_csv_per_key(h5_filename: str | Path, *, encoding: str = 'utf-8') Path[source]
Callable API (for importing).
Always: - creates directory <input_stem>/ next to the input file - writes one CSV per dataset key path inside that directory
- Returns:
Path to the output directory.
- ssapy_toolkit.IO.hdf5_to_csv.place_cell(grid: List[List[str]], r: int, c: int, val: str) None[source]
- ssapy_toolkit.IO.hdf5_to_csv.write_block(grid: List[List[str]], top: int, left: int, key: str, arr2d: Any) Tuple[int, int][source]
- ssapy_toolkit.IO.hdf5_to_csv.write_column(grid: List[List[str]], top: int, col: int, key: str, values: List[Any]) int[source]