Forum GraphWeather

Forum d'aide GraphWeather
Nous sommes actuellement le Jeu Mars 28, 2024 3:37 pm

Le fuseau horaire est UTC+1 heure




Publier un nouveau sujet Répondre au sujet  [ 220 message(s) ]  Aller vers la page Précédent  1 ... 11, 12, 13, 14, 15
Auteur Message
MessagePublié: Mar Nov 26, 2019 8:50 am 
Hors-ligne
Nouveau membre

Inscription : Dim Mai 22, 2011 1:37 pm
Message(s) : 8
Hi Jean, I hope to explain myself well, the noaa.php system that generates the graphics reads the noaa.txt file to generate everything, except for what concerns the graph of the wind averages, to create that graph the php reads the xml file that generates graphweather. This is the code that it reads:

<wind-direction-distribution>
<n>16.5</n>
<nne>13.3</nne>
<ne>11.2</ne>
<ene>7.3</ene>
<e>3.2</e>
<ese>3.4</ese>
<se>2.7</se>
<sse>3.0</sse>
<s>2.6</s>
<ssw>2.8</ssw>
<sw>2.8</sw>
<wsw>1.9</wsw>
<w>1.6</w>
<wnw>3.5</wnw>
<nw>8.1</nw>
<nnw>16.1</nnw>
</wind-direction-distribution>

is it possible to create the wind graph without the xml file?

Thanks

Valerio


Haut
 Profil  
Répondre en citant  
MessagePublié: Mar Nov 26, 2019 2:42 pm 
Hors-ligne
Membre
Avatar de l’utilisateur

Inscription : Mar Août 22, 2006 8:38 am
Message(s) : 3143
Localisation : 34410 Sérignan - Languedoc
It's still not very clear !
Where does your wind xml file come from ?
This is not a GW file.

I suspect that you want to generate à radar plot file, to have wind distribution. To do so you may use vent.xml file in template directory.
This kind of file is not processed by NOAA.php. If you want to have it used, you will have to rewrite by yourself, the php script.

Jean


Haut
 Profil  
Répondre en citant  
MessagePublié: Mar Nov 26, 2019 6:31 pm 
Hors-ligne
Nouveau membre

Inscription : Dim Mai 22, 2011 1:37 pm
Message(s) : 8
hello Jean, yes the sample file 2019_11.xml creates it Graphweather and saves it in the 2019/11 folder on the altervista site.
the php files that read both the wind part and the atmospheric pressure part are these two php files
GetYearlyData1.php
GetMonthlyData1.php

I wanted to know if it is possible to recreate the xml file without the use of graphweather, perhaps with a php script


Haut
 Profil  
Répondre en citant  
MessagePublié: Jeu Nov 28, 2019 2:09 pm 
Hors-ligne
Membre
Avatar de l’utilisateur

Inscription : Mar Août 22, 2006 8:38 am
Message(s) : 3143
Localisation : 34410 Sérignan - Languedoc
Hello Valerio,
it is always possible to create this kind of file using PHP.
However you have to consider that wlk files are binary files and are not so easy to decode. They are made with 4 kinds of dataset records : Header, dailysummary1, dailysummary2 and datarecord (1 by day). I have to use this file structure to create my VP2SQL program but I do not remember where I got it... sorry !
Good luck if you want to pursue !!!!
Rgds
Jean


Haut
 Profil  
Répondre en citant  
MessagePublié: Jeu Déc 12, 2019 6:41 pm 
Hors-ligne
Nouveau membre

Inscription : Dim Mai 22, 2011 1:37 pm
Message(s) : 8
I also use cumulus mx, do you think it is easier to create xml?
Has anyone ever tried it?


Haut
 Profil  
Répondre en citant  
MessagePublié: Dim Nov 29, 2020 9:47 pm 
Hors-ligne
Nouveau membre

Inscription : Dim Mai 22, 2011 1:37 pm
Message(s) : 8
hi guys, to create the xml file is it possible to use php?
if so where can I start?
Thanks


