Forum GraphWeather

Forum d'aide GraphWeather
Nous sommes actuellement le Sam Avr 27, 2024 10:13 pm

Le fuseau horaire est UTC+1 heure




Publier un nouveau sujet Répondre au sujet  [ 6 message(s) ] 
Auteur Message
MessagePublié: Jeu Sep 18, 2014 6:47 pm 
Hors-ligne
Nouveau membre
Avatar de l’utilisateur

Inscription : Lun Nov 03, 2008 11:35 pm
Message(s) : 7
Localisation : La Croix en Touraine (37)
bonjour a tous !!

j' utilise la version 3 de graph weather, super logiciel que je connaissais déja sous la version 2, mais la j' ai deux bugs qui me génent et je sais pas comment y remédier !

J' utilise la plugin CSV.dll, sa marche impec, cependant:

1 - la direction du vent est bloquée entre le nord et le nord nord est !

comme on voit ici :

Image

2 - Pour la pluie, il a plu ce matin entre 5h40 et 7h40 5.6mm pas de probléme, mais graph weather recompte ce cumul a 17h00 je ne sais pas pourquoi ?? (voir graph du haut !)

je précise que mon fichier CSV est impeccable

merci beaucoup pour votre aide ! :D

_________________
Vincent

Station météo : WS1640 Lacrosse technology
logiciels : Weather Capture Advance et Graph weather 3.0.15


Haut
 Profil  
Répondre en citant  
MessagePublié: Jeu Sep 18, 2014 7:36 pm 
Hors-ligne
Membre
Avatar de l’utilisateur

Inscription : Mar Août 22, 2006 8:38 am
Message(s) : 3145
Localisation : 34410 Sérignan - Languedoc
Bonjour Vincent,
les valeurs de direction du vent que tu affiches ne sont pas en degrés comme le script xml les suppose, mais de 0 à 15. Il devrait suffire de corriger ce script.
Pierre-André héberge maintenant ma doc sur les objets de GW, tu devrais donc trouver les infos sur son site.

Il serait intéressant que tu mettes ton script xml dans ton prochain post pour les autres questions

Jean


Haut
 Profil  
Répondre en citant  
MessagePublié: Jeu Sep 18, 2014 7:45 pm 
Hors-ligne
Membre
Avatar de l’utilisateur

Inscription : Dim Jan 17, 2010 7:16 pm
Message(s) : 2624
Localisation : 1555 Villarzel - Switzerland
jturlier a écrit:
Pierre-André héberge maintenant ma doc sur les objets de GW, tu devrais donc trouver les infos sur son site.


Voici le lien direct
http://www.boock.ch/meteo/GW_doc_objets1.php

A+

_________________
_________________________________________________________________________________________________________
Station Vantage Pro2+ avec station agricole - Weatherlink 6.0.3 - GraphWeather 3.0.15b - Cumulus 1.9.4 - Windows W10 ultimate x64
http://www.boock.ch/meteo-villarzel.php
Image


Haut
 Profil  
Répondre en citant  
MessagePublié: Jeu Sep 18, 2014 7:53 pm 
Hors-ligne
Nouveau membre
Avatar de l’utilisateur

Inscription : Lun Nov 03, 2008 11:35 pm
Message(s) : 7
Localisation : La Croix en Touraine (37)
merci beaucoup de m' avoir répondu, voici le XML de ma stylesheet

