annotate insect_phenology_model.xml @ 49:1b6864c5b50a draft

Uploaded
author greg
date Tue, 05 Jun 2018 07:52:59 -0400
parents 99e1c1300fcd
children 927321ed0322
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
24fa0d35a8bf Uploaded
greg
parents: 2
diff changeset
1 <tool id="insect_phenology_model" name="Insect phenology model" version="1.1.0">
0
244c373f2a34 Uploaded
greg
parents:
diff changeset
2 <description>expressing stage-specific phenology and population dynamics</description>
244c373f2a34 Uploaded
greg
parents:
diff changeset
3 <requirements>
4
e7b1fc0133bb Uploaded
greg
parents: 3
diff changeset
4 <requirement type="package" version="1.4.4">r-optparse</requirement>
0
244c373f2a34 Uploaded
greg
parents:
diff changeset
5 </requirements>
2
07444af6824f Uploaded
greg
parents: 0
diff changeset
6 <command detect_errors="exit_code"><![CDATA[
33
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
7 #import os
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
8 #set output_data_dir = "output_data_dir"
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
9 #set output_plots_dir = "output_plots_dir"
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
10 #set error_file = $os.path.join($output_data_dir, "04_combined_generations.csv")
48
99e1c1300fcd Uploaded
greg
parents: 44
diff changeset
11 #set custom_date_interval = $custom_date_interval_cond.custom_date_interval
17
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
12 #set life_stages = list()
13
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
13 #set plot_adult_life_stage = $plot_adult_life_stage_cond.plot_adult_life_stage
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
14 #set plot_nymph_life_stage = $plot_nymph_life_stage_cond.plot_nymph_life_stage
17
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
15 #if str($plot_egg_life_stage) == "yes":
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
16 $life_stages.append("Egg")
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
17 #end if
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
18 #if str($plot_nymph_life_stage) == "yes":
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
19 $life_stages.append("Nymph")
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
20 #end if
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
21 #if str($plot_adult_life_stage) == "yes":
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
22 $life_stages.append("Adult")
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
23 #end if
13
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
24 #if str($plot_egg_life_stage) == "yes" and str($plot_nymph_life_stage) == "yes" and str($plot_adult_life_stage) == "yes":
17
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
25 $life_stages.append("Total")
13
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
26 #end if
17
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
27 #set life_stages = ",".join($life_stages)
33
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
28 mkdir output_data_dir &&
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
29 mkdir output_plots_dir &&
0
244c373f2a34 Uploaded
greg
parents:
diff changeset
30 Rscript '$__tool_directory__/insect_phenology_model.R'
6
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
31 --adult_mortality $adult_mortality
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
32 --adult_accumulation $adult_accumulation
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
33 --egg_mortality $egg_mortality
42
64132300c62e Uploaded
greg
parents: 40
diff changeset
34 #if str($merge_ytd_temperature_data_cond.merge_ytd_temperature_data) == "yes":
64132300c62e Uploaded
greg
parents: 40
diff changeset
35 --input_ytd '$merge_ytd_temperature_data_cond.input_ytd'
44
c61d3d9d44db Uploaded
greg
parents: 42
diff changeset
36 --location '$merge_ytd_temperature_data_cond.location'
c61d3d9d44db Uploaded
greg
parents: 42
diff changeset
37 --num_days_ytd $merge_ytd_temperature_data_cond.input_ytd.metadata.data_lines
42
64132300c62e Uploaded
greg
parents: 40
diff changeset
38 #end if
37
b7dcecf5476a Uploaded
greg
parents: 33
diff changeset
39 --input_norm '$input_norm'
6
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
40 --insect '$insect'
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
41 --insects_per_replication $insects_per_replication
17
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
42 --life_stages '$life_stages'
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
43 #if str($plot_adult_life_stage) == "yes":
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
44 --life_stages_adult '$plot_adult_life_stage_cond.life_stages_adult'
9
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
45 #end if
17
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
46 #if str($plot_nymph_life_stage) == "yes":
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
47 --life_stages_nymph '$plot_nymph_life_stage_cond.life_stages_nymph'
9
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
48 #end if
6
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
49 --max_clutch_size $max_clutch_size
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
50 --min_clutch_size $min_clutch_size
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
51 --nymph_mortality $nymph_mortality
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
52 --old_nymph_accumulation $old_nymph_accumulation
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
53 --oviposition $oviposition
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
54 --photoperiod $photoperiod
9
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
55 --plot_generations_separately $plot_generations_separately
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
56 --plot_std_error $plot_std_error
48
99e1c1300fcd Uploaded
greg
parents: 44
diff changeset
57 --replications $replications
99e1c1300fcd Uploaded
greg
parents: 44
diff changeset
58 #if str($custom_date_interval) == "yes":
99e1c1300fcd Uploaded
greg
parents: 44
diff changeset
59 --start_date '$custom_date_interval_cond.start_date'
99e1c1300fcd Uploaded
greg
parents: 44
diff changeset
60 --end_date '$custom_date_interval_cond.end_date'
99e1c1300fcd Uploaded
greg
parents: 44
diff changeset
61 #end if
26
93209c167a61 Uploaded
greg
parents: 22
diff changeset
62 --young_nymph_accumulation $young_nymph_accumulation
29
dd0f1b7528aa Uploaded
greg
parents: 28
diff changeset
63 &>ipm_log.txt;
dd0f1b7528aa Uploaded
greg
parents: 28
diff changeset
64 if [[ $? -ne 0 ]]; then
33
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
65 cp ipm_log.txt '$error_file';
29
dd0f1b7528aa Uploaded
greg
parents: 28
diff changeset
66 exit 1;
dd0f1b7528aa Uploaded
greg
parents: 28
diff changeset
67 fi]]></command>
0
244c373f2a34 Uploaded
greg
parents:
diff changeset
68 <inputs>
37
b7dcecf5476a Uploaded
greg
parents: 33
diff changeset
69 <param name="input_norm" type="data" format="csv" label="30 year normals temperature data">
b7dcecf5476a Uploaded
greg
parents: 33
diff changeset
70 <validator type="expression" message="30 year normals temperature data must have 10 columns and 366 rows">value is not None and value.metadata.columns==10 and value.metadata.data_lines==366</validator>
b7dcecf5476a Uploaded
greg
parents: 33
diff changeset
71 </param>
42
64132300c62e Uploaded
greg
parents: 40
diff changeset
72 <conditional name="merge_ytd_temperature_data_cond">
64132300c62e Uploaded
greg
parents: 40
diff changeset
73 <param name="merge_ytd_temperature_data" type="select" label="Merge year-to-date temperature data with 30 year normals temperature data?">
64132300c62e Uploaded
greg
parents: 40
diff changeset
74 <option value="yes" selected="true">Yes</option>
64132300c62e Uploaded
greg
parents: 40
diff changeset
75 <option value="no">No</option>
64132300c62e Uploaded
greg
parents: 40
diff changeset
76 </param>
64132300c62e Uploaded
greg
parents: 40
diff changeset
77 <when value="yes">
64132300c62e Uploaded
greg
parents: 40
diff changeset
78 <param name="input_ytd" type="data" format="csv" label="Year-to-date temperature data">
64132300c62e Uploaded
greg
parents: 40
diff changeset
79 <validator type="expression" message="Year-to-date temperature data must have 6 columns">value is not None and value.metadata.columns==6</validator>
64132300c62e Uploaded
greg
parents: 40
diff changeset
80 </param>
44
c61d3d9d44db Uploaded
greg
parents: 42
diff changeset
81 <param name="location" type="text" value="" optional="true" label="Location" help="Enter the location or leave blank to use the station name from 30 year normals data."/>
42
64132300c62e Uploaded
greg
parents: 40
diff changeset
82 </when>
64132300c62e Uploaded
greg
parents: 40
diff changeset
83 <when value="no"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
84 </conditional>
5
1878a03f9c9f Uploaded
greg
parents: 4
diff changeset
85 <param name="insect" type="select" label="Select insect">
9
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
86 <option value="BMSB" selected="True">Brown Marmorated Stink Bug</option>
5
1878a03f9c9f Uploaded
greg
parents: 4
diff changeset
87 </param>
42
64132300c62e Uploaded
greg
parents: 40
diff changeset
88 <param name="replications" type="integer" value="10" min="2" label="Number of replications"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
89 <param name="insects_per_replication" type="integer" value="1000" min="1" label="Number of insects with which to start each replication"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
90 <param name="photoperiod" type="float" value="13.5" min="0" label="Critical photoperiod for diapause induction/termination"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
91 <param name="egg_mortality" type="integer" value="1" min="0" label="Adjustment rate for egg mortality"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
92 <param name="nymph_mortality" type="integer" value="1" min="0" label="Adjustment rate for nymph mortality"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
93 <param name="adult_mortality" type="integer" value="1" min="0" label="Adjustment rate for adult mortality"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
94 <param name="oviposition" type="integer" value="1" min="0" label="Adjustment oviposition rate"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
95 <param name="min_clutch_size" type="integer" value="0" min="0" label="Adjustment of minimum clutch size"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
96 <param name="max_clutch_size" type="integer" value="0" min="0" label="Adjustment of maximum clutch size"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
97 <param name="young_nymph_accumulation" type="integer" value="0" min="0" label="Adjustment of degree-days accumulation (egg->young nymph)"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
98 <param name="old_nymph_accumulation" type="integer" value="0" min="0" label="Adjustment of degree-days accumulation (young nymph->old nymph)"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
99 <param name="adult_accumulation" type="integer" value="0" min="0" label="Adjustment of degree-days accumulation (old nymph->adult)"/>
48
99e1c1300fcd Uploaded
greg
parents: 44
diff changeset
100 <conditional name="custom_date_interval_cond">
99e1c1300fcd Uploaded
greg
parents: 44
diff changeset
101 <param name="custom_date_interval" type="select" label="Set date interval for plots?" help="Scales the x axis in plots from weeks to days">
99e1c1300fcd Uploaded
greg
parents: 44
diff changeset
102 <option value="no" selected="true">No</option>
99e1c1300fcd Uploaded
greg
parents: 44
diff changeset
103 <option value="yes">Yes</option>
99e1c1300fcd Uploaded
greg
parents: 44
diff changeset
104 </param>
99e1c1300fcd Uploaded
greg
parents: 44
diff changeset
105 <when value="no"/>
99e1c1300fcd Uploaded
greg
parents: 44
diff changeset
106 <when value="yes">
99e1c1300fcd Uploaded
greg
parents: 44
diff changeset
107 <param name="start_date" type="text" value="" label="Start date" help="Format must be yyyy-mm-dd">
99e1c1300fcd Uploaded
greg
parents: 44
diff changeset
108 <validator type="expression" message="Date must have the format yyyy-mm-dd">len(value.split('-')[0])==4 and int(value.split('-')[0]) and len(value.split('-')[1])==2 and int(value.split('-')[1]) and len(value.split('-')[2])==2 and int(value.split('-')[2])</validator>
99e1c1300fcd Uploaded
greg
parents: 44
diff changeset
109 </param>
99e1c1300fcd Uploaded
greg
parents: 44
diff changeset
110 <param name="end_date" type="text" value="" label="End date" help="Format must be yyyy-mm-dd">
99e1c1300fcd Uploaded
greg
parents: 44
diff changeset
111 <validator type="expression" message="Date must have the format yyyy-mm-dd">len(value.split('-')[0])==4 and int(value.split('-')[0]) and len(value.split('-')[1])==2 and int(value.split('-')[1]) and len(value.split('-')[2])==2 and int(value.split('-')[2])</validator>
99e1c1300fcd Uploaded
greg
parents: 44
diff changeset
112 </param>
99e1c1300fcd Uploaded
greg
parents: 44
diff changeset
113 </when>
99e1c1300fcd Uploaded
greg
parents: 44
diff changeset
114 </conditional>
9
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
115 <param name="plot_generations_separately" type="select" label="Plot generations separately?">
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
116 <option value="yes" selected="True">Yes</option>
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
117 <option value="no">No</option>
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
118 </param>
13
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
119 <param name="plot_egg_life_stage" type="select" label="Plot egg life stage?">
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
120 <option value="yes" selected="true">Yes</option>
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
121 <option value="no">No</option>
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
122 </param>
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
123 <conditional name="plot_nymph_life_stage_cond">
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
124 <param name="plot_nymph_life_stage" type="select" label="Plot nymph life stage?">
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
125 <option value="yes" selected="true">Yes</option>
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
126 <option value="no">No</option>
9
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
127 </param>
13
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
128 <when value="yes">
17
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
129 <param name="life_stages_nymph" type="select" multiple="true" label="Select nymph life stage">
9
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
130 <option value="Total" selected="true">All</option>
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
131 <option value="Young">Young</option>
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
132 <option value="Old">Old</option>
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
133 </param>
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
134 </when>
13
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
135 <when value="no"/>
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
136 </conditional>
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
137 <conditional name="plot_adult_life_stage_cond">
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
138 <param name="plot_adult_life_stage" type="select" label="Plot adult life stage?">
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
139 <option value="yes" selected="true">Yes</option>
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
140 <option value="no">No</option>
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
141 </param>
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
142 <when value="yes">
17
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
143 <param name="life_stages_adult" type="select" multiple="true" label="Select adult life stage">
9
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
144 <option value="Total" selected="true">All</option>
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
145 <option value="Pre-vittelogenic">Pre-vittelogenic</option>
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
146 <option value="Vittelogenic">Vittelogenic</option>
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
147 <option value="Diapausing">Diapausing</option>
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
148 </param>
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
149 </when>
13
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
150 <when value="no"/>
9
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
151 </conditional>
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
152 <param name="plot_std_error" type="select" label="Plot standard error?">
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
153 <option value="yes" selected="True">Yes</option>
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
154 <option value="no">No</option>
0
244c373f2a34 Uploaded
greg
parents:
diff changeset
155 </param>
244c373f2a34 Uploaded
greg
parents:
diff changeset
156 </inputs>
244c373f2a34 Uploaded
greg
parents:
diff changeset
157 <outputs>
33
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
158 <collection name="output_data_collection" type="list" label="${tool.name} (data), on ${on_string}">
42
64132300c62e Uploaded
greg
parents: 40
diff changeset
159 <discover_datasets pattern="__name__" directory="output_data_dir" format="csv"/>
33
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
160 </collection>
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
161 <collection name="output_plots_collection" type="list" label="${tool.name} (plots), on ${on_string}">
42
64132300c62e Uploaded
greg
parents: 40
diff changeset
162 <discover_datasets pattern="__name__" directory="output_plots_dir" format="pdf"/>
9
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
163 </collection>
0
244c373f2a34 Uploaded
greg
parents:
diff changeset
164 </outputs>
244c373f2a34 Uploaded
greg
parents:
diff changeset
165 <tests>
244c373f2a34 Uploaded
greg
parents:
diff changeset
166 <test>
42
64132300c62e Uploaded
greg
parents: 40
diff changeset
167 <param name="input_norm" value="30_year_normals.csv" ftype="csv"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
168 <param name="merge_ytd_temperature_data" value="no"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
169 <param name="replications" value="2"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
170 <param name="plot_generations_separately" value="no"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
171 <param name="plot_egg_life_stage" value="no"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
172 <param name="life_stages_nymph" value="Young"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
173 <param name="life_stages_adult" value="Pre-vittelogenic"/>
33
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
174 <output_collection name="output_data_collection" type="list">
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
175 <element name="04_combined_generations.csv" file="output_combined1.csv" ftype="csv" compare="contains"/>
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
176 </output_collection>
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
177 <output_collection name="output_plots_collection" type="list">
28
afe6d8bac0c0 Uploaded
greg
parents: 26
diff changeset
178 <element name="02_young_nymph_pop.pdf" file="plot.pdf" ftype="pdf" compare="contains"/>
afe6d8bac0c0 Uploaded
greg
parents: 26
diff changeset
179 <element name="05_pre-vittelogenic_adult_pop.pdf" file="plot.pdf" ftype="pdf" compare="contains"/>
22
58255c06d24b Uploaded
greg
parents: 18
diff changeset
180 </output_collection>
58255c06d24b Uploaded
greg
parents: 18
diff changeset
181 </test>
58255c06d24b Uploaded
greg
parents: 18
diff changeset
182 <test>
42
64132300c62e Uploaded
greg
parents: 40
diff changeset
183 <param name="input_norm" value="30_year_normals.csv" ftype="csv"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
184 <param name="input_ytd" value="state_college_partial.csv" ftype="csv"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
185 <param name="location" value="State College PA"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
186 <param name="replications" value="2"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
187 <param name="plot_generations_separately" value="no"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
188 <param name="plot_egg_life_stage" value="no"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
189 <param name="life_stages_nymph" value="Young"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
190 <param name="life_stages_adult" value="Pre-vittelogenic"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
191 <output_collection name="output_data_collection" type="list">
64132300c62e Uploaded
greg
parents: 40
diff changeset
192 <element name="04_combined_generations.csv" file="output_combined1.csv" ftype="csv" compare="contains"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
193 </output_collection>
64132300c62e Uploaded
greg
parents: 40
diff changeset
194 <output_collection name="output_plots_collection" type="list">
64132300c62e Uploaded
greg
parents: 40
diff changeset
195 <element name="02_young_nymph_pop.pdf" file="plot.pdf" ftype="pdf" compare="contains"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
196 <element name="05_pre-vittelogenic_adult_pop.pdf" file="plot.pdf" ftype="pdf" compare="contains"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
197 </output_collection>
64132300c62e Uploaded
greg
parents: 40
diff changeset
198 </test>
64132300c62e Uploaded
greg
parents: 40
diff changeset
199 <test>
64132300c62e Uploaded
greg
parents: 40
diff changeset
200 <param name="input_norm" value="30_year_normals.csv" ftype="csv"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
201 <param name="input_ytd" value="state_college_ytd.csv" ftype="csv"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
202 <param name="location" value="State College PA"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
203 <param name="replications" value="2"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
204 <param name="plot_generations_separately" value="no"/>
33
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
205 <output_collection name="output_data_collection" type="list">
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
206 <element name="04_combined_generations.csv" file="output_combined2.csv" ftype="csv" compare="contains"/>
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
207 </output_collection>
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
208 <output_collection name="output_plots_collection" type="list">
28
afe6d8bac0c0 Uploaded
greg
parents: 26
diff changeset
209 <element name="01_egg_pop.pdf" file="plot.pdf" ftype="pdf" compare="contains"/>
afe6d8bac0c0 Uploaded
greg
parents: 26
diff changeset
210 <element name="04_total_nymph_pop.pdf" file="plot.pdf" ftype="pdf" compare="contains"/>
afe6d8bac0c0 Uploaded
greg
parents: 26
diff changeset
211 <element name="08_total_adult_pop.pdf" file="plot.pdf" ftype="pdf" compare="contains"/>
afe6d8bac0c0 Uploaded
greg
parents: 26
diff changeset
212 <element name="09_total_pop.pdf" file="plot.pdf" ftype="pdf" compare="contains"/>
22
58255c06d24b Uploaded
greg
parents: 18
diff changeset
213 </output_collection>
58255c06d24b Uploaded
greg
parents: 18
diff changeset
214 </test>
58255c06d24b Uploaded
greg
parents: 18
diff changeset
215 <test>
42
64132300c62e Uploaded
greg
parents: 40
diff changeset
216 <param name="input_norm" value="30_year_normals.csv" ftype="csv"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
217 <param name="input_ytd" value="state_college_partial.csv" ftype="csv"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
218 <param name="location" value="State College PA"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
219 <param name="replications" value="2"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
220 <param name="plot_egg_life_stage" value="no"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
221 <param name="life_stages_nymph" value="Old"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
222 <param name="plot_adult_life_stage" value="no"/>
33
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
223 <output_collection name="output_data_collection" type="list">
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
224 <element name="01_generation_P.csv" file="output_p_3.csv" ftype="csv" compare="contains"/>
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
225 <element name="02_generation_F1.csv" file="output_f1_3.csv" ftype="csv" compare="contains"/>
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
226 <element name="03_generation_F2.csv" file="output_f2_3.csv" ftype="csv" compare="contains"/>
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
227 <element name="04_combined_generations.csv" file="output_combined3.csv" ftype="csv" compare="contains"/>
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
228 </output_collection>
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
229 <output_collection name="output_plots_collection" type="list">
28
afe6d8bac0c0 Uploaded
greg
parents: 26
diff changeset
230 <element name="03_old_nymph_pop_by_generation.pdf" file="plot.pdf" ftype="pdf" compare="contains"/>
22
58255c06d24b Uploaded
greg
parents: 18
diff changeset
231 </output_collection>
58255c06d24b Uploaded
greg
parents: 18
diff changeset
232 </test>
58255c06d24b Uploaded
greg
parents: 18
diff changeset
233 <test>
42
64132300c62e Uploaded
greg
parents: 40
diff changeset
234 <param name="input_norm" value="30_year_normals.csv" ftype="csv"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
235 <param name="input_ytd" value="state_college_ytd.csv" ftype="csv"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
236 <param name="location" value="State College PA"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
237 <param name="replications" value="2"/>
33
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
238 <output_collection name="output_data_collection" type="list">
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
239 <element name="01_generation_P.csv" file="output_p_4.csv" ftype="csv" compare="contains"/>
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
240 <element name="02_generation_F1.csv" file="output_f1_4.csv" ftype="csv" compare="contains"/>
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
241 <element name="03_generation_F2.csv" file="output_f2_4.csv" ftype="csv" compare="contains"/>
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
242 <element name="04_combined_generations.csv" file="output_combined4.csv" ftype="csv" compare="contains"/>
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
243 </output_collection>
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
244 <output_collection name="output_plots_collection" type="list">
28
afe6d8bac0c0 Uploaded
greg
parents: 26
diff changeset
245 <element name="01_egg_pop_by_generation.pdf" file="plot.pdf" ftype="pdf" compare="contains"/>
afe6d8bac0c0 Uploaded
greg
parents: 26
diff changeset
246 <element name="04_total_nymph_pop_by_generation.pdf" file="plot.pdf" ftype="pdf" compare="contains"/>
afe6d8bac0c0 Uploaded
greg
parents: 26
diff changeset
247 <element name="08_total_adult_pop_by_generation.pdf" file="plot.pdf" ftype="pdf" compare="contains"/>
afe6d8bac0c0 Uploaded
greg
parents: 26
diff changeset
248 <element name="09_total_pop_by_generation.pdf" file="plot.pdf" ftype="pdf" compare="contains"/>
9
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
249 </output_collection>
0
244c373f2a34 Uploaded
greg
parents:
diff changeset
250 </test>
244c373f2a34 Uploaded
greg
parents:
diff changeset
251 </tests>
244c373f2a34 Uploaded
greg
parents:
diff changeset
252 <help>
244c373f2a34 Uploaded
greg
parents:
diff changeset
253 **What it does**
6
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
254
0
244c373f2a34 Uploaded
greg
parents:
diff changeset
255 Provides an agent-based stochastic model expressing stage-specific phenology and population dynamics for an insect species across geographic regions.
244c373f2a34 Uploaded
greg
parents:
diff changeset
256
244c373f2a34 Uploaded
greg
parents:
diff changeset
257 -----
244c373f2a34 Uploaded
greg
parents:
diff changeset
258
244c373f2a34 Uploaded
greg
parents:
diff changeset
259 **Required options**
244c373f2a34 Uploaded
greg
parents:
diff changeset
260
42
64132300c62e Uploaded
greg
parents: 40
diff changeset
261 * **30 year normals temperature data** - the dataset from your history containing the 30-year normals temperature data (available at http://pestwatch.psu.edu/ghcn).
64132300c62e Uploaded
greg
parents: 40
diff changeset
262 * **Merge year-to-date temperature data with 30 year normals temperature data** - select Yes to merge a year-to-date temperature dataset from your history into the selected 30 year normals temperature data.
64132300c62e Uploaded
greg
parents: 40
diff changeset
263
64132300c62e Uploaded
greg
parents: 40
diff changeset
264 * **Year-to-date temperature data** - the dataset from your history containing the year-to-date temperature data (available at http://pestwatch.psu.edu/minmax).
64132300c62e Uploaded
greg
parents: 40
diff changeset
265
0
244c373f2a34 Uploaded
greg
parents:
diff changeset
266 * **Location** - the location associated with the selected temperature data.
7
ad26f07a7dd8 Uploaded
greg
parents: 6
diff changeset
267 * **Select insect** - currently only the Brown Marmorated Stink Bug can be analyzed.
0
244c373f2a34 Uploaded
greg
parents:
diff changeset
268 * **Number of replications** - number of replications.
6
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
269 * **Number of insects with which to start each replication** - the analysis for each replication will start with this number of insects.
0
244c373f2a34 Uploaded
greg
parents:
diff changeset
270 * **Critical photoperiod for diapause induction/termination** - critical photoperiod for diapause induction/termination.
244c373f2a34 Uploaded
greg
parents:
diff changeset
271 * **Adjustment rate for egg mortality** - adjustment rate for egg mortality.
244c373f2a34 Uploaded
greg
parents:
diff changeset
272 * **Adjustment rate for nymph mortality** - adjustment rate for nymph mortality.
244c373f2a34 Uploaded
greg
parents:
diff changeset
273 * **Adjustment rate for adult mortality** - adjustment rate for adult mortality.
244c373f2a34 Uploaded
greg
parents:
diff changeset
274 * **Adjustment oviposition rate** - adjustment oviposition rate.
244c373f2a34 Uploaded
greg
parents:
diff changeset
275 * **Adjustment of minimum clutch size** - adjustment of minimum clutch size.
244c373f2a34 Uploaded
greg
parents:
diff changeset
276 * **Adjustment of maximum clutch size** - adjustment of maximum clutch size
6
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
277 * **Adjustment of degree-days accumulation (egg->young nymph)** - adjustment of degree-days accumulation (egg->young nymph).
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
278 * **Adjustment of degree-days accumulation (young nymph->old nymph)** - adjustment of degree-days accumulation (young nymph->old nymph).
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
279 * **Adjustment of degree-days accumulation (old nymph->adult)** - adjustment of degree-days accumulation (old nymph->adult).
9
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
280 * **Plot generations separately** - select "Yes" to plot P, F1 and F2 as separate lines or "no" to pool across generations, resulting in a total for the selected life states.
14
4aadc28100b0 Uploaded
greg
parents: 13
diff changeset
281 * **Plot egg life stage** - select "Yes" to plot the egg life stage. If all life stages (egg, nymph and adult) are selected for plotting, one output for the total will be produced.
4aadc28100b0 Uploaded
greg
parents: 13
diff changeset
282 * **Plot nymph life stage** - select "Yes" to plot the nymph life stage. If all life stages (egg, nymph and adult) are selected for plotting, one output for the total will be produced.
4aadc28100b0 Uploaded
greg
parents: 13
diff changeset
283
4aadc28100b0 Uploaded
greg
parents: 13
diff changeset
284 * **Select nymph life stage** - select the nymph life stage for plotting.
4aadc28100b0 Uploaded
greg
parents: 13
diff changeset
285
4aadc28100b0 Uploaded
greg
parents: 13
diff changeset
286 * **Plot adult life stage** - select "Yes" to plot the adult life stage. If all life stages (egg, nymph and adult) are selected for plotting, one output for the total will be produced.
4aadc28100b0 Uploaded
greg
parents: 13
diff changeset
287
4aadc28100b0 Uploaded
greg
parents: 13
diff changeset
288 * **Select adult life stage** - select the adult life stage for plotting.
4aadc28100b0 Uploaded
greg
parents: 13
diff changeset
289
6
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
290 * **Plot standard error** - add standard error lines to plot.
0
244c373f2a34 Uploaded
greg
parents:
diff changeset
291 </help>
244c373f2a34 Uploaded
greg
parents:
diff changeset
292 <citations>
244c373f2a34 Uploaded
greg
parents:
diff changeset
293 <citation type="doi">10.3389/fphys.2016.00165</citation>
3
24fa0d35a8bf Uploaded
greg
parents: 2
diff changeset
294 <citation type="doi">10.1175/JTECH-D-11-00103.1</citation>
24fa0d35a8bf Uploaded
greg
parents: 2
diff changeset
295 <citation type="doi">10.7289/V5D21VHZ</citation>
0
244c373f2a34 Uploaded
greg
parents:
diff changeset
296 </citations>
244c373f2a34 Uploaded
greg
parents:
diff changeset
297 </tool>