A Python parser for cave survey data in .srv format, handling backsight/foresight shots with LRUD (Left/Right/Up/Down) measurements. This converts Walls files generated
by TopoDroid into the format used by the Cave Research Foundation (CRF).
walls_parse.py processes cave survey data files and extracts shot information including:
- Backsight and foresight stations
- Distance and azimuth/inclination measurements
- LRUD wall measurements at station locations
- Support for various shot patterns including partial backsights
python3 walls_parse.py <input_file.srv>The parser works with .srv survey files. See example-in.srv for input format and example-out.srv for expected output.
- Handles full 4-LRUD backsight shots
- Supports partial backsight patterns with splay inference
- Flexible shot pattern matching
- Verbose output mode for debugging
This project is licensed under the MIT License - see the LICENSE file for details.