Code :
<?xml version="1.0" encoding="iso-8859-1" ?>
<stylesheet>
  <image width="800" height="1020" />
  <frame width="800" height="1020" position-x="0" position-y="0" shadow="0">
    <title text="" alignement="left|top" angle="0">
      <font color="FF000000" facename="Arial" size="14" weight="400" italic="0" />
    </title>
  <!-- ================= arriere plan =================  -->
    <background texture="fond001.png" stretch="1" />
    <border cornerradius="10" color="FF000000" thick="1" />
  </frame>
  <!-- ================= graphique numero 1 =================  -->
  <lineplot width="825" height="250" shadow="0" position-x="15" position-y="80" margin-top="0" margin-right="100" margin-bottom="0" margin-left="45" >
    <title text="" alignement="vcenter|hcenter" angle="0">
      <font color="FF000000" facename="Arial" size="18" weight="400" italic="0" />
    </title>
    <border cornerradius="0" color="00000000" thick="0" />
    <xaxis color="FF000000" grid="1" autoscale="0" min="0" max="0" titleside="bottom">
      <title text="" alignement="vcenter|hcenter" angle="0">
        <font color="FF000000" facename="Arial" size="14" weight="400" italic="0" />
      </title>
      <labels labelinterval="1" angle="0" format="%H:%M\n%d/%m" side="left" hide="0">
        <font color="FF000000" facename="Arial" size="14" weight="600" italic="0" />
      </labels>
      <ticks majorticks="7" minorticks="3" side="vcenter|hcenter" hidefirst="0" hidelast="0" hideminorticks="0" hide="1" />
    </xaxis>
    <y1axis color="FF000000" grid="1" autoscale="1" min="0" max="0" titleside="left" titlemargin="35">
      <title text="Température ($Unit[Temperature])" alignement="vcenter|hcenter" angle="0">
        <font color="FF000000" facename="Arial" size="14" weight="800" italic="0" />
      </title>
      <labels labelinterval="1" angle="0" format=".0" side="left" hide="0">
        <font color="FF000000" facename="Arial" size="14" weight="400" italic="0" />
      </labels>
      <ticks majorticks="5" minorticks="4" side="left" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
    </y1axis>
    <y2axis ydelta="50" side="right" color="FF000000" grid="0" autoscale="0" min="0" max="100" titleside="right" titlemargin="35">
      <title text="Humidité (%)" alignement="vcenter|hcenter" angle="0">
        <font color="FF000000" facename="Arial" size="14" weight="800" italic="0" />
      </title>
      <labels labelinterval="1" angle="0" format=".0" side="right" hide="0">
        <font color="FF000000" facename="Arial" size="14" weight="400" italic="0" />
      </labels>
      <ticks autoticks="0" majorticks="5" minorticks="4" side="right" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
    </y2axis>
   <legend orientation="0" margin="5" width="680"  position-x="60" position-y="50" hide="0" shadow="0">
      <font color="FF000000" facename="Arial" size="14" weight="600" italic="0" />
      <border cornerradius="0" color="55555555" thick="1" />
      <background color1="FFFFFFFF" color2="FF339933" gradient="1" gradient-direction="90" />
    </legend>
    <background color="00FFFFFF" stretch="0" />
    <graphbackground color="FFFFFFFF" texture="" />
    <data>
      <outdoor_temperature axisbind="y1axis" legend="Température Exterieure" color1="FFFF0000" color2="FF0000FF" antialiasing="1" filled="0" hide="0" thick="3"/>
     <threshold axisbind="y1axis" legend="Limite 0°C" color1="FFFF0000" value="0" thick="1" pattern="F0F0F0F0"/>
     <dew_point axisbind="y1axis" legend="Point de rosée" color1="FF0000FF" color2="FF0000FF" antialiasing="1" filled="0" hide="0" thick="2"/>
      <outdoor_humidity axisbind="y2axis" legend="Humidité extérieure" color1="3000FF00" color2="300000FF" antialiasing="1" filled="1" hide="0" />
      <outdoor_humidity axisbind="y2axis" legend="Humidité extérieure" color1="300000FF" antialiasing="1" hidelegend="1" thick="2"/>
    </data>
    <background color="00FFFFFF" stretch="0" />
    <graphbackground color1="FFCCCCFF" color2="FFFFFFFF" gradient="1" gradient-direction="90" />
    <border cornerradius="0" color="FF000000" thick="0" />
  </lineplot>
  <!-- ================= graphique numero 2 ================= -->
  <lineplot width="825" height="290" shadow="0" position-x="15" position-y="410" margin-top="0" margin-right="100" margin-bottom="45" margin-left="45" >
    <title text="" alignement="vcenter|hcenter" angle="0">
      <font color="FF000000" facename="Arial" size="18" weight="400" italic="0" />
    </title>
    <border cornerradius="0" color="FF000000" thick="0" />
    <xaxis color="FF000000" grid="1" autoscale="0" min="0" max="0">
      <title text="" alignement="vcenter|hcenter" angle="0">
        <font color="FF000000" facename="Arial" size="14" weight="400" italic="0" />
      </title>
      <labels labelinterval="1" angle="0" format="%H:%M\n%d/%m" side="left" hide="0">
        <font color="FF000000" facename="Arial" size="14" weight="600" italic="0" />
      </labels>
      <ticks majorticks="7" minorticks="3" side="bottom" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
    </xaxis>
    <y1axis side="left" color="FF000000" grid="1" autoscale="1" titleside="left" titlemargin="35">
      <title text="Pression atmo. en ($Unit[Pressure])" alignement="vcenter|hcenter" angle="0">
        <font color="FF000000" facename="Arial" size="14" weight="800" italic="0" />
      </title>
      <labels labelinterval="1" angle="0" format=".0" side="left" hide="0">
        <font color="FF000000" facename="Arial" size="14" weight="400" italic="0" />
      </labels>
      <ticks majorticks="5" minorticks="4" side="right" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
    </y1axis>
    <y2axis side="right" color="FF000000" grid="0" autoscale="1" min="0" max="0" titleside="right" titlemargin="35">
      <title text="Précipitations ($Unit[Rainfall])" alignement="vcenter|hcenter" angle="0">
        <font color="FF000000" facename="Arial" size="14" weight="800" italic="0" />
      </title>
      <labels labelinterval="1" angle="0" format=".1" side="right" hide="0" hidelast="0">
        <font color="FF000000" facename="Arial" size="14" weight="400" italic="0" />
      </labels>
      <ticks majorticks="5" minorticks="4" side="right" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
    </y2axis>
   <legend orientation="0" margin="5" width="680"  position-x="60" position-y="380" hide="0" shadow="0">
      <font color="FF000000" facename="Arial" size="14" weight="600" italic="0" />
      <border cornerradius="0" color="55555555" thick="1" />
      <background color1="FFFFFFFF" color2="FFCC6600" gradient="1" gradient-direction="90" />
    </legend>
    <background color="00FFFFFF" stretch="0" />
    <graphbackground color="FFFFFFFF" texture="" />
    <data>
      <relative_pressure axisbind="y1axis" legend="Pression atmosphérique" color1="FF003300" color2="FF003300" antialiasing="1" filled="0" hide="0" thick="3"/>
     <threshold axisbind="y1axis" legend="Limite dépression/anticyclone" color1="FF003300" value="1013" thick="1" pattern="F0F0F0F0"/>
      <relative_rainfall axisbind="y2axis" legend="Précipitations" color1="660000FF" color2="330000FF" antialiasing="1" filled="1" />
      <relative_rainfall axisbind="y2axis" legend="Précipitations" color1="FF000099" antialiasing="1" filled="0" hidelegend="1" thick="2" />
    </data>
  </lineplot>
  <!-- ================= graphique numero 3 ================= -->
  <lineplot width="825" height="295" shadow="0" position-x="15" position-y="730" margin-top="0" margin-right="100" margin-bottom="45" margin-left="45" >
    <title text="" alignement="vcenter|hcenter" angle="0">
      <font color="FF000000" facename="Arial" size="18" weight="400" italic="0" />
    </title>
    <border cornerradius="0" color="FF000000" thick="0" />
    <xaxis color="FF000000" grid="1" autoscale="0" min="0" max="0">
      <title text="" alignement="vcenter|hcenter" angle="0">
        <font color="FF000000" facename="Arial" size="14" weight="400" italic="0" />
      </title>
      <labels labelinterval="1" angle="0" format="%H:%M\n%d/%m" side="left" hide="0">
        <font color="FF000000" facename="Arial" size="14" weight="600" italic="0" />
      </labels>
      <ticks majorticks="7" minorticks="3" side="bottom" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
    </xaxis>
    <y1axis color="FF000000" grid="1" autoscale="1" min="0" max="0" titleside="top" titlemargin="35">
      <title text="Vitesse du vent ($Unit[Speed])" alignement="vcenter|hcenter" angle="0">
        <font color="FF000000" facename="Arial" size="14" weight="800" italic="0" />
      </title>
      <labels labelinterval="1" angle="0" format=".0" side="left" hide="0" hidelast="0">
        <font color="FF000000" facename="Arial" size="14" weight="400" italic="0" />
      </labels>
      <ticks majorticks="5" minorticks="4" side="left" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
    </y1axis>
    <y2axis side="right" color="FF000000" grid="0" autoscale="0" min="0" max="360" titleside="right" titlemargin="40">
         <title text="Direction du vent ( ° )" alignement="vcenter|hcenter" angle="0">
            <font color="FF000000" facename="Arial" size="14" weight="800" italic="0" />
         </title>
         <labels labels="NORD;n.e;EST;s.e;SUD;s.o;OUEST;n.o;NORD" labelinterval="1" angle="0" format=".1" side="right" hide="0">
            <font color="FF000000" facename="Arial" size="14" weight="400" italic="0" />
         </labels>
         <ticks majorticks="9" minorticks="1" side="right" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
   </y2axis>
   <legend orientation="0" margin="5" width="680"  position-x="60" position-y="700" hide="0" shadow="0">
      <font color="FF000000" facename="Arial" size="14" weight="600" italic="0" />
      <border cornerradius="0" color="55555555" thick="1" />
      <background color1="FFFFFFFF" color2="FF6699FF" gradient="1" gradient-direction="90" />
    </legend>
    <background color="00FFFFFF" stretch="0" />
    <graphbackground color="FFFFFFFF" texture="" />
    <data>
      <wind_speed axisbind="y1axis" legend="Vitesse du vent" color1="66FF0000" color2="33FF0000" antialiasing="1" filled="1" />
      <wind_speed axisbind="y1axis" legend="Vitesse du vent" color1="66FF0000" antialiasing="1" filled="0" hidelegend="1" thick="2"/>
      <wind_gust axisbind="y1axis" legend="Rafales de vent" color1="FFFF0000" antialiasing="1" filled="0" hidelegend="0" thick="2"/>
      <wind_direction axisbind="y2axis" legend="Direction du vent" color1="FF000099" antialiasing="1" filled="0" hidelegend="0" thick="3" pattern="00000000"/>
    </data>
  </lineplot>
  <!-- ================= données du tant au tant ================= -->
  <textbox width="800" height="30" shadow="0" position-x="0" position-y="10" margin="0" >
      <border color="FF000000" thick="0" />
      <text alignement="center|top">
         <line text="Données Météo du : $StartDate[%A %d %B %Y à %Hh%M] Au : $StopDate[%A %d %B %Y à %Hh%M]"/>
         <font color="FF000000" facename="Arial" size="17" weight="600" italic="0" />
      </text>
    <background color="00FFFFFF" stretch="0"  />
   </textbox>
