Add readme info, claude scripts, gitignore
This commit is contained in:
41
run-lake-addresses.py
Normal file
41
run-lake-addresses.py
Normal file
@@ -0,0 +1,41 @@
|
||||
#!/usr/bin/env python3
|
||||
"""
|
||||
Simple wrapper script for comparing Lake County addresses
|
||||
"""
|
||||
|
||||
import subprocess
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
def main():
|
||||
# Change to script directory
|
||||
script_dir = Path(__file__).parent
|
||||
|
||||
# Define the command
|
||||
cmd = [
|
||||
sys.executable,
|
||||
"compare-addresses.py",
|
||||
"Lake",
|
||||
"Florida",
|
||||
"--local-zip", "original data/Lake/Addresspoints 2025-06.zip",
|
||||
"--tolerance", "50",
|
||||
"--output-dir", "processed data/Lake"
|
||||
]
|
||||
|
||||
print("Running Lake County address comparison...")
|
||||
print("Command:", " ".join(cmd))
|
||||
print()
|
||||
|
||||
# Run the command
|
||||
result = subprocess.run(cmd, cwd=script_dir)
|
||||
|
||||
if result.returncode == 0:
|
||||
print("\nAddress comparison completed successfully!")
|
||||
print("Results saved in: processed data/Lake/")
|
||||
else:
|
||||
print(f"\nError: Script failed with return code {result.returncode}")
|
||||
|
||||
return result.returncode
|
||||
|
||||
if __name__ == "__main__":
|
||||
sys.exit(main())
|
||||
Reference in New Issue
Block a user