Forum GraphWeather

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

Le fuseau horaire est UTC+1 heure




Publier un nouveau sujet Répondre au sujet  [ 11 message(s) ] 
Auteur Message
 Sujet du message:
MessagePublié: Mer Fév 14, 2007 1:41 am 
I just download your program to use with my WS2317U I received for Christmas. It works great except I can not get the rainfall to show in inches. I am using your gauges.xml

<title text="Total :n$CURRENT[absolute_rainfall] $UNIT[RAINFALL]" alignement="64" angle="0" position-x="0.47" position-y="0.92">

I am using the ws2300.dll plugin. Is there a configuration file I need to change??

How do I get the rainfall to come out in inches??

Thanks,
Gary


Haut
  
Répondre en citant  
 Sujet du message:
MessagePublié: Mer Fév 14, 2007 4:24 am 
Hors-ligne
Site Admin
Avatar de l’utilisateur

Inscription : Lun Mars 20, 2006 11:16 am
Message(s) : 3356
Localisation : Montréal
Hi,

You can change all units in "Setup", tab "Probes".
All stylesheets take account of these changes but sometime the scale remains adapted for universal unit (for example in gauge.xml the scale of wind speed remains between 0 and 180 of the chosen speed unit, but you can change that in editing stylesheet :) ).

Regards,
Antoine.


Haut
 Profil  
Répondre en citant  
 Sujet du message:
MessagePublié: Mer Fév 14, 2007 5:40 pm 
Antoine,

Thanks for getting back to me so fast.

I have tried changing the Pluviometry to all three setting. The number is always displayed the same. Example. 99.5mm or 99.5 in. It is displayed in the Heavy Weather program as 3.91 inches. I am using version 1.6.1. I have it reading the History.day file. I have change the scale also.

Any other suggestion??

Thanks,
Gary


Haut
  
Répondre en citant  
 Sujet du message:
MessagePublié: Mer Fév 14, 2007 6:02 pm 
Antoine,

I found out something while playing with another xml file. If I use Cumulative variable it looks like it is in inches.

Example:
<line text="Total rainfall : $CURRENT[absolute_rainfall] $UNIT[RAINFALL]"/>
<line text="Cumul rainfall : $CUMUL[relative_rainfall] $UNIT[RAINFALL]"/>

Total rainfall : 99.5in
Cumul rainfall : 2.6in

Any ideas??

Thanks,
Gary


Haut
  
Répondre en citant  
 Sujet du message:
MessagePublié: Mer Fév 14, 2007 6:28 pm 
Hors-ligne
Site Admin
Avatar de l’utilisateur

Inscription : Lun Mars 20, 2006 11:16 am
Message(s) : 3356
Localisation : Montréal
Hum, it seems to be a bug, I have the same problem.
So, you must wait for the future version of GW, sorry :(

Antoine.


Haut
 Profil  
Répondre en citant  
 Sujet du message:
MessagePublié: Mer Fév 14, 2007 6:49 pm 
Antoine,

Thanks for letting me know.

Is there a way to math on the return value??

Example:

($CURRENT[absolute_rainfall] $UNIT[RAINFALL]) / 10


Thanks,
Gary


Haut
  
Répondre en citant  
 Sujet du message:
MessagePublié: Mer Fév 14, 2007 8:05 pm 
Hors-ligne
Site Admin
Avatar de l’utilisateur

Inscription : Lun Mars 20, 2006 11:16 am
Message(s) : 3356
Localisation : Montréal
Currently It's not possible, but you can apply a calibration on your rainfall probe.
In Options, Setup, Probes, select the absolute_rainfall probes and apply a calibration on it.
I think you want to multiply the absolute_rainfall value by a factor to change "manually" the unit.
Check the results after because in calibrating a probe, you can change the value of other probes cos they are dependents.


Haut
 Profil  
Répondre en citant  
 Sujet du message:
MessagePublié: Sam Fév 17, 2007 5:09 am 
Antoine,

Looking for another suggestion on how to use the probe. I tried to change the absolute_rainfall by setting the second field to 0.03937. So it looked like

Measure corrected = 1 x Measure 0.03937

It does not do anything. What am I missing??

I could not find any documentation or examples on probes.

Thanks,
Gary


Haut
  
Répondre en citant  
 Sujet du message:
MessagePublié: Sam Fév 17, 2007 1:46 pm 
Hors-ligne
Site Admin
Avatar de l’utilisateur

Inscription : Lun Mars 20, 2006 11:16 am
Message(s) : 3356
Localisation : Montréal
Hi,

Why the second field ?
you should multiply Measure by 0.03937 to get the measure in inch. In the manner you do, you add 0.03937 to the measure.

Antoine.


Haut
 Profil  
Répondre en citant  
 Sujet du message:
MessagePublié: Sam Fév 17, 2007 2:13 pm 
Hi,

I guess I am confused on how to use the probes correction fields. If 1 mm = 0.03937 inch. I wanted to change the rainfall probe by multipling the current measurement by 0.03937.

Example 99.5(current measure) * 0.03937 = 3.917

This would give the the rainfall in inches.

What would be in each field for the Probe Correction??

Can you only do addtion on the correction??

Thanks,
Gary


Haut
  
Répondre en citant  
 Sujet du message:
MessagePublié: Sam Fév 17, 2007 3:26 pm 
Hors-ligne
Site Admin
Avatar de l’utilisateur

Inscription : Lun Mars 20, 2006 11:16 am
Message(s) : 3356
Localisation : Montréal
The correction is linear Y=a X + b
Where Y is the calibrated measure, X the original measure.
a, b are factors.

Theoritically the probe calibration is not used for conversion (but currently is the only solution to do the conversion because of a bug in plugin).

You should set the units in inch (to have the correct text units in the stylesheet) and apply a factor ( a=0.03937 ) to the absolute_rainfall probe (possibly the relative_rainfall probe).

Antoine.


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

Le fuseau horaire est UTC+1 heure


Qui est en ligne ?

Utilisateur(s) parcourant ce forum : Aucun utilisateur inscrit et 17 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 :  
POWERED_BY
Traduction et support en françaisHébergement de site