</stylesheet>


comment corriger le script que vous me dites ?? :oops: :D

pour le cumul de pluie louche, j' ai regardé mon csv t j' ai compris ! en fait, mon fichier .CSV cumule la pluie, chaque enregistrement réaffiche le cumul de l' ancien si c' est le méme, et la ma station a un moment n' a pas rempli la case, alors graph weather croit qu' il a a nouveau plu alors que non ! comment éviter cela ??

_________________
Vincent

Station météo : WS1640 Lacrosse technology
logiciels : Weather Capture Advance et Graph weather 3.0.15


Haut
 Profil  
Répondre en citant  
MessagePublié: Jeu Sep 18, 2014 10:33 pm 
Hors-ligne
Membre
Avatar de l’utilisateur

Inscription : Dim Jan 17, 2010 7:16 pm
Message(s) : 2624
Localisation : 1555 Villarzel - Switzerland
ton problème pour la direction du vent ne vient pas de la feuille de style, je l'ai testée chez moi et c'est OK.
C'est certainement une mauvaise correspondance des colonnes de ton fichier csv, pour la pluie je pense aussi que c'est le problème.

Pièce jointe:
vent.jpg


Vous n’êtes pas autorisé(e) à consulter les fichiers insérés à ce message.

_________________
_________________________________________________________________________________________________________
Station Vantage Pro2+ avec station agricole - Weatherlink 6.0.3 - GraphWeather 3.0.15b - Cumulus 1.9.4 - Windows W10 ultimate x64
http://www.boock.ch/meteo-villarzel.php
Image


