#!/bin/ksh
#  Execute: run_concatenate_onehour.ksh 20130803 20130804 BOIA_SC 00 72

dateini=$1
datefin=$2
station=$3
hourfi=$4
hourff=$5

hourf=$hourfi

while [[ $hourf -lt $hourff ]] ; do

concatenate_onehour.ksh $dateini $datefin $station $hourf

(( hourf= hourf+1 ))

if (( $hourf < 10 ));then
hourf=0$hourf
fi

done

concatenate_onehour.ksh $dateini $datefin $station 71
