# HG changeset patch # User greg # Date 1527613885 14400 # Node ID bb61458966dfe7daa86b41aab0c2e12e4800a588 # Parent bcb12b7e8563ed0735d9699bfdd2b25065d2e86e Uploaded diff -r bcb12b7e8563 -r bb61458966df insect_phenology_model.xml --- a/insect_phenology_model.xml Tue May 29 09:00:25 2018 -0400 +++ b/insect_phenology_model.xml Tue May 29 13:11:25 2018 -0400 @@ -8,6 +8,7 @@ #set output_data_dir = "output_data_dir" #set output_plots_dir = "output_plots_dir" #set error_file = $os.path.join($output_data_dir, "04_combined_generations.csv") +#set custom_date_interval = $custom_date_interval_cond.custom_date_interval #set life_stages = list() #set plot_adult_life_stage = $plot_adult_life_stage_cond.plot_adult_life_stage #set plot_nymph_life_stage = $plot_nymph_life_stage_cond.plot_nymph_life_stage @@ -51,9 +52,13 @@ --old_nymph_accumulation $old_nymph_accumulation --oviposition $oviposition --photoperiod $photoperiod ---replications $replications --plot_generations_separately $plot_generations_separately --plot_std_error $plot_std_error +--replications $replications +#if str($custom_date_interval) == "yes": + --start_date '$start_date' + --end_date '$end_date' +#end if --young_nymph_accumulation $young_nymph_accumulation &>ipm_log.txt; if [[ $? -ne 0 ]]; then @@ -92,6 +97,21 @@ + + + + + + + + + value == datetime.strptime(value, "%Y-%m-%d").strftime('%Y-%m-%d') + + + value == datetime.strptime(value, "%Y-%m-%d").strftime('%Y-%m-%d') + + +