code: def get_sensor_code_by_number(si, mtype, sensor_number, quiet=False):
      
      try:
          if 'Orientation' in si[mtype][sensor_number]:
              orientation = si[mtype][sensor_number]['Orientation']
          else:
              orientation = ""
          return "%s%s-%s-%s-%s" % (mtype,
                                  orientation,
                                  si[mtype][sensor_number]['X-CODE'],
                                  si[mtype][sensor_number]['Y-CODE'],
                                  si[mtype][sensor_number]['Z-CODE'])
      except KeyError:
          if quiet:
              return None
          raise
docs: Given a sensor number, get the full sensor code (e.g. ACCX-UB1-L2C-M)
  
      :param si: dict, sensor index json dictionary
      :param mtype: str, sensor type
      :param sensor_number: int, number of sensor
      :param quiet: bool, if true then return None if not found
      :return: str or None, sensor_code: a sensor code (e.g. ACCX-UB1-L2C-M)