environmentaltools.common.delft_raw_files
- environmentaltools.common.delft_raw_files(folder: str, variables: dict, case_id: str)[source]
Load Delft3D raw output files for a specific case.
Reads multiple variable output files from Delft3D model for a given case, handling both communication (vars_com_guad) and wave (vars_wavm) variables.
- Parameters:
folder (str) – Path to directory containing case subdirectories.
variables (dict) – Dictionary with keys ‘vars_com_guad’ and/or ‘vars_wavm’, each containing list of variable names to load.
case_id (str) – Case identifier (e.g., ‘case0001’).
- Returns:
- Dictionary where keys are variable names and values are numpy
arrays containing the spatial data for each variable.
- Return type:
dict