added conopy script proxy
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user