> For the complete documentation index, see [llms.txt](https://userguide.hku.hk/studentportal/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://userguide.hku.hk/studentportal/widget-and-features/weather.md).

# Weather

The Portal displays weather information including the instant temperature, humidity and weather icons synced with HK Observatory website. 

<figure><img src="/files/ngzcwYZ2BrfgMeXsQ3mQ" alt=""><figcaption><p>Weather Widget</p></figcaption></figure>

The Weather Widget typically display important weather information such as temperature, UV Index, weather warning, and weather report.

1. **Current Temperature**
2. **Humidity**
3. **Local Weather Report**
4. **Weather Warnings and Signals**: The warnings are issued by the Hong Kong Observatory to the public. For details, please visit <https://www.hko.gov.hk/en/wservice/warning/details.htm>.
5. **UV Index**: Real-time UV Index (past 15-minute mean) from HKO

To enhance the visual appeal and user-friendliness of these widgets, various weather icons are used to represent different weather conditions.Here is an explanation of when to show different icons based on the weather conditions:

<figure><img src="/files/pbj0pNxC3WhDMDjengBr" alt=""><figcaption><p>Introducing Weather Images and Icons</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://userguide.hku.hk/studentportal/widget-and-features/weather.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
