Type alias Forecast

Forecast: { altitude: number; azimuth: number; uv: number; uv_time: string }

Type declaration

  • altitude: number

    sun altitude above the horizon in radians

    Example

    0 at the horizon and PI/2 at the zenith (straight over your head)

  • azimuth: number

    sun azimuth in radians (direction along the horizon, measured from south to west)

    Example

    0 is south and Math.PI * 3/4 is northwest

  • uv: number

    forecasted UV Index

  • uv_time: string

    forecasted UV Index datetime in UTC yyyy-MM-ddTHH:mm:ss.SSSZ ISO-8601

Generated using TypeDoc