code: def get_unit_from_dimensions(dimensions, text):
      
      key = l.get_key_from_dimensions(dimensions)
  
      try:
          unit = l.DERIVED_UNI[key]
      except KeyError:
          logging.debug(u'\tCould not find unit for: %s', key)
          unit = c.Unit(name=build_unit_name(dimensions),
                        dimensions=dimensions,
                        entity=get_entity_from_dimensions(dimensions, text))
  
      return unit
docs: Reconcile a unit based on its dimensionality.