# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.XXXXrP3mII installed on Wed Jan 20 16:11:58 2016)
# (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 vixie Exp $)
BASH_ENV=/u/Zhengtao.Cui/.bashrc
SHELL=/usr/bin/bash -l
#
#create time slices at every 15 minutes starting at 10 minutes of the hour
#
#10,25,40,55 * * * * /gpfs/hps/nwc/save/Zhengtao.Cui/chps-wrf-hydro/usgs_download/analysis/make_time_slice_from_usgs_waterml.py -i /gpfs/gp1/dcomdev/us007003/usgs_streamflow -o /gpfs/hps/nwc/noscrub/Zhengtao.Cui/time_slices > /gpfs/hps/nwc/noscrub/Zhengtao.Cui/time_slices.log
#10,25,40,55 * * * * /gpfs/hps/nwc/save/Zhengtao.Cui/chps-wrf-hydro/usgs_download/analysis/make_time_slice_from_usgs_waterml.py -i /gpfs/hps/nwc/noscrub/Zhengtao.Cui/usgs_flow -o /gpfs/hps/nwc/noscrub/Zhengtao.Cui/time_slices > /gpfs/hps/nwc/noscrub/Zhengtao.Cui/time_slices.log
#10,25,40,55 * * * * bsub < /gpfs/hps/nwc/save/Zhengtao.Cui/chps-wrf-hydro/usgs_download/analysis/time_slice_job_cray.bsub
10,25,40,55 * * * * $HOME/usgs_download/analysis/bsub_timeslice.bash /gpfs/hps/nwc/noscrub/Zhengtao.Cui/usgs_flow
#
# Forcing engine and wrf-hydro model run
#
30 00 * * * $HOME/forcing_engine/HYDRO/REGRID/bin_driver/bsub_queue.bash wrapper_radar_only.bash 00
30 00 * * * $HOME/forcing_engine/HYDRO/REGRID/bin_driver/bsub_queue.bash wrapper_radar_gauge.bash 00

### create short ranging forecast. The forcing engine will wait  40 minutes (maximu) of related NCEP model results.
00 01 * * * $HOME/forcing_engine/HYDRO/REGRID/bin_driver/bsub_queue.bash run_rap_hrr.bash 00

## wrapper_qpe_bias.bash update the precipitation so that we can run model analysis first.
45 00 * * * $HOME/forcing_engine/HYDRO/REGRID/bin_driver/wrapper_qpe_bias.bash 00

# run model analysis, will assume the forcing data is always available.
00 01 * * * $HOME/model_flow/HYDRO/bin/driver/wrapper_Anal_Assim.sh 00

#run Short_Range forecast. wrapper_Short_Range.sh will wait realted forcing engine to finish with 40 minutes maximum
15 01 * * * $HOME/model_flow/HYDRO/bin/driver/wrapper_Short_Range.sh 00

#GFS data test
#run forcing_engine of GFS first. The script will wait 4 hours (maximum) of GFS model results.
00 05 * * * $HOME/forcing_engine/HYDRO/REGRID/bin_driver/bsub_queue.bash wrapper_gfs.bash 00
#run hydro forecast with GFS forcing created above. The script will wait 4 hours (maximum) of GFS forcing data to be created by forcing engine.
10 05 * * * $HOME/model_flow/HYDRO/bin/driver/wrapper_Medium_Range.sh 00

#CFS1 data test
#run forcing_engine of CFS1 first. The script will wait 4 hours (maximum) of CFS model results.
00 08 * * * $HOME/forcing_engine/HYDRO/REGRID/bin_driver/bsub_queue.bash wrapper_cfs1.bash 00
#run hydro forecast with CFS1 forcing data. The script will wait 4 hours (maximum) of CFS1 forcing data to be created by forcing engine.
30 09 * * * $HOME/model_flow/HYDRO/bin/driver/wrapper_Long_Range1.sh 00


30 03 * * * $HOME/forcing_engine/HYDRO/REGRID/bin_driver/bsub_queue.bash wrapper_radar_only.bash 03
30 03 * * * $HOME/forcing_engine/HYDRO/REGRID/bin_driver/bsub_queue.bash wrapper_radar_gauge.bash 03 
00 04 * * * $HOME/forcing_engine/HYDRO/REGRID/bin_driver/bsub_queue.bash run_rap_hrr.bash 03
45 03 * * * $HOME/forcing_engine/HYDRO/REGRID/bin_driver/wrapper_qpe_bias.bash 03
00 04 * * * $HOME/model_flow/HYDRO/bin/driver/wrapper_Anal_Assim.sh 03
15 04 * * * $HOME/model_flow/HYDRO/bin/driver/wrapper_Short_Range.sh 03

