ryes
Retrieve solar radiation, ambient temperature, and other weather parameters for a specified date and station from the Hong Kong Observatory.
Instructions
Weather and Radiation Level Report (RYES) API Request
Parameters:
date: Date of report (YYYYMMDD format)
lang: 'en', 'tc', or 'sc' (Language option, default: en)
station: Station code (refer to documentation for full list)
Request Example: https://data.weather.gov.hk/weatherAPI/opendata/opendata.php?dataType=RYES&date=20250101&lang=en&station=HKO
Response Keys:
type: Data type ("data")
SolarData: Solar radiation data with unit and period-value pairs
AmbientTemp: Ambient temperature data with unit and period-value pairs
Other parameters: Additional weather parameters
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Date of report (YYYYMMDD format) | |
| lang | No | Language for the response: 'en' (English), 'tc' (Traditional Chinese), 'sc' (Simplified Chinese) | en |
| station | Yes | Station code (refer to documentation for full list) |