nwm_region_mgr.utils.io_utils#

Define utilities and/or help functions for file I/O.

io_utils.py

Functions:
  • save_data: Save data to disk in an appropriate format based on its type and file extension

  • read_table: Read a table from a file, supporting CSV and Parquet formats.

Functions

read_table

Read a table from CSV, TSV, or Parquet with caching and optional automatic refresh.

read_table_safely

Read a delimited text file (CSV/TSV) safely.

save_data

Save data to disk in an appropriate format based on its type and file extension.