def extract_zip(src_zip_file, out_dir):
    zip_name = src_zip_file.split('/')[(- 1)].replace('.zip', '')
    zip_data = zipfile.ZipFile(src_zip_file)
    zipinfos = zip_data.infolist()
    os.chdir(out_dir)
    for zipinfo in zipinfos:
        zipinfo.filename = '{}.tif'.format(zip_name)
        zip_data.extract(zipinfo)
    os.remove(os.path.join(os.path.join(os.getcwd(), '{}.zip'.format(zip_name))))
    return os.path.join(out_dir, '{}.tif'.format(zip_name))
def extract_zip(src_zip_file, out_dir):
    zip_name = src_zip_file.split('/')[(- 1)].replace('.zip', )
    zip_data = zipfile.ZipFile(src_zip_file)
    zipinfos = zip_data.infolist()
    os.chdir(out_dir)
    for zipinfo in zipinfos:
        zipinfo.filename = '{}.tif'.format(zip_name)
        zip_data.extract(zipinfo)
    os.remove(os.path.join(os.path.join(os.getcwd(), '{}.zip'.format(zip_name))))
    return os.path.join(out_dir, '{}.tif'.format(zip_name))