def getSceneDir(strPathTDIS):
    """ Return scene folder given TDIS folder. """
    if not r'envi_aux\TDIS' in strPathTDIS:
        raise Exception(r'pattern match "envi_aux\TDIS" not found.')
    return strPathTDIS.split(r'envi_aux\TDIS')[0]