code: def _parse_band(cls, kw):
          
          m = re.search('([a-zA-Z0-9]+)(_\d+)?', kw)
          if m:
              if m.group(1) in cls._not_a_band:
                  return None
              else:
                  return m.group(1)
docs: Returns photometric band from inifile keyword