def get_hisindexes_in_histar(hisdate):
    subd = 1
    tile = [t for (t, s) in subdmap.items() if (s == subd)][0]
    tarfile = '/'.join([dirgiga, tarhistemplate])
    tarfile = tarfile.format(hisdate=hisdate, subd=subd)
    files = os.popen(f'tar tvf {tarfile} *{tile:04}.nc').readlines()
    hisindexes = [int(f.split('.')[(- 3)]) for f in files]
    return hisindexes
def get_hisindexes_in_histar(hisdate):
    subd = 1
    tile = [t for (t, s) in subdmap.items() if (s == subd)][0]
    tarfile = '/'.join([dirgiga, tarhistemplate])
    tarfile = tarfile.format(hisdate=hisdate, subd=subd)
    files = os.popen(f'tar tvf {tarfile} *{tile:04}.nc').readlines()
    hisindexes = [int(f.split('.')[(- 3)]) for f in files]
    return hisindexes