def hisfiles(tile):
    subd = get_subd(tile)
    if (subd > 0):
        directory = dirhis.format(subd=subd)
        files = sorted(glob.glob(f'{directory}/gigatl1_his.*.{tile:04}.nc'))
        _dateindex = [int(f.split('.')[(- 3)]) for f in files]
        _hisindex = _dateindex[(int(hour) // 6)]
        filename = f'{directory}/gigatl1_his.{_hisindex:06}.{tile:04}.nc'
        if (not os.path.isfile(filename)):
            mount(subd)
        return filename
    else:
        return ''
def hisfiles(tile):
    subd = get_subd(tile)
    if (subd > 0):
        directory = dirhis.format(subd=subd)
        files = sorted(glob.glob(f'{directory}/gigatl1_his.*.{tile:04}.nc'))
        _dateindex = [int(f.split('.')[(- 3)]) for f in files]
        _hisindex = _dateindex[(int(hour) // 6)]
        filename = f'{directory}/gigatl1_his.{_hisindex:06}.{tile:04}.nc'
        if (not os.path.isfile(filename)):
            mount(subd)
        return filename
    else:
        return 