Haut
 Profil  
Répondre en citant  
MessagePublié: Lun Nov 30, 2020 3:11 pm 
Hors-ligne
Membre
Avatar de l’utilisateur

Inscription : Mar Août 22, 2006 8:38 am
Message(s) : 3143
Localisation : 34410 Sérignan - Languedoc
Hello Valerio,
I think you do not understand what GW does : it only gets data files from the program driving your station !
GW draws windrose using its radarplot object and its historical data.

What would be the aim of having such an xml file, these files are created in the NOAA compare program to be used to create highchart windrose ?
GetYearlyData1.php and GetMonthlyData1.php only process data from GW historical files.

The only solution to get such kind of file, would be to process the data files from your station.

Eventually, nothing is clear in the objective you pursue !!!
Try being a bit more clear in what you are looking for.


Haut
 Profil  
Répondre en citant  
MessagePublié: Lun Nov 30, 2020 7:14 pm 
Hors-ligne
Nouveau membre

Inscription : Dim Mai 22, 2011 1:37 pm
Message(s) : 8
Excuse me if I have not explained my problem well, I am attaching the images of the visualization of the reports noaa WITHOUT the xml files that GW creates.
unfortunately my php file which creates the graphs also uses the xml files of gw.
I was looking for an alternative to GW to create these xml files to create the graphics.
This is the address to see the complete charts
http://carlinometeo.altervista.org/temp ... ?page=NOAA

Thanks for all the help

Valerio


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


Haut
 Profil  
Répondre en citant  
MessagePublié: Mar Déc 01, 2020 12:09 pm 
Hors-ligne
Membre
Avatar de l’utilisateur

Inscription : Mar Août 22, 2006 8:38 am
Message(s) : 3143
Localisation : 34410 Sérignan - Languedoc
Good morning Valerio,
I'm sorry, but you will not find any clue in this forum that could help you.
I do not see any solution to solve your problem, unless processing directly your input files.

You did not give any information about how your data are stored, it does not help !
If your data are stored in a table, I would suggest a sql process to create additionnal tables. You have also the possibility to create triggers and views, but that would be increasing controler load.
If your data are stored in files, php scripts can be an option to create summary files. I do not thik that it would be necessary to create xml files, you just have to modify the compare script.

That's all I can do on this subject, you will have to find a solution of your own !

Ed a presto

_________________
Jean

Station : VP2 Pro Console Vue + anémomètre à Ultra-sons
Logiciels : Cumulus 1.9.4 + Cumulus2SQL
Serveur local : Apache + MySQL +PHP
PC : W10
Support Audio : FR

http://meteoserignan.ddns.net
Image
"Aide-toi d'abord toi-même et les autres t'aideront ... peut-être"


Haut
 Profil  
Répondre en citant  
MessagePublié: Lun Déc 27, 2021 5:19 pm 
Hors-ligne
Membre
Avatar de l’utilisateur

Inscription : Mar Août 22, 2006 8:38 am
Message(s) : 3143
Localisation : 34410 Sérignan - Languedoc
Hello Valerio,
I reactivate this subject, I may have a solution for cumulusMX and W10.
Please if you are still interested, please drop me a personal message.
Ed a presto

_________________
Jean

Station : VP2 Pro Console Vue + anémomètre à Ultra-sons
Logiciels : Cumulus 1.9.4 + Cumulus2SQL
Serveur local : Apache + MySQL +PHP
PC : W10
Support Audio : FR

http://meteoserignan.ddns.net
Image
"Aide-toi d'abord toi-même et les autres t'aideront ... peut-être"


Haut
 Profil  
Répondre en citant  
Afficher les messages publiés depuis :  Trier par  
Publier un nouveau sujet Répondre au sujet  [ 220 message(s) ]  Aller vers la page Précédent  1 ... 11, 12, 13, 14, 15

Le fuseau horaire est UTC+1 heure


Qui est en ligne ?

Utilisateur(s) parcourant ce forum : Aucun utilisateur inscrit et 3 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