get3dayforecastvalue(index)

Top  Previous  Next

Returns:

The currently loaded data at the specified index (in String format).

 

Arguments:

Argument0: Index (real)

 

Return values:

"" (empty string)

No data, invalid range, or no forecast data loaded in the first place

Anything else

the data at the index

 

Comments:

Below is what's where.

Index

Name

Comments

Sample data

0

Magic Number

Always 31

31

1

Next update

Date that the forecast will be updated next

12:17 PM EDT May 10, 2007

2

Forecast title 1

General time of day ("Today" or "Tonight")

Today

3

High temp 1

High or "--" meaning N/A

80°

4

Low temp 1

Low or "--" meaning N/A

58°

5

Condition 1

See Weather Conditions

4

6

Condition text A 1

Line one of the weather description

Becoming partly sunny

7

Condition text B 1

Line two of the weather description

with an isolated...

8

Forecast title 2

Day of week

Friday

9

High temp 2

High or "--" meaning N/A

78°

10

Low temp 2

Low or "--" meaning N/A

58°

11

Condition 2

See Weather Conditions

93

12

Condition text A 2

Line one of the weather description

Areas of morning fog..

13

Condition text B 2

Line two of the weather description

otherwise mostly...

14

Forecast title 3

Day of week

Saturday

15

High temp 3

High or "--" meaning N/A

72°

16

Low temp 3

Low or "--" meaning N/A

48°

17

Condition 3

See Weather Conditions

4

18

Condition text A 3

Line one of the weather description

Partly sunny...

19

Condition text B 3

Line two of the weather description

 

20

Sunrise

Time of sunrise today (integer, seconds from 1970)

1178790600

21

Sunset

Time of sunset tonight (integer, seconds from 1970)

1178841660

22

Query Frequency

This value is set by the WeatherBug servers (seconds)

3600