GW dans sa version 2.0152a.fr
-
- Membre
- Messages : 202
- Inscription : dim. mai 14, 2006 11:45 am
- Localisation : Croisette (62)
- Contact :
GW dans sa version 2.0152a.fr
Bonjour à tous ,
Un grand merci à Antoine en cette période de vacances ; a sorti une nouvelle version de GW .
Cette dernière version est en service ici depuis 1 heure ( malgré l'orage qui gronde au loin et la température caniculaire d'il y une heure)
le fichier data1.txt sorti du template fonctionne ainsi que la variable :
$current[wind_direction,0.1] avec son affichage en degrés !!!
Antoine si ce n'est pas abuser des bonne choses : peux tu m'indiquer si je peux introduire dans le template
une variable qui me donnerai la tendance de la Pression atmosphérique ?
Si oui : sa forme et le résultat calculé serait sur 3H ? ou plus ou moins ???
Merci
ce n'est pas urgent ....
Cordialement
Michel
Un grand merci à Antoine en cette période de vacances ; a sorti une nouvelle version de GW .
Cette dernière version est en service ici depuis 1 heure ( malgré l'orage qui gronde au loin et la température caniculaire d'il y une heure)
le fichier data1.txt sorti du template fonctionne ainsi que la variable :
$current[wind_direction,0.1] avec son affichage en degrés !!!
Antoine si ce n'est pas abuser des bonne choses : peux tu m'indiquer si je peux introduire dans le template
une variable qui me donnerai la tendance de la Pression atmosphérique ?
Si oui : sa forme et le résultat calculé serait sur 3H ? ou plus ou moins ???
Merci
ce n'est pas urgent ....
Cordialement
Michel
OS : Windows 10 Professional
Station Météo : Vantage PRO2
Cumulus version 3.00 b 3043
Meteotemplate 17.0 Nectarine
http://lecourtilauxepines.eu
http://lecourtilauxepines.pagesperso-orange.fr
Station Météo : Vantage PRO2
Cumulus version 3.00 b 3043
Meteotemplate 17.0 Nectarine
http://lecourtilauxepines.eu
http://lecourtilauxepines.pagesperso-orange.fr
- TiToine
- Site Admin
- Messages : 3356
- Inscription : lun. mars 20, 2006 11:16 am
- Localisation : Montréal
- Contact :
Re: GW dans sa version 2.0152a.fr
Salut,
Oui tu as le rate si tu veux qui est en hPa/h: $Current[rate_relative_pressure]
Ou bien la variation sur 3h: $Current[var_relative_pressure]
Les deux donnent une valeur numérique avec un + ou un - devant.
Antoine.
Oui tu as le rate si tu veux qui est en hPa/h: $Current[rate_relative_pressure]
Ou bien la variation sur 3h: $Current[var_relative_pressure]
Les deux donnent une valeur numérique avec un + ou un - devant.
Antoine.
-
- Membre
- Messages : 56
- Inscription : mer. mars 25, 2009 3:39 pm
- Localisation : Angliers (17)
- Contact :
Re: GW dans sa version 2.0152a.fr
Salut Antoine,TiToine a écrit :Salut,
Oui tu as le rate si tu veux qui est en hPa/h: $Current[rate_relative_pressure]
Ou bien la variation sur 3h: $Current[var_relative_pressure]
Les deux donnent une valeur numérique avec un + ou un - devant.
Antoine.
Moi j'aimerais faire la même chose pour la température.
J'ai mis : $Current[rate_outdoor_température] ça marche très bien dans Stylesheets (voir exemple ici : http://www.meteo17angliers.fr/observations/report.png), mais pas dans Template. Je voudrais afficher la tendance de la température 1/h sur cette page > http://www.meteo17angliers.fr/day.html
- TiToine
- Site Admin
- Messages : 3356
- Inscription : lun. mars 20, 2006 11:16 am
- Localisation : Montréal
- Contact :
Re: GW dans sa version 2.0152a.fr
Peux-tu me donner ton template? Copie/colle le ici si il n'est pas trop gros.
-
- Membre
- Messages : 56
- Inscription : mer. mars 25, 2009 3:39 pm
- Localisation : Angliers (17)
- Contact :
Re: GW dans sa version 2.0152a.fr
Oui voilà :TiToine a écrit :Peux-tu me donner ton template? Copie/colle le ici si il n'est pas trop gros.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="author" content="GraphWeather"/>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<title>Obsevation en temps réél</title>
</head>
<body>
<p align="center"><font face="Arial" size="2"><b>Données actualisées le <!--webbot
bot="HTMLMarkup" startspan -->$CurrentDateUTC[%A %d %B %Y]<!--webbot
bot="HTMLMarkup" endspan -->
à <!--webbot bot="HTMLMarkup" startspan -->$CurrentDateUTC[%Hh%M]<!--webbot
bot="HTMLMarkup" endspan -->
UTC (Heure locale : <!--webbot bot="HTMLMarkup" startspan -->$CurrentDate[%Hh%M]<!--webbot
bot="HTMLMarkup" endspan -->
CEST)</b></font></p>
<div align="center">
<center>
<table style="height: 50px; border-style: none; border-width: medium" width="500">
<tbody>
<tr>
<td style="background-color: #cccccc; color: black" colSpan="2">
<p align="center"><font face="Arial" size="2"><b>Observation en temps
réel</b></font></td>
<tr>
<td style="background-color: #cccccc; color: black" width="165"><font face="Arial" size="2"> Temps
actuel</font></td>
<td style="background-color: #cccccc; color: black"> <img src="http://www.meteo17angliers.fr/observations/icontemps.jpg" align="absmiddle"></td>
</tr>
<tr>
<td style="background-color: #cccccc; color: black" width="165"><font face="Arial" size="2"> Température
sous abri</font></td>
<td style="background-color: #cccccc; color: black" width="165"><font face="Arial" size="2"> <!--webbot
bot="HTMLMarkup" startspan -->$Current[outdoor_temperature]<!--webbot
bot="HTMLMarkup" endspan -->°C (<!--webbot bot="HTMLMarkup" startspan -->$Current[rate_outdoor_température]<!--webbot
bot="HTMLMarkup" endspan -->
°C/h)</font></td>
</tr>
<tr>
<td style="background-color: #cccccc; color: black" width="165"><font face="Arial" size="2"> Point
de rosée</font></td>
<td style="background-color: #cccccc; color: black" width="165"><font face="Arial" size="2"> <!--webbot
bot="HTMLMarkup" startspan -->$Current[dew_point]<!--webbot
bot="HTMLMarkup" endspan -->°C</font></td>
</tr>
<tr>
<td style="background-color: #cccccc; color: black" width="165"><font face="Arial" size="2"> Humidité
relative</font></td>
<td style="background-color: #cccccc; color: black" width="170"><font face="Arial" size="2"> <!--webbot
bot="HTMLMarkup" startspan -->$Current[outdoor_humidity]<!--webbot
bot="HTMLMarkup" endspan -->%</font></td>
</tr>
<tr>
<td style="background-color: #cccccc; color: black" width="165"><font face="Arial" size="2"> Vent</font></td>
<td style="background-color: #cccccc; color: black" width="165"><font face="Arial" size="2"> <!--webbot
bot="HTMLMarkup" startspan -->$Current[wind_speed]<!--webbot
bot="HTMLMarkup" endspan -->km/h - <!--webbot bot="HTMLMarkup" startspan -->$Current[wind_direction]<!--webbot
bot="HTMLMarkup" endspan -->
°</font></td>
</tr>
<tr>
<td style="background-color: #cccccc; color: black" width="165"><font face="Arial" size="2"> Refroidissement
éolien</font></td>
<td style="background-color: #cccccc; color: black" width="165"><font face="Arial" size="2"> <!--webbot
bot="HTMLMarkup" startspan -->$Current[wind_chill]<!--webbot
bot="HTMLMarkup" endspan -->
</font></td>
</tr>
<tr>
<td style="background-color: #cccccc; color: black" width="165"><font face="Arial" size="2"> Humidex</font></td>
<td style="background-color: #cccccc; color: black" width="165"><font face="Arial" size="2"> <!--webbot
bot="HTMLMarkup" startspan -->$Current[heat_index]<!--webbot
bot="HTMLMarkup" endspan -->
</font></td>
</tr>
<tr>
<td style="background-color: #cccccc; color: black" width="165"><font face="Arial" size="2"> Pression
atmosphérique</font></td>
<td style="background-color: #cccccc; color: black" width="165"><font face="Arial" size="2"> <!--webbot
bot="HTMLMarkup" startspan -->$Current[relative_pressure]<!--webbot
bot="HTMLMarkup" endspan --> hPa (<!--webbot bot="HTMLMarkup"
startspan -->$Current[rate_relative_pressure]<!--webbot
bot="HTMLMarkup" endspan -->
hPa/h)</font></td>
</tr>
<tr>
<td style="background-color: #cccccc; color: black" width="165"><font face="Arial" size="2"> Pluie
en cours</font></td>
<td style="background-color: #cccccc; color: black" width="165"><font face="Arial" size="2"> <!--webbot
bot="HTMLMarkup" startspan -->$Current[rainfall_1h]<!--webbot
bot="HTMLMarkup" endspan --> mm/h</font></td>
</tr>
</tbody>
</table>
</center>
</div>
<p> </p>
<div align="center">
<center>
<table style="height: 50px; border-style: none; border-width: medium" width="500">
<tr>
<td style="background-color: #cccccc; color: black" colSpan="2">
<p align="center"><font face="Arial" size="2"><b>Mini / Maxi du jour</b></font></p>
</td>
<tr>
<td style="background-color: #cccccc; color: black" width="164"><font face="Arial" size="2"> Température
Mini</font></td>
<td style="background-color: #cccccc; color: black" width="164"><font face="Arial" size="2"> <!--webbot
bot="HTMLMarkup" startspan -->$Stats[Day,Min,outdoor_temperature]<!--webbot
bot="HTMLMarkup" endspan --> °C à <!--webbot bot="HTMLMarkup" startspan -->$Stats[Day,MinDate,outdoor_temperature,%Hh%M]<!--webbot
bot="HTMLMarkup" endspan -->
UTC
</font></td>
</tr>
<tr>
<td style="background-color: #cccccc; color: black" width="164"><font face="Arial" size="2"> Température
Maxi</font></td>
<td style="background-color: #cccccc; color: black" width="164"><font face="Arial" size="2"> <!--webbot
bot="HTMLMarkup" startspan -->$Stats[Day,Max,outdoor_temperature]<!--webbot
bot="HTMLMarkup" endspan --> °C à <!--webbot bot="HTMLMarkup" startspan -->$Stats[Day,MaxDate,outdoor_temperature,%Hh%M]<!--webbot
bot="HTMLMarkup" endspan -->
UTC
</font></td>
</tr>
<tr>
<td style="background-color: #cccccc; color: black" width="164"><font face="Arial" size="2"> Vent
Rafale Maxi</font></td>
<td style="background-color: #cccccc; color: black" width="164"><font face="Arial" size="2"> <!--webbot
bot="HTMLMarkup" startspan -->$Stats[Day,Max,wind_gust]<!--webbot
bot="HTMLMarkup" endspan -->km/h à <!--webbot bot="HTMLMarkup" startspan -->$Stats[Day,MaxDate,wind_gust,%Hh%M]<!--webbot
bot="HTMLMarkup" endspan -->
UTC
</font></td>
</tr>
<tr>
<td style="background-color: #cccccc; color: black" width="164"><font face="Arial" size="2"> Précipitations
du jour</font></td>
<td style="background-color: #cccccc; color: black" width="164"><font face="Arial" size="2"> <!--webbot
bot="HTMLMarkup" startspan -->$Cumul[relative_rainfall]<!--webbot
bot="HTMLMarkup" endspan --> mm</font></td>
</tr>
<tr>
<td style="background-color: #cccccc; color: black" width="164"><font face="Arial" size="2"> Taux
précipitation 1h Maxi</font></td>
<td style="background-color: #cccccc; color: black" width="164"><font face="Arial" size="2"> <!--webbot
bot="HTMLMarkup" startspan -->$Stats[Day,Max,rainfall_1h]<!--webbot
bot="HTMLMarkup" endspan --> mm/h à <!--webbot bot="HTMLMarkup" startspan -->$Stats[Day,MaxDate,rainfall_1h,%Hh%M]<!--webbot
bot="HTMLMarkup" endspan -->
UTC
</font></td>
</tr>
</table>
</center>
</div>
</body>
</html>
- TiToine
- Site Admin
- Messages : 3356
- Inscription : lun. mars 20, 2006 11:16 am
- Localisation : Montréal
- Contact :
Re: GW dans sa version 2.0152a.fr
Tu as fais un typo ici: rate_outdoor_température
Il faut écrire: rate_outdoor_temperature
Il faut écrire: rate_outdoor_temperature
-
- Membre
- Messages : 56
- Inscription : mer. mars 25, 2009 3:39 pm
- Localisation : Angliers (17)
- Contact :
Afficher la tendance température et la variation pression
salut,TiToine a écrit :Tu as fais un typo ici: rate_outdoor_température
Il faut écrire: rate_outdoor_temperature
eh non désolé mais même en faisant la modif ça marche toujours pas. pour la pression relative c'est pareil, j'obtient : NA.
ici avec Stylesheets ça marche impec :

