def get_azimuth_value(label):
 _check_is_integral('azimuth', label)
 if (label == (-1)):
  return None
 else:
  if (((label % 2) != 0) or (label < 0) or (label > 34)):
   raise ValueError(('Expected azimuth to be an even number between 0 and 34 inclusive, or -1, but got %s instead.' % str(label)))
  return (label * 10)

def get_azimuth_value ( label ) : _check_is_integral ( 'azimuth' , label ) if ( label == ( - 1 ) ) : return None else : if ( ( ( label % 2 ) != 0 ) or ( label < 0 ) or ( label > 34 ) ) : raise ValueError ( ( 'Expected azimuth to be an even number between 0 and 34 inclusive, or -1, but got %s instead.' % str ( label ) ) ) return ( label * 10 )
returns the angle in degrees represented by a azimuth label int .