grid_info
Convert a Maidenhead grid square to geographic coordinates and compute solar elevation with day, twilight, or night classification using optional UTC time.
Instructions
Decode a Maidenhead grid to lat/lon and compute solar elevation.
Converts a 4-char or 6-char Maidenhead grid square to geographic coordinates. If hour is provided, computes solar elevation angle with day/twilight/night classification.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grid | Yes | Maidenhead grid (4-char like "DN13" or 6-char like "DN13la") | |
| hour | No | UTC hour (0-23) for solar elevation calculation | |
| month | No | Month (1-12) for solar elevation (used if day_of_year not given) | |
| day_of_year | No | Day of year (1-366) for precise solar elevation |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |