nwm_region_mgr.utils.validation_utils.check_columns_dataframe#

nwm_region_mgr.utils.validation_utils.check_columns_dataframe(file, columns)[source]#

Check if the required columns are present in the file.

Parameters:
  • file – Path to the CSV or Parquet file.

  • columns – Set of required column names.

Raises:

ValueError – If any of the required columns are missing in the file.