Verification Mode
=================

This version creates intermediate and debug outputs every time Topography runs.

How to use:
1. Double-click Start_WRAP.bat.
2. Open http://localhost:8000.
3. Select a watershed.
4. Click Topography.
5. Open this folder:

   backend\cache\<HUC>_<geometryHash>\

You should see:
- request.json
- raw_dem.tif
- clipped_dem.tif
- colored_elevation.png
- metadata.json
- statistics.json
- verification.txt
- debug\
    01_raw_dem_preview.png
    02_clipped_dem_preview.png
    03_colored_elevation_preview.png
    04_elevation_histogram.png
    05_elevation_class_map.png
    06_hillshade_preview.png
    verification_summary.json

What each file means:
- raw_dem.tif: DEM downloaded from USGS for the watershed bounding box.
- clipped_dem.tif: central source-of-truth raster clipped to the selected watershed.
- colored_elevation.png: image used by the Leaflet map.
- statistics.json: statistics computed from clipped_dem.tif.
- verification.txt: readable health report for the pipeline.
- debug PNGs: image previews so you can inspect results without opening TIFF files.

To let ChatGPT verify a run:
Zip the cache folder for that watershed and upload it.
