précipitation à 0

Une question, un bug ?
Répondre
maxime1
Membre
Messages : 127
Inscription : mar. mai 22, 2007 8:44 pm

précipitation à 0

Message par maxime1 »

Titoine bonjour,

depuis que j'ai mis à jour GW avec la dernière version la quantité de précipitation annuelle est à 0 comme visible ici: http://www.auribeaumeteo.com/pages/graph12.jpg
J'ai pourtant généré (et régénéré les stats) comme vu dans un post.
que faut il faire? j'ai une VP2 et j'utilise le plugin Wswin
Avatar de l’utilisateur
TiToine
Site Admin
Messages : 3356
Inscription : lun. mars 20, 2006 11:16 am
Localisation : Montréal
Contact :

Re: précipitation à 0

Message par TiToine »

Peux-tu poster le code xml de ce graph?
Dans tes stats, tu as combien de pluie pour cette année?
maxime1
Membre
Messages : 127
Inscription : mar. mai 22, 2007 8:44 pm

Re: précipitation à 0

Message par maxime1 »

TiToine a écrit :Peux-tu poster le code xml de ce graph?
Dans tes stats, tu as combien de pluie pour cette année?
dans les stats j'ai 372,7 mm visible ici : http://www.auribeaumeteo.com/statistiqu ... 8/2008.xml

ci dessous le code xml
<?xml version="1.0" encoding="iso-8859-1" ?>
<stylesheet>
<image width="450" height="270" />
<!-- ================= Image d'arrière plan ================= -->
<frame width="450" height="230" position-x="0" position-y="0" >
<background color1="FF9999FF" color2="FFFFFFFF" gradient="1" gradient-direction="90" stretch="1" />
<border cornerradius="0" color="FF555555" thick="1" />
</frame>
<!-- ================= Stats ================= -->
<textbox width="250" height="210" shadow="1" position-x="10" position-y="10" margin="10">
<background color1="FFAAAAFF" color2="FFFFFFFF" gradient="1" gradient-direction="90" stretch="1" />
<border cornerradius="10" color="FF999999" thick="1" />
<text alignement="3">
<line text="$COUNTRY "/>
<line text="le $CURRENT_DATE[%A %d %B %Y à %Hh%M]"/>

<line text=""/>

<line text="Pression relative : $CURRENT[relative_pressure] $UNIT[PRESSURE] ($CURRENT[rate_relative_pressure] $UNIT[PRESSURE]/h)"/>
<line text="Humidité exterieure : $CURRENT[outdoor_humidity] %"/>
<line text="Facteur vent : $CURRENT[wind_chill] $UNIT[TEMPERATURE]"/>
<line text="Vitesse vent : $CURRENT[wind_speed] $UNIT[SPEED]"/>
<line text="Pluie 1h : $CURRENT[rainfall_1h] $UNIT[RAINFALL]"/>
<line text="Pluie du jour : $CURRENT[rainfall_24h] $UNIT[RAINFALL]"/>
<line text="Précipitations de l'année : $CURRENT[absolute_rainfall] $UNIT[RAINFALL]"/>

<line text=""/>
<line text="Prévision à 12h : $WEATHER_FORECAST[COMMENT]"/>
<font color="FF000000" size="14" weight="400" italic="0" />
</text>
</textbox>
<textbox width="160" height="40" shadow="1" position-x="275" position-y="180" margin="10">
<background color1="FFAAAAFF" color2="FFFFFFFF" gradient="1" gradient-direction="90" stretch="1" />
<border cornerradius="10" color="FF999999" thick="1" />
<text alignement="4">
<line text="$CURRENT[outdoor_temperature] $UNIT[TEMPERATURE]"/>
<font color="FF000000" size="22" weight="400" italic="0" />
</text>
<background color="00000000"/>
</textbox>
<!-- ================= Icon ================= -->
<frame width="128" height="128" position-x="290" position-y="25">
<background color="ff0000ff" texture="$WEATHER_CONDITIONS[ICON]" stretch="1" />
</frame>
<frame width="36" height="36" position-x="110" position-y="177">
<background color="ff0000ff" texture="$WEATHER_FORECAST[ICON]" stretch="1" />
</frame>
</stylesheet>


merci pour ton aide
Avatar de l’utilisateur
TiToine
Site Admin
Messages : 3356
Inscription : lun. mars 20, 2006 11:16 am
Localisation : Montréal
Contact :

Re: précipitation à 0

Message par TiToine »

C'est l'ancienne version de l'XML que tu as. Voici la version la plus récente:

Code : Tout sélectionner

<?xml version="1.0" encoding="iso-8859-1" ?>
<stylesheet>
	<image width="450" height="230" />
	<!-- ================= Image d'arrière plan ================= -->
	<frame width="450" height="230" position-x="0" position-y="0" >
		<background color1="FF9999FF" color2="FFFFFFFF" gradient="1" gradient-direction="90" stretch="1" />
		<border cornerradius="0" color="FF555555" thick="1" />
	</frame>
	<!-- ================= Stats ================= -->
	<textbox width="250" height="210" shadow="1" position-x="10" position-y="10" margin="10">
    <background color1="FFAAAAFF" color2="FFFFFFFF" gradient="1" gradient-direction="90" stretch="1" />
    <border cornerradius="10" color="FF999999" thick="1" />
		<text alignement="left|top">
      <line text="$Country "/>
      <line text=""/>
			<line text="Pression relative : $Current[relative_pressure] $Unit[Pressure] ($Current[rate_relative_pressure] $Unit[Pressure]/h)"/>
			<line text="Humidité exterieure : $Current[outdoor_humidity] %"/>
			<line text="Point de rosée : $Current[dew_point] $Unit[Temperature]"/>
			<line text="Facteur vent : $Current[wind_chill] $Unit[Temperature]"/>
			<line text="Facteur humidex : $Current[heat_index] $Unit[Temperature]"/>
			<line text="Vitesse vent : $Current[wind_speed] $Unit[Speed]"/>
      <line text="Pluie 1h : $Current[rainfall_1h] $Unit[Rainfall]"/>
      <line text="Précipitations du mois : $Stats[Month,TotalRainfall] $Unit[Rainfall]"/>
      <line text="Précipitations de l'année : $Stats[Year,TotalRainfall] $Unit[Rainfall]"/>
      <line text=""/>
      <line text="Prévision à 12h :                  $WeatherForecast[Comment]"/>
      <font color="FF000000" size="14" weight="400" italic="0" />
		</text>
	</textbox>
  <textbox width="160" height="40" shadow="1" position-x="275" position-y="180" margin="10">
    <background color1="FFAAAAFF" color2="FFFFFFFF" gradient="1" gradient-direction="90" stretch="1" />
    <border cornerradius="10" color="FF999999" thick="1" />
    <text alignement="4">
      <line text="$Current[outdoor_temperature] $Unit[Temperature]"/>
      <font color="FF000000" size="22" weight="400" italic="0" />
    </text>
    <background color="00000000"/>
  </textbox>
	<!-- ================= Icon ================= -->
	<frame width="128" height="128" position-x="290" position-y="25">
		<background color="ff0000ff" texture="$WeatherConditions[Icon]" stretch="1" />
	</frame>
  <frame width="36" height="36" position-x="110" position-y="177">
    <background color="ff0000ff" texture="$WeatherForecast[Icon]" stretch="1" />
  </frame>
</stylesheet>
maxime1
Membre
Messages : 127
Inscription : mar. mai 22, 2007 8:44 pm

Re: précipitation à 0

Message par maxime1 »

Merci titoine, ça fonctionne maintenant
Répondre