30 06 * * * $HOME/forcing_engine/HYDRO/REGRID/bin_driver/bsub_queue.bash wrapper_radar_only.bash 06
30 06 * * * $HOME/forcing_engine/HYDRO/REGRID/bin_driver/bsub_queue.bash wrapper_radar_gauge.bash 06 
00 07 * * * $HOME/forcing_engine/HYDRO/REGRID/bin_driver/bsub_queue.bash run_rap_hrr.bash 06
45 06 * * * $HOME/forcing_engine/HYDRO/REGRID/bin_driver/wrapper_qpe_bias.bash 06
00 07 * * * $HOME/model_flow/HYDRO/bin/driver/wrapper_Anal_Assim.sh 06
15 07 * * * $HOME/model_flow/HYDRO/bin/driver/wrapper_Short_Range.sh 06

30 09 * * * $HOME/forcing_engine/HYDRO/REGRID/bin_driver/bsub_queue.bash wrapper_radar_only.bash 09
30 09 * * * $HOME/forcing_engine/HYDRO/REGRID/bin_driver/bsub_queue.bash wrapper_radar_gauge.bash 09 
00 10 * * * $HOME/forcing_engine/HYDRO/REGRID/bin_driver/bsub_queue.bash run_rap_hrr.bash 09
45 09 * * * $HOME/forcing_engine/HYDRO/REGRID/bin_driver/wrapper_qpe_bias.bash 09
00 10 * * * $HOME/model_flow/HYDRO/bin/driver/wrapper_Anal_Assim.sh 09
15 10 * * * $HOME/model_flow/HYDRO/bin/driver/wrapper_Short_Range.sh 09

30 12 * * * $HOME/forcing_engine/HYDRO/REGRID/bin_driver/bsub_queue.bash wrapper_radar_only.bash 12
30 12 * * * $HOME/forcing_engine/HYDRO/REGRID/bin_driver/bsub_queue.bash wrapper_radar_gauge.bash 12 
00 13 * * * $HOME/forcing_engine/HYDRO/REGRID/bin_driver/bsub_queue.bash run_rap_hrr.bash 12
45 12 * * * $HOME/forcing_engine/HYDRO/REGRID/bin_driver/wrapper_qpe_bias.bash 12
00 13 * * * $HOME/model_flow/HYDRO/bin/driver/wrapper_Anal_Assim.sh 12
15 13 * * * $HOME/model_flow/HYDRO/bin/driver/wrapper_Short_Range.sh 12

30 15 * * * $HOME/forcing_engine/HYDRO/REGRID/bin_driver/bsub_queue.bash wrapper_radar_only.bash 15
30 15 * * * $HOME/forcing_engine/HYDRO/REGRID/bin_driver/bsub_queue.bash wrapper_radar_gauge.bash 15 
00 16 * * * $HOME/forcing_engine/HYDRO/REGRID/bin_driver/bsub_queue.bash run_rap_hrr.bash 15
45 15 * * * $HOME/forcing_engine/HYDRO/REGRID/bin_driver/wrapper_qpe_bias.bash 15
00 16 * * * $HOME/model_flow/HYDRO/bin/driver/wrapper_Anal_Assim.sh 15
15 16 * * * $HOME/model_flow/HYDRO/bin/driver/wrapper_Short_Range.sh 15

30 18 * * * $HOME/forcing_engine/HYDRO/REGRID/bin_driver/bsub_queue.bash wrapper_radar_only.bash 18
30 18 * * * $HOME/forcing_engine/HYDRO/REGRID/bin_driver/bsub_queue.bash wrapper_radar_gauge.bash 18 
00 19 * * * $HOME/forcing_engine/HYDRO/REGRID/bin_driver/bsub_queue.bash run_rap_hrr.bash 18
45 18 * * * $HOME/forcing_engine/HYDRO/REGRID/bin_driver/wrapper_qpe_bias.bash 18
00 19 * * * $HOME/model_flow/HYDRO/bin/driver/wrapper_Anal_Assim.sh 18
15 19 * * * $HOME/model_flow/HYDRO/bin/driver/wrapper_Short_Range.sh 18

30 21 * * * $HOME/forcing_engine/HYDRO/REGRID/bin_driver/bsub_queue.bash wrapper_radar_only.bash 21
30 21 * * * $HOME/forcing_engine/HYDRO/REGRID/bin_driver/bsub_queue.bash wrapper_radar_gauge.bash 21 
00 22 * * * $HOME/forcing_engine/HYDRO/REGRID/bin_driver/bsub_queue.bash run_rap_hrr.bash 21
45 21 * * * $HOME/forcing_engine/HYDRO/REGRID/bin_driver/wrapper_qpe_bias.bash 21
00 22 * * * $HOME/model_flow/HYDRO/bin/driver/wrapper_Anal_Assim.sh 21
15 22 * * * $HOME/model_flow/HYDRO/bin/driver/wrapper_Short_Range.sh 21


#
10 5 * * 1,4 find /gpfs/hps/ptmp/Zhengtao.Cui -print0 | xargs -0 touch