validate_simulation_deck
Validate ECLIPSE simulation decks by checking INCLUDE file references, identifying missing files, and optionally creating complete archives for sharing or submission.
Instructions
Validate and process ECLIPSE simulation deck with INCLUDE files.
DECK MANAGEMENT TOOL - Recursively process ECLIPSE/Intersect simulation decks to find all INCLUDE files, validate references, and optionally create a complete archive.
What It Does:
Parses main DATA file for INCLUDE keywords
Recursively follows INCLUDE chains
Validates all referenced files exist
Identifies missing or broken references
Optionally creates zip archive with all files
Applications:
Deck Validation: Ensure all files present before submission
Deck Transfer: Create complete archive for sharing
Version Control: Bundle all files for archiving
QC Check: Verify deck completeness before cluster runs
Workflow:
Specify main DATA file(s) to check
Tool recursively finds all INCLUDE files
Validates each file exists
Reports missing files or broken paths
Optionally creates zip with all referenced files
INCLUDE File Support:
Absolute paths: /full/path/to/file.inc
Relative paths: ../INCLUDE/GRID.GRDECL
Same directory: SCHEDULE.INC
Nested INCLUDE chains: INCLUDE files that reference other INCLUDE files
Output Formats:
Summary of all files found
List of missing/broken references
Optional: ZIP archive with complete deck
Args: request: List of DATA files, zip option, console output preference
Returns: Dictionary with file inventory, validation results, and optional zip path
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes |