Spaces:
Sleeping
Sleeping
| # TSU-WAVE Test Files | |
| ## 📁 Available Tests | |
| | File | Description | | |
| |------|-------------| | |
| | `test_params.py` | Quick test of 7 parameters | | |
| | `tsuwave_mini.py` | Minimal version - just essentials | | |
| | `tsuwave_light.py` | Light version with basic calculations | | |
| | `tsuwave_improved.py` | Improved physics (more accurate) | | |
| | `test_physics.py` | Detailed physics calculations | | |
| | `quick_test.py` | Original quick test (if exists) | | |
| | `tsunami_dashboard.py` | Streamlit dashboard (requires streamlit) | | |
| ## 🚀 How to Run | |
| ### Run all tests: | |
| ```bash | |
| cd tests | |
| python run_all.py | |
| ``` | |
| Run specific test: | |
| ```bash | |
| cd tests | |
| python tsuwave_light.py | |
| ``` | |
| Run dashboard: | |
| ```bash | |
| cd tests | |
| streamlit run tsunami_dashboard.py | |
| ``` | |
| 📊 Expected Output | |
| · tsuwave_light.py - Basic event analysis | |
| · tsuwave_improved.py - More accurate run-up prediction | |
| · test_params.py - Parameter status checks | |
| ⚠️ Notes | |
| · Some tests require numpy (pip install numpy) | |
| · Dashboard requires streamlit (pip install streamlit) | |
| · All files use relative paths only (GitHub ready) | |