View unanswered posts | View active topics
|
Page 1 of 1
|
[ 4 posts ] |
|
| Author |
Message |
|
pjirrigator
|
Posted: Thu Jul 22, 2010 9:18 am |
|
Joined: Fri Jul 25, 2008 4:01 pm Posts: 28
|
|
I have the following template:
[OBSERVED DATETIME],[STATION],[TEMP PLAIN],[DEW PLAIN],[HUMIDITY PLAIN],[WIND PLAIN],[BAROMETER PLAIN],[RAIN TODAY PLAIN], [DAILY LOOP COUNT=7][TEMPLATE][DAILY PRECIPITATION DAY],[DAILY PRECIPITATION NIGHT], [/TEMPLATE][/DAILY LOOP][DAILY LOOP COUNT=1,START=2][TEMPLATE][FORECAST],[DAILY PREDICTION DAY][/TEMPLATE][/DAILY LOOP]
This produces:
18/11/2009 23:00:00,Ottawa, Canada (Ottawa International Airport),33.8,28,80,5,30.36,0, 0%,N/A, 10%,N/A, 60%,N/A, 20%,N/A, 10%,N/A, 0%,N/A, 0%,N/A, [FORECAST],Drizzle. There is a 10% chance of precipitation. Partly cloudy. Cool. Temperature of 46.69°F. Winds SE 7.25 mph. Humidity will be 100% with a dewpoint of 47° and feels-like temperature of 43°F. 19/11/2009 00:00:00,Ottawa, Canada (Ottawa International Airport),32,28,86,7,30.36,0, 0%,N/A, 10%,N/A, 60%,N/A, 20%,N/A, 10%,N/A, 0%,N/A, 0%,N/A, [FORECAST],Drizzle. There is a 10% chance of precipitation. Partly cloudy. Cool. Temperature of 46.69°F. Winds SE 7.25 mph. Humidity will be 100% with a dewpoint of 47° and feels-like temperature of 43°F.
The % for the two days is the same for each of the POP columns. I need help understanding what the columns refer to. Are they today, tomorrow, next day etc. or are they day 1 (Sunday), day 2 (Monday), or some other relative sequence.
|
|
| Top |
|
 |
|
Mike Singer
|
Posted: Thu Jul 22, 2010 7:56 pm |
|
| Site Admin |
 |
Joined: Wed Nov 06, 2002 9:24 am Posts: 4177 Location: Harrisburg, PA
|
|
I copied your template and output below with some additional color coding to help me explain. The blue values are the daily POP for today and the following 6 days. A total of 7 days are displayed because you set the count to 7.
The green text is the prediction for tomorrow. The daily loop is set to start at the 2nd day -- which would be tomorrow.
Does that help?
---------------------------------------------------------
[OBSERVED DATETIME],[STATION],[TEMP PLAIN],[DEW PLAIN],[HUMIDITY PLAIN],[WIND PLAIN],[BAROMETER PLAIN],[RAIN TODAY PLAIN], [DAILY LOOP COUNT=7][TEMPLATE][DAILY PRECIPITATION DAY],[DAILY PRECIPITATION NIGHT], [/TEMPLATE][/DAILY LOOP][DAILY LOOP COUNT=1,START=2][TEMPLATE][FORECAST],[DAILY PREDICTION DAY][/TEMPLATE][/DAILY LOOP]
18/11/2009 23:00:00,Ottawa, Canada (Ottawa International Airport),33.8,28,80,5,30.36,0, 0%,N/A, 10%,N/A, 60%,N/A, 20%,N/A, 10%,N/A, 0%,N/A, 0%,N/A, [FORECAST],Drizzle. There is a 10% chance of precipitation. Partly cloudy. Cool. Temperature of 46.69°F. Winds SE 7.25 mph. Humidity will be 100% with a dewpoint of 47° and feels-like temperature of 43°F. 19/11/2009 00:00:00,Ottawa, Canada (Ottawa International Airport),32,28,86,7,30.36,0, 0%,N/A, 10%,N/A, 60%,N/A, 20%,N/A, 10%,N/A, 0%,N/A, 0%,N/A, [FORECAST],Drizzle. There is a 10% chance of precipitation. Partly cloudy. Cool. Temperature of 46.69°F. Winds SE 7.25 mph. Humidity will be 100% with a dewpoint of 47° and feels-like temperature of 43°F.
|
|
| Top |
|
 |
|
pjirrigator
|
Posted: Fri Jul 23, 2010 6:35 am |
|
Joined: Fri Jul 25, 2008 4:01 pm Posts: 28
|
|
Thanks, Mike.
I see how that works. I am curious, however, about the values in the data I sent. For the 18th, the sequence is 0, 10, 60, 20... But, when the day rolls over at midnight, should the 19th not be 10, 60, 20,....
Alternatively, if I just want today and tomorrow, I could set the Loop as:
[DAILY LOOP START=1,COUNT=2][TEMPLATE][DAILY PRECIPITATION DAY],[DAILY PRECIPITATION NIGHT], [/TEMPLATE][/DAILY LOOP]
Is this correct?
|
|
| Top |
|
 |
|
Mike Singer
|
Posted: Fri Jul 23, 2010 6:41 am |
|
| Site Admin |
 |
Joined: Wed Nov 06, 2002 9:24 am Posts: 4177 Location: Harrisburg, PA
|
|
The days that are printed out will match the days that appear in the "DAILY" section of the main Weather Watcher Live window. A loop starting at day 1 with a count of 2 will print out the first 2 days in the daily forecast.
|
|
| Top |
|
 |
|
Page 1 of 1
|
[ 4 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 0 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum
|
|
|