et avec Template impossible d'afficher la tendance de la température et la variation de la pression relative. voir résultat ici : http://www.meteo17angliers.fr/day.html
voici mon template corriger :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="author" content="GraphWeather"/>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/>
<title>Statistiques</title>
</head>
<body>
<div id="frame">
<div class="title_frame">
<p align="center"><font face="Arial" size="2"><b>Données actualisées le $CurrentDateUTC[%A %d %B %Y]
à $CurrentDateUTC[%Hh%M]
UTC (Heure locale : $CurrentDate[%Hh%M] CEST)</b></font></p>
<div align="center">
<center>
<table style="height: 50px; border-style: none; border-width: medium" width="730">
<tbody>
<tr>
<td style="background-color: #cccccc; color: black" width="728" align="left" height="0" colspan="2">
<p align="center"><font face="Arial" size="2"><b>Observation en temps
réel</b></font></td>
</tr>
<tr>
<td style="background-color: #cccccc; color: black" width="364" align="left" height="0"><font face="Arial" size="2"> Température
sous abri</font></td>
<td style="background-color: #cccccc; color: black" width="364" align="left" height="0"><font face="Arial" size="2"> <b>$Current[outdoor_temperature]°C</b>
(Tendance $Current[rate_outdoor_temperature]
°C/h)</font></td>
</tr>
<tr>
<td style="background-color: #cccccc; color: black" width="364" align="left" height="0"><font face="Arial" size="2"> Indice
UV</font></td>
<td style="background-color: #cccccc; color: black" width="364" align="left" height="0"><font face="Arial" size="2"><b> $Current[uv_index]</b></font></td>
</tr>
<tr>
<td style="background-color: #cccccc; color: black" width="364" align="left" height="0"><font face="Arial" size="2"> Point
de rosée</font></td>
<td style="background-color: #cccccc; color: black" width="364" align="left" height="0"><font face="Arial" size="2"><b> $Current[dew_point]°C</b></font></td>
</tr>
<tr>
<td style="background-color: #cccccc; color: black" width="364" align="left" height="0"><font face="Arial" size="2"> Humidité
relative</font></td>
<td style="background-color: #cccccc; color: black" width="364" align="left" height="0"><font face="Arial" size="2"><b> $Current[outdoor_humidity]%</b></font></td>
</tr>
<tr>
<td style="background-color: #cccccc; color: black" width="364" align="left" height="0"><font face="Arial" size="2"> Vent</font></td>
<td style="background-color: #cccccc; color: black" width="364" align="left" height="0"><font face="Arial" size="2"> <b>$Current[wind_speed]
km/h</b> (Direction $Current[wind_direction] °)</font></td>
</tr>
<tr>
<td style="background-color: #cccccc; color: black" width="364" align="left" height="0"><font face="Arial" size="2"> Refroidissement
éolien</font></td>
<td style="background-color: #cccccc; color: black" width="364" align="left" height="0"><font face="Arial" size="2"><b> $Current[wind_chill]</b></font></td>
</tr>
<tr>
<td style="background-color: #cccccc; color: black" width="364" align="left" height="0"><font face="Arial" size="2"> Humidex</font></td>
<td style="background-color: #cccccc; color: black" width="364" align="left" height="0"><font face="Arial" size="2"><b> $Current[heat_index]</b></font></td>
</tr>
<tr>
<td style="background-color: #cccccc; color: black" width="364" align="left" height="0"><font face="Arial" size="2"> Pression
atmosphérique</font></td>
<td style="background-color: #cccccc; color: black" width="364" align="left" height="0"><font face="Arial" size="2"> <b>$Current[relative_pressure] hPa</b>
(Variation sur 3h $Current[var_relative_pressure] hPa/h)</font></td>
</tr>
<tr>
<td style="background-color: #cccccc; color: black" width="364" align="left" height="0"><font face="Arial" size="2"> Pluie
en cours</font></td>
<td style="background-color: #cccccc; color: black" width="364" align="left" height="0"><font face="Arial" size="2"> <b>$Current[rainfall_1h] mm/h</b></font></td>
</tr>
</tbody>
</table>
</center>
</div>
<p align="center"> </p>
<div align="center">
<center>
<table style="height: 50px; border-style: none; border-width: medium" width="730">
<tr>
<td style="background-color: #cccccc; color: black" colSpan="2" align="left" height="0" width="722">
<p align="center"><font face="Arial" size="2"><b>Mini / Maxi du jour</b></font></p>
</td>
<tr>
<td style="background-color: #cccccc; color: black" width="364" align="left" height="0"><font face="Arial" size="2"> Température
Mini</font></td>
<td style="background-color: #cccccc; color: black" width="364" align="left" height="0"><font face="Arial" size="2"><b> $Stats[Day,Min,outdoor_temperature] °C à $Stats[Day,MinDate,outdoor_temperature,%Hh%M]</b></font></td>
</tr>
<tr>
<td style="background-color: #cccccc; color: black" width="364" align="left" height="0"><font face="Arial" size="2"> Température
Maxi</font></td>
<td style="background-color: #cccccc; color: black" width="364" align="left" height="0"><font face="Arial" size="2"><b> $Stats[Day,Max,outdoor_temperature] °C à $Stats[Day,MaxDate,outdoor_temperature,%Hh%M]</b></font></td>
</tr>
<tr>
<td style="background-color: #cccccc; color: black" width="364" align="left" height="0"><font face="Arial" size="2"> Vent
Rafale Maxi</font></td>
<td style="background-color: #cccccc; color: black" width="364" align="left" height="0"><font face="Arial" size="2"><b> $Stats[Day,Max,wind_gust]
km/h à $Stats[Day,MaxDate,wind_gust,%Hh%M]</b>
</font></td>
</tr>
<tr>
<td style="background-color: #cccccc; color: black" width="364" align="left" height="0"><font face="Arial" size="2"> Précipitations
du jour</font></td>
<td style="background-color: #cccccc; color: black" width="364" align="left" height="0"><font face="Arial" size="2"><b> $Cumul[relative_rainfall] mm</b></font></td>
</tr>
<tr>
<td style="background-color: #cccccc; color: black" width="364" align="left" height="0"><font face="Arial" size="2"> Taux
précipitation 1h Maxi</font></td>
<td style="background-color: #cccccc; color: black" width="364" align="left" height="0"><font face="Arial" size="2"><b> $Stats[Day,Max,rainfall_1h] mm/h à $Stats[Day,MaxDate,rainfall_1h,%Hh%M]</b></font></td>
</tr>
</table>
</center>
</div>
</div>
</div>
</body>
</html>
- jturlier
- Membre
- Messages : 3149
- Inscription : mar. août 22, 2006 8:38 am
- Localisation : 34410 Sérignan - Languedoc
- Contact :
Re: GW dans sa version 2.0152a.fr
Bonjour,
une question peut-être stupide, mais tu postes sur un sujet concernant la version 252A. Si c'est la version que tu utilises, peut-être faudrait-il d'abord, mettre à jour vers la toute dernière qui tourne très bien.
Si tu as la dernière version, ce serait sans doute mieux d'ouvrir un nouveau sujet.
Jean
une question peut-être stupide, mais tu postes sur un sujet concernant la version 252A. Si c'est la version que tu utilises, peut-être faudrait-il d'abord, mettre à jour vers la toute dernière qui tourne très bien.
Si tu as la dernière version, ce serait sans doute mieux d'ouvrir un nouveau sujet.
Jean
-
- Membre
- Messages : 56
- Inscription : mer. mars 25, 2009 3:39 pm
- Localisation : Angliers (17)
- Contact :
Afficher la tendance température et la variation pression
j'utilise la derniere version 2.0.281bjturlier a écrit :Bonjour,
une question peut-être stupide, mais tu postes sur un sujet concernant la version 252A. Si c'est la version que tu utilises, peut-être faudrait-il d'abord, mettre à jour vers la toute dernière qui tourne très bien.
Si tu as la dernière version, ce serait sans doute mieux d'ouvrir un nouveau sujet.
Jean
- TiToine
- Site Admin
- Messages : 3356
- Inscription : lun. mars 20, 2006 11:16 am
- Localisation : Montréal
- Contact :
Re: GW dans sa version 2.0152a.fr
Sur quelle periode est utilisé ton template?
-
- Membre
- Messages : 56
- Inscription : mer. mars 25, 2009 3:39 pm
- Localisation : Angliers (17)
- Contact :
Re: GW dans sa version 2.0152a.fr
J'ai mis sur "Jours en cours"TiToine a écrit :Sur quelle periode est utilisé ton template?