code: def parse_azimuth(azimuth):
      
      try:
          azimuth = float(azimuth)
      except ValueError:
          if not azimuth[0].isalpha():
              raise ValueError('Ambiguous azimuth: {}'.format(azimuth))
          azimuth = parse_quadrant_measurement(azimuth)
      return azimuth
docs: Parses an azimuth measurement in azimuth or quadrant format.
  
      Parameters
      -----------
      azimuth : string or number
          An azimuth measurement in degrees or a quadrant measurement of azimuth.
  
      Returns
      -------
      azi : float
          The azimuth in degrees clockwise from north (range: 0-360)
  
      See Also
      --------
      parse_quadrant_measurement
      parse_strike_dip
      parse_plunge_bearing