cloudy

Author Topic: Hot/Cold days  (Read 1557 times)

0 Members and 1 Guest are viewing this topic.

Offline tonyva

  • Posts: 1,047
  • Mangawhai Heads, Northland, New Zealand
    • Mangawhai Heads Weather
Hot/Cold days
« on: September 06, 2009, 02:58:31 AM »
I am not sure why hot days and cold days this month are not updating, where can I check on this? I am using wxtrends.php with trends-inc.php.
Thank You
Tony

Weather Dedicated 24/7 HP Dual Core 1.8 Ghz CPU, 2GB Ram

Offline Murry Conarroe

  • Posts: 471
  • Decatur, Texas
    • Wildwood Weather
Re: Hot/Cold days
« Reply #1 on: September 06, 2009, 12:40:10 PM »
According to your screen shot, the highest temperature for the month is 21.1 and the coldest is 3.3.
So there are zero days greater than 25 (or 30) this month. And there are zero days less than 0 (or -15).

So based on that, the zero Hot/Cold days this month are correct.
Murry

Offline tonyva

  • Posts: 1,047
  • Mangawhai Heads, Northland, New Zealand
    • Mangawhai Heads Weather
Re: Hot/Cold days
« Reply #2 on: September 06, 2009, 08:15:58 PM »
yes you are correct but where can I change the -15 to a more reasonable temp range for our region.
Thank You
Tony

Weather Dedicated 24/7 HP Dual Core 1.8 Ghz CPU, 2GB Ram

Offline Murry Conarroe

  • Posts: 471
  • Decatur, Texas
    • Wildwood Weather
Re: Hot/Cold days
« Reply #3 on: September 06, 2009, 10:45:49 PM »
Edit the wxtrends.php file to use the custom tags that you think are reasonable.
Add them to the testtags file if they are not already there.

Available tags are:
%daysTmax<-15C%.............Days where the maximum temperature did not go over -15oC (current month)
%daysTmax<-10C%.............Days where the maximum temperature did not go over -10oC (current month)
%daysTmax<-5C%..............Days where the maximum temperature did not go over -5oC (current month)
%daysTmax<0C%...............Days where the maximum temperature did not go over 0oC (current month)
%daysTmax<5C%...............Days where the maximum temperature did not go over 5oC (current month)
%daysTmax<10C%..............Days where the maximum temperature did not go over 10oC (current month)
%daysTmax<15C%..............Days where the maximum temperature did not go over 15oC (current month)
%daysTmax<20C%..............Days where the maximum temperature did not go over 20oC (current month)
%daysTmin<25C%..............Days where the minimum temperature went below 25oC
%daysTmin<20C%..............Days where the minimum temperature went below 20oC
%daysTmin<15C%..............Days where the minimum temperature went below 15oC
%daysTmin<10C%..............Days where the minimum temperature went below 10oC
%daysTmin<5C%...............Days where the minimum temperature went below 5oC
%daysTmin<0C%...............Days where the minimum temperature went below 0oC
%daysTmin<-5C%..............Days where the minimum temperature went below -5oC
%daysTmin<-10C%.............Days where the minimum temperature went below -10oC
%daysTmin<-15C%.............Days where the minimum temperature went below -15oC
%daysTmin<-20C%.............Days where the minimum temperature went below -20oC
%daysTmin<-25C%.............Days where the minimum temperature went below -25oC

%daysTmax>-15C%..............Days where the maximum temperature went over -15oC
%daysTmax>-5C%..............Days where the maximum temperature went over -5oC
%daysTmax>0C%...............Days where the maximum temperature went over 0oC
%daysTmax>5C%...............Days where the maximum temperature went over 5oC
%daysTmax>10C%..............Days where the maximum temperature went over 10oC
%daysTmax>15C%..............Days where the maximum temperature went over 15oC
%daysTmax>20C%..............Days where the maximum temperature went over 20oC
%daysTmax>25C%..............Days where the maximum temperature went over 25oC
%daysTmax>30C%..............Days where the maximum temperature went over 30oC
%daysTmax>35C%..............Days where the maximum temperature went over 35oC
%daysTmax>38C%..............Days where the maximum temperature went over 38oC (100F)
%daysTmax>40C%..............Days where the maximum temperature went over 40oC
%daysTmax>44C%..............Days where the maximum temperature went over 44oC
%daysTmax>47C%..............Days where the maximum temperature went over 47oC
%daysTmax>49C%..............Days where the maximum temperature went over 49oC
Murry

Offline tonyva

  • Posts: 1,047
  • Mangawhai Heads, Northland, New Zealand
    • Mangawhai Heads Weather
Re: Hot/Cold days
« Reply #4 on: September 07, 2009, 01:58:01 AM »
Thanks Murray  :)
Thank You
Tony

Weather Dedicated 24/7 HP Dual Core 1.8 Ghz CPU, 2GB Ram

 

cumulus