Haut
 Profil  
Répondre en citant  
MessagePublié: Ven Sep 19, 2014 4:52 pm 
Hors-ligne
Nouveau membre
Avatar de l’utilisateur

Inscription : Lun Nov 03, 2008 11:35 pm
Message(s) : 7
Localisation : La Croix en Touraine (37)
concernant la direction du vent, je viens de voir que j' ai mis la bonne colonne, mais ma station génére les points cardinaux en numéros, par exemple, nord = 0, sud = 8, est =4 etc... jusqu' a 15. la direction n' est pas en degrés en fait ! Comment forcer graph weather a lui faire comprendre que la direction 0 est egale a nord, la direction 3 a est nord est etc... ??

merci pour votre aide

_________________
Vincent

Station météo : WS1640 Lacrosse technology
logiciels : Weather Capture Advance et Graph weather 3.0.15


Haut
 Profil  
Répondre en citant  
Afficher les messages publiés depuis :  Trier par  
Publier un nouveau sujet Répondre au sujet  [ 6 message(s) ] 

Le fuseau horaire est UTC+1 heure


Qui est en ligne ?

Utilisateur(s) parcourant ce forum : Aucun utilisateur inscrit et 63 invité(s)


Vous ne pouvez pas publier de nouveaux sujets dans ce forum
Vous ne pouvez pas répondre aux sujets dans ce forum
Vous ne pouvez pas éditer vos messages dans ce forum
Vous ne pouvez pas supprimer vos messages dans ce forum
Vous ne pouvez pas insérer de pièces jointes dans ce forum

Recherche de:
Aller vers :  
cron
POWERED_BY
Traduction et support en françaisHébergement de site