cloudy cloudy

Author Topic: 24 hour rain tag  (Read 3409 times)

0 Members and 1 Guest are viewing this topic.

Offline Budmn8

  • Posts: 714
  • Eastern Iowa
    • Sandhill Weather
24 hour rain tag
« on: May 12, 2008, 03:21:32 AM »
 Being most of our  rain in Iowa begins in the evenings and continues thru the AM  I would rather have a last 24 hour tag then splitting @ midnight.  Is that possible?


 Thanks

 Brad

Offline TNETWeather

  • Kevin Reed (KrelvinAZ)
  • Posts: 5,939
  • Gremlins are at work...
  • Mesa, AZ
    • TNET Weather Station - Mesa AZ
Re: 24 hour rain tag
« Reply #1 on: May 12, 2008, 06:53:59 AM »
One way would be to change from a midnight reset to a 9am reset.

All you need is Time, Aptitude and Desire ... and you can build just about anything...

Offline pmeehan

  • Posts: 183
  • Plimmerton, Wellington, New Zealand
    • Camborne Weather
Re: 24 hour rain tag
« Reply #2 on: May 12, 2008, 10:13:32 AM »
There is a tag %totalrainlast24hours%

Is that what you were after?

Offline Budmn8

  • Posts: 714
  • Eastern Iowa
    • Sandhill Weather
Re: 24 hour rain tag
« Reply #3 on: May 12, 2008, 05:39:13 PM »
There is a tag %totalrainlast24hours%

Is that what you were after?


 Thats it   

Correct me if I am wrong but If I change my script

<td><span style="font-size: 10px;"><span class="ajax" id="ajaxrainratehr">%hourrn%</span> /hr<br/>
    %totalrainlast3hours% /3 hr</span></td>

To

<td><span style="font-size: 10px;"><span class="ajax" id="ajaxrainratehr">%hourrn%</span> /hr<br/>
    %totalrainlast24hours% /24 hr</span></td>


 I should get the last 24 hour total?

Thanks

Brad

Offline pmeehan

  • Posts: 183
  • Plimmerton, Wellington, New Zealand
    • Camborne Weather
Re: 24 hour rain tag
« Reply #4 on: May 13, 2008, 05:29:08 AM »
I'm no expert, far from it but it looks OK to me :)