WeatherPanel Sections

From WeatherPanel

Jump to: navigation, search

The screen is divided into three sections in a WeatherPanel layout.

  • CUSTOM : This section is always drawn.
  • CURRENT : This section is drawn when the initial state is either CURRENT or HOURLY.
  • FORECAST : This section is always drawn, as long as there are valid forecast data available.

Inclusion of each section in a layout is optional, and if a section is ommited in a layout, then that section is not used.

Contents

Examples

With CUSTOM section

With this sample layout:

;HEIGHT
86

;CUSTOM
64

;CURRENT
64

;FORECAST
32

The CUSTOM section will be represented by yellow, the CURRENT by green, and FORECAST by red.

With the CURRENT section

This is the way the screen is divided when the CURRENT section is used. The CURRENT section is used whenever there is current data available, or if there is an hourly forecast for the hour available, so the CURRENT section will be drawn for up to 24 hours after the weather data was last updated. In the screenshot, the CURRENT section is drawn, as well as the CUSTOM section, leaving space for three FORECASTs.

Without the CURRENT section

This is the same layout when the CURRENT section is no longer used. This happens when the current weather data is no longer valid, and there are no hourly forecasts available, which will be about 24 hours after the last weather update. Without the CURRENT section there is room for five FORECASTs.

Without CUSTOM section

With this sample layout:

;HEIGHT
86

;CURRENT
64

;FORECAST
32

With the CURRENT section

There is space for five FORECASTs

Without the CURRENT section

Now, without the CURRENT section, there is room for seven FORECASTs