Page 1 of 1
ThourlyrainYH tag error
Posted: Thu 10 Mar 2011 11:07 am
by josebp
Hola Steve, compruebo que el dato de hora del tag ThourlyrainYH es igual al del tag ThourlyrainTH.
La hora en Precipitación más alta en una hora en el día de ayer corresponde a la Precipitación más alta en una hora de hoy.
Muchas gracias.
Traducido con google.
Hi Steve, I see that the tag data ThourlyrainYH time is equal to the ThourlyrainTH tag.
The highest rainfall time in an hour yesterday corresponds to the highest rainfall in one hour today.
Thank you very much.
Translated with google.
Re: ThourlyrainYH tag error
Posted: Thu 10 Mar 2011 11:32 am
by steve
I'm not sure exactly what it is you're saying. I've looked at the code for the ThourlyrainYH web tag, and it looks correct to me. I tested the tags and got this, which looks OK to me:
Test weather - Mozilla Firefox_2011-03-10_11-30-56.png
Re: ThourlyrainYH tag error
Posted: Thu 10 Mar 2011 12:28 pm
by josebp
Hola Steve, en mi web :
Ayer: Precipitación más alta en una hora : 2,6 mm a las 00:00 debería de ser a las 19:04
Las 00:00 es hora de hoy ya que no ha llovido.
Lo puedes comprobar en
http://www.tiempoensevilla.es/cumulus.xml y buscar los tags
Gracias.
Hi Steve, my site:
Yesterday: highest rainfall in one hour: 2.6 mm at 00:00 should be at 19:04
The time now is 00:00 because it has not rained.
You can check in and find the tags
http://www.tiempoensevilla.es/cumulus.xml
Thanks.
Re: ThourlyrainYH tag error
Posted: Thu 10 Mar 2011 12:32 pm
by steve
josebp wrote: at 00:00 should be at 19:04
Hmm, yes, actually that 00:03 of mine looks suspicious. I'll check...
Re: ThourlyrainYH tag error
Posted: Thu 10 Mar 2011 1:57 pm
by steve
I've looked at all the code and it all looks correct to me. The web tag is definitely picking up the time from the variable which holds yesterday's time, not today's, and the code which copies today's time to yesterday looks OK. My times for yesterday on both of my PCs agree with the time in dayfile.txt for yesterday.
Why do you think the time should be 19:04 and not 00:00?
Re: ThourlyrainYH tag error
Posted: Thu 10 Mar 2011 4:37 pm
by josebp
steve wrote:Why do you think the time should be 19:04 and not 00:00?
Porque a esa hora no llovía y el máxima de precipitación estaba en esa hora, dejó de llover sobre las 19:30.
Tengo que comprobar el .xml no vaya a ser que el tag no esté correcto y por eso tengo ese error.
Esta noche ya te lo confirmo.
Editar.- Efectivamente era el tag en el cumulus.xml que estaba mal.
Muchas gracias Steve por tu ayuda.
Perdón por el falso error.
Saludos,
Because at that time did not rain and the maximum rainfall was in that hour, it stopped raining about 19:30.
I have to check .xml is not going to be that the tag is not correct and therefore I have this error.
Tonight and will tell you.
Edit .- Indeed it was the tag in the cumulus.xml was wrong.
Steve thank you very much for your help.
Sorry for the false error.
Regards,