Files
skipredictor/config/stations.yaml
T

75 lines
2.9 KiB
YAML

stations:
pajares:
name: "Valgrande-Pajares"
latitude: 43.0500
longitude: -5.7700
altitude: 1500
wind_closure_threshold: 80 # km/h
minimum_snow_depth: 30 # cm
max_km_skiable: 22.0
url: "https://www.valgrande-pajares.com"
webcams:
# infonieve.es embeds a timestamp in the filename for Pajares.
# The collector resolves the current URL by scraping the page at runtime.
# primary_webcam_page is fetched to extract the live snapshot URL.
primary_webcam_page: "https://www.infonieve.es/estacion-esqui/valgrande-pajares/webcams/"
# Fallback static snapshots served by webcamsdeasturias.com via infonieve.
# These URLs include a timestamp suffix; the page-scrape strategy is preferred.
snapshots:
- label: "Cuitu Negru - Telecabina"
url_pattern: "https://www.infonieve.es/webcams/pajares-cuitu_{timestamp}.jpg"
static: false
- label: "Panoramica"
url_pattern: "https://www.infonieve.es/webcams/pajares-panoramica_{timestamp}.jpg"
static: false
sanisidro:
name: "San Isidro"
latitude: 43.0700
longitude: -5.3700
altitude: 1500
wind_closure_threshold: 80
minimum_snow_depth: 30
max_km_skiable: 31.0
url: "https://www.san-isidro.net"
webcams:
# Static snapshot URLs served by nieveleonsanisidro.com.
# These are overwritten in-place on each camera refresh cycle (no timestamp).
primary_webcam_page: "https://www.infonieve.es/estacion-esqui/san-isidro/webcams/"
snapshots:
- label: "Cebolledo I"
url: "https://www.nieveleonsanisidro.com/img/sanisidro/webcam/CebolledoI.jpg"
static: true
- label: "Salencias"
url: "https://www.nieveleonsanisidro.com/img/sanisidro/webcam/Salencias.jpg"
static: true
- label: "Riopinos"
url: "https://www.nieveleonsanisidro.com/img/sanisidro/webcam/Riopinos.jpg"
static: true
- label: "Cebolledo II"
url: "https://www.nieveleonsanisidro.com/img/sanisidro/webcam/CebolledoII.jpg"
static: true
fuentes:
name: "Fuentes de Invierno"
latitude: 43.0833
longitude: -5.9333
altitude: 1500
wind_closure_threshold: 80
minimum_snow_depth: 30
max_km_skiable: 8.6
url: "https://www.fuentesdeinvierno.com"
webcams:
# fuentesdeinvierno.com serves snapshots under /tmp/ with a self-signed TLS
# certificate. ssl_verify is set to false for these entries.
primary_webcam_page: "https://www.infonieve.es/estacion-esqui/fuentes-de-invierno/webcams/"
snapshots:
- label: "Camara 1"
url: "https://fuentesdeinvierno.com/tmp/camara1.jpg"
static: true
ssl_verify: false
- label: "Camara 2"
url: "https://fuentesdeinvierno.com/tmp/camara2.jpg"
static: true
ssl_verify: false