#!/bin/csh -f

# DATES
# =====
set firstDate = 2018041500
set lastDate  = 2018042000

set experiments = (Exp1 Exp2)
set daHR = 6
set advanceCYMDH = "python advanceCYMDH.py"
set vDate = $firstDate

while ( $vDate <= $lastDate )
  foreach experiment ($experiments)
    qsub -v da=$vDate,exp=$experiment generate_stats_omaomb.csh
  end
  set vDate = `$advanceCYMDH ${vDate} $daHR`
end

exit
