Geographic

Get Horizon Angles

Changed on

Returns a circular profile of angles to the horizon for a location at a given latitude, longitude point. The angles are calculated based on the surrounding terrain elevation from a 90m horizontal-resolution digital elevation model.

The angle returned is relative to due north, with negative angles eastwards and positive values westward . Varies from -180 to 180. A value of -90 means east, 0 means north, and 90 means west.

get/data/geographic/horizon_angle

Request

  • Base URL
    https://api.solcast.com.au (the document declares no server; this is the origin it was published from)
  • URL
    https://api.solcast.com.au/data/geographic/horizon_angle
  • Auth
    none declared

Query parameters

latitudenumber double nullable required

The latitude of the location you request data for. Must be a decimal number between -90 and 90.

longitudenumber double nullable required

The longitude of the location you request data for. Must be a decimal number between -180 and 180.

azimuth_intervalsinteger nullable required

Number of sections to divide the azimuth circle into, governing how many items are returned in the response. E.g. 10 = [-180°, -144°, -108°, -72°, -36°, 0°, 36°, 72°, 108°, 144°] Maximum 360

format'json' | 'csv' nullable

Response format. Default is HTML if not supplied.

Response

OK

Changes

    • info

      api operation id GetHorizonAngle was added

    • breaking

      the query request parameter format was restricted to a list of enum values

    • info

      added the new enum value csv to the query request parameter format

    • info

      added the new enum value json to the query request parameter format