#!/bin/bash
#set -x

varlist="precip subl sndiv" #"t2m smb_rec precip snowfall snowmelt refreeze sndiv subl runoff"

yini="1958"
yend="1989"

for var in $varlist ; do
for year in `seq $yini 1 $yend` ; do	
#mv ${var}/${var}.${year}.BN_RACMO2.3p2_FGRN055_1km.MM.nc.gz ${var}/${var}.${year}.BN_RACMO2.3p2_FGRN055.1km.MM.nc.gz
mv ${var}/${var}.${year}.BN_RACMO2.3p2_FGRN055_1km_v0.2.MM.nc.gz ${var}/${var}.${year}.BN_RACMO2.3p2_FGRN055.1km.MM.nc.gz

done
done


