bsrn.archive.get_azimuth_elevation#

bsrn.archive.get_azimuth_elevation(azimuth=None, elevation=None)[source]#

Format horizon azimuth/elevation lists for LR0004.

Builds fixed-width az el rows (11 pairs per line, -1 padding) for the BSRN archive layout.

Parameters:
  • azimuth (str or sequence of float, optional) – Comma-separated string A1,A2,... or sequence of degrees from north.

  • elevation (str or sequence of float, optional) – Comma-separated string E1,E2,... or sequence of elevation angles.

Returns:

Fixed-width lines of az el pairs, or `` -1 -1`` when inputs are absent.

Return type:

str

Raises:

ValueError – If azimuth and elevation lengths differ.