#!/bin/ksh
# Execute: run_compare_buoy_ww3.ksh 20130803 20130804 BOIA_RS
date_ini=$1
date_fim=$2
station=$3

dir_func=/scratchin/grupos/oceano/home/rosio.camayo/validation/functions

date_atual=$date_ini

while [[ $date_atual -le $date_fim ]] ; do

interp_mod2obs.v2.ksh $date_atual $station 
#interp_mod2obs.v2.ufpe.ksh $date_atual $station
extract_onehour.ksh $date_atual $station

date_atual=$(${dir_func}/faz_data ${date_atual}00 24 | cut -b 1-8)

done
