added conopy script proxy

This commit is contained in:
2026-06-24 09:46:13 +03:00
parent ac33e8fb28
commit 092b4e490c
3 changed files with 22 additions and 10 deletions
+4 -1
View File
@@ -96,9 +96,12 @@ If direct download is blocked, use a SOCKS5 proxy (`pip install PySocks`):
python scripts/bootstrap_canopy.py \
--bbox 27.3,58.4,35.8,61.4 \
--output-dir data/canopy \
--proxy socks5://user:pass@host:port
--proxy socks5h://user:pass@host:port
```
Use `socks5h://` (DNS via proxy), same as `curl --proxy socks5h://`. Plain `socks5://`
resolves hostnames locally and may hang if local DNS is blocked.
The same URL can be passed via `CANOPY_PROXY` env var instead of `--proxy`.
The `/api/v1/landcover/path` endpoint samples all `.tif`/`.tiff` files under