vercors.me : retrait de Rochechinard, Marignac-en-Diois et Solaure-en-Diois (pas d'autorisation), Méaudre station Gastinel, sources ROMMA et Infoclimat dans À propos
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Cette révision appartient à :
1 Parent
b53d00102f
révision
77c05e12ab
7 fichiers modifiés
+25
-31
Aucun fichier ne correspond à votre recherche
@@ -453,12 +453,9 @@ const STATIONS = {
|
||||
'rousset': {nom:'Col du Rousset – plateau de Beurre', src:'Météo-France', alt:1400, lat:44.8417, lon:5.4217, t:-0.5},
|
||||
'gresse': {nom:'Gresse-en-Vercors', src:'Météo-France', alt:1220, lat:44.8998, lon:5.5657, t:-3.9},
|
||||
'st-jean': {nom:'Saint-Jean-en-Royans', src:'Météo-France', alt:308, lat:45.0092, lon:5.2925, t:2.6},
|
||||
'rochechinard': {nom:'Rochechinard', src:'Infoclimat', alt:683, lat:45.0215, lon:5.2477, t:3.1},
|
||||
'die': {nom:'Die', src:'Infoclimat', alt:400, lat:44.75, lon:5.3667, t:1.9},
|
||||
'st-julien-q': {nom:'Saint-Julien-en-Quint', src:'Infoclimat', alt:574, lat:44.8378, lon:5.2922, t:-0.8},
|
||||
'marignac': {nom:'Marignac-en-Diois', src:'Infoclimat', alt:600, lat:44.8093, lon:5.3492, t:0.4},
|
||||
'archiane': {nom:'Cirque d\'Archiane', src:'Infoclimat', alt:747, lat:44.7445, lon:5.5064, t:-2.7},
|
||||
'solaure': {nom:'Solaure-en-Diois', src:'Infoclimat', alt:442, lat:44.7065, lon:5.3984, t:1.2},
|
||||
};
|
||||
// Une puce par village ou site ; la 1re station est celle affichée. Ordre = priorité d'affichage.
|
||||
const GROUPES = [
|
||||
@@ -472,18 +469,16 @@ const GROUPES = [
|
||||
{nom:'Col du Rousset', st:['rousset'], sect:'Hauts-Plateaux et Vercors drômois'},
|
||||
{nom:'Gresse', st:['gresse'], sect:'Trièves et Gresse'},
|
||||
{nom:'Die', st:['die'], sect:'Diois'},
|
||||
{nom:'St-Jean-en-Royans', st:['st-jean','rochechinard'], sect:'Royans'},
|
||||
{nom:'St-Jean-en-Royans', st:['st-jean'], sect:'Royans'},
|
||||
{nom:'Oscence', st:['oscence'], sect:'Hauts-Plateaux et Vercors drômois'},
|
||||
{nom:'Engins', st:['engins'], sect:'Quatre-Montagnes'},
|
||||
{nom:'Archiane', st:['archiane'], sect:'Diois'},
|
||||
{nom:'St-Julien-en-Quint', st:['st-julien-q'], sect:'Diois'},
|
||||
{nom:'Marignac', st:['marignac'], sect:'Diois'},
|
||||
{nom:'Solaure', st:['solaure'], sect:'Diois'},
|
||||
];
|
||||
// Propriétaire des stations « de chez nous » ; 'dispo' = où l'on retrouve aussi la station (jamais Infoclimat en premier)
|
||||
const PROPRIO = {lans:'Station Gastinel', moucherolle:'Station Gastinel',
|
||||
geve:'Station Richard Gastinel', allieres:'Station Richard Gastinel', bruyeres:'Station Richard Gastinel',
|
||||
darbounouse:'Station Richard Gastinel', oscence:'Station Richard Gastinel'};
|
||||
darbounouse:'Station Richard Gastinel', oscence:'Station Richard Gastinel', meaudre:'Station Gastinel'};
|
||||
const DISPO = ['WeatherLink', 'ROMMA', 'Infoclimat'];
|
||||
function origine(id){
|
||||
const s = STATIONS[id], p = PROPRIO[id];
|
||||
@@ -494,7 +489,7 @@ function origine(id){
|
||||
const MASSIF = [5.06, 45.305, 5.835, 44.635]; // ouest, nord, est, sud : tout le Parc (limite IGN)
|
||||
// Une puce par station : la 1re station d'un groupe porte le nom du village et passe en priorité ;
|
||||
// les autres viennent après, elles rejoignent la puce du village tant que la place manque.
|
||||
const NOMS = {geve:'Gêve', bruyeres:'Les Bruyères', allieres:'Les Allières', rochechinard:'Rochechinard'};
|
||||
const NOMS = {geve:'Gêve', bruyeres:'Les Bruyères', allieres:'Les Allières'};
|
||||
const PUCES = [...GROUPES.map(g => ({nom: g.nom, st: [g.st[0]]})),
|
||||
...GROUPES.flatMap(g => g.st.slice(1).map(id => ({nom: NOMS[id], st: [id], parent: g.nom})))];
|
||||
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur