nwm_region_mgr.utils.validation_utils#

Define utilities and/or help functions for validation.

validation_utils.py

Functions:
  • check_columns_dataframe: Check if the required columns are present in a DataFrame (CSV or Parquet).

  • check_columns_hydrofabric: Check if the required fields are present in a hydrofabric file (GeoPackage or Shapefile).

  • check_options: Check if the provided option is valid against a list of valid options.

Functions

check_columns_dataframe

Check if the required columns are present in the file.

check_columns_hydrofabric

Check if the required fields are present in the hydrofabric file.

check_options

Check if the provided options are valid against a list of valid options.