fixed a minor bug

tarsplitn = 5
ntimearg = 'mean24'
interval = int(ntimearg[4:]) = 24
tt = r.variables['time'].shape[0] = 24 * 365
tt /= interval
tt = 365
if first time then thelasti = -1
for ti in range(thelasti + 1, tt):
for ti in range(0, 365):
    if ti % tarsplitn == (tarsplitn - 1):
    ## True for ti = 4, 9, ..., 364
    ## tfname are 0000-0004.tar, 0005-0009.tar, ..., 0360-0364.tar
# part 3.3 (unncessesory if tt % tarsplitn == 0)
tti1 = (tt // tarsplitn) * tarsplitn = 365
fname is now 0365-0364.tar !!
filestoadd for index range(365, 365). range(365, 365) == []
nothing gets added but the .tar file has size ~ 10 kB (not sure why).
It doesn't harm very much but confusing and annoying.

Fixed.
fixed a bug
minor changes