annotate insect_phenology_model.xml @ 45:315c5e1bc44a draft

Uploaded
author greg
date Mon, 23 Apr 2018 10:19:06 -0400
parents c61d3d9d44db
children 99e1c1300fcd
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")
17
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
11 #set life_stages = list()
13
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
12 #set plot_adult_life_stage = $plot_adult_life_stage_cond.plot_adult_life_stage
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
13 #set plot_nymph_life_stage = $plot_nymph_life_stage_cond.plot_nymph_life_stage
17
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
14 #if str($plot_egg_life_stage) == "yes":
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
15 $life_stages.append("Egg")
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
16 #end if
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
17 #if str($plot_nymph_life_stage) == "yes":
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
18 $life_stages.append("Nymph")
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
19 #end if
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
20 #if str($plot_adult_life_stage) == "yes":
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
21 $life_stages.append("Adult")
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
22 #end if
13
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
23 #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
24 $life_stages.append("Total")
13
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
25 #end if
17
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
26 #set life_stages = ",".join($life_stages)
33
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
27 mkdir output_data_dir &&
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
28 mkdir output_plots_dir &&
0
244c373f2a34 Uploaded
greg
parents:
diff changeset
29 Rscript '$__tool_directory__/insect_phenology_model.R'
6
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
30 --adult_mortality $adult_mortality
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
31 --adult_accumulation $adult_accumulation
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
32 --egg_mortality $egg_mortality
42
64132300c62e Uploaded
greg
parents: 40
diff changeset
33 #if str($merge_ytd_temperature_data_cond.merge_ytd_temperature_data) == "yes":
64132300c62e Uploaded
greg
parents: 40
diff changeset
34 --input_ytd '$merge_ytd_temperature_data_cond.input_ytd'
44
c61d3d9d44db Uploaded
greg
parents: 42
diff changeset
35 --location '$merge_ytd_temperature_data_cond.location'
c61d3d9d44db Uploaded
greg
parents: 42
diff changeset
36 --num_days_ytd $merge_ytd_temperature_data_cond.input_ytd.metadata.data_lines
42
64132300c62e Uploaded
greg
parents: 40
diff changeset
37 #end if
37
b7dcecf5476a Uploaded
greg
parents: 33
diff changeset
38 --input_norm '$input_norm'
6
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
39 --insect '$insect'
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
40 --insects_per_replication $insects_per_replication
17
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
41 --life_stages '$life_stages'
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
42 #if str($plot_adult_life_stage) == "yes":
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
43 --life_stages_adult '$plot_adult_life_stage_cond.life_stages_adult'
9
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
44 #end if
17
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
45 #if str($plot_nymph_life_stage) == "yes":
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
46 --life_stages_nymph '$plot_nymph_life_stage_cond.life_stages_nymph'
9
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
47 #end if
6
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
48 --max_clutch_size $max_clutch_size
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
49 --min_clutch_size $min_clutch_size
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
50 --nymph_mortality $nymph_mortality
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
51 --old_nymph_accumulation $old_nymph_accumulation
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
52 --oviposition $oviposition
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
53 --photoperiod $photoperiod
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
54 --replications $replications
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
26
93209c167a61 Uploaded
greg
parents: 22
diff changeset
57 --young_nymph_accumulation $young_nymph_accumulation
29
dd0f1b7528aa Uploaded
greg
parents: 28
diff changeset
58 &>ipm_log.txt;
dd0f1b7528aa Uploaded
greg
parents: 28
diff changeset
59 if [[ $? -ne 0 ]]; then
33
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
60 cp ipm_log.txt '$error_file';
29
dd0f1b7528aa Uploaded
greg
parents: 28
diff changeset
61 exit 1;
dd0f1b7528aa Uploaded
greg
parents: 28
diff changeset
62 fi]]></command>
0
244c373f2a34 Uploaded
greg
parents:
diff changeset
63 <inputs>
37
b7dcecf5476a Uploaded
greg
parents: 33
diff changeset
64 <param name="input_norm" type="data" format="csv" label="30 year normals temperature data">
b7dcecf5476a Uploaded
greg
parents: 33
diff changeset
65 <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
66 </param>
42
64132300c62e Uploaded
greg
parents: 40
diff changeset
67 <conditional name="merge_ytd_temperature_data_cond">
64132300c62e Uploaded
greg
parents: 40
diff changeset
68 <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
69 <option value="yes" selected="true">Yes</option>
64132300c62e Uploaded
greg
parents: 40
diff changeset
70 <option value="no">No</option>
64132300c62e Uploaded
greg
parents: 40
diff changeset
71 </param>
64132300c62e Uploaded
greg
parents: 40
diff changeset
72 <when value="yes">
64132300c62e Uploaded
greg
parents: 40
diff changeset
73 <param name="input_ytd" type="data" format="csv" label="Year-to-date temperature data">
64132300c62e Uploaded
greg
parents: 40
diff changeset
74 <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
75 </param>
44
c61d3d9d44db Uploaded
greg
parents: 42
diff changeset
76 <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
77 </when>
64132300c62e Uploaded
greg
parents: 40
diff changeset
78 <when value="no"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
79 </conditional>
5
1878a03f9c9f Uploaded
greg
parents: 4
diff changeset
80 <param name="insect" type="select" label="Select insect">
9
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
81 <option value="BMSB" selected="True">Brown Marmorated Stink Bug</option>
5
1878a03f9c9f Uploaded
greg
parents: 4
diff changeset
82 </param>
42
64132300c62e Uploaded
greg
parents: 40
diff changeset
83 <param name="replications" type="integer" value="10" min="2" label="Number of replications"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
84 <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
85 <param name="photoperiod" type="float" value="13.5" min="0" label="Critical photoperiod for diapause induction/termination"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
86 <param name="egg_mortality" type="integer" value="1" min="0" label="Adjustment rate for egg mortality"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
87 <param name="nymph_mortality" type="integer" value="1" min="0" label="Adjustment rate for nymph mortality"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
88 <param name="adult_mortality" type="integer" value="1" min="0" label="Adjustment rate for adult mortality"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
89 <param name="oviposition" type="integer" value="1" min="0" label="Adjustment oviposition rate"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
90 <param name="min_clutch_size" type="integer" value="0" min="0" label="Adjustment of minimum clutch size"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
91 <param name="max_clutch_size" type="integer" value="0" min="0" label="Adjustment of maximum clutch size"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
92 <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
93 <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
94 <param name="adult_accumulation" type="integer" value="0" min="0" label="Adjustment of degree-days accumulation (old nymph->adult)"/>
9
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
95 <param name="plot_generations_separately" type="select" label="Plot generations separately?">
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
96 <option value="yes" selected="True">Yes</option>
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
97 <option value="no">No</option>
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
98 </param>
13
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
99 <param name="plot_egg_life_stage" type="select" label="Plot egg life stage?">
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
100 <option value="yes" selected="true">Yes</option>
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
101 <option value="no">No</option>
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
102 </param>
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
103 <conditional name="plot_nymph_life_stage_cond">
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
104 <param name="plot_nymph_life_stage" type="select" label="Plot nymph life stage?">
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
105 <option value="yes" selected="true">Yes</option>
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
106 <option value="no">No</option>
9
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
107 </param>
13
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
108 <when value="yes">
17
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
109 <param name="life_stages_nymph" type="select" multiple="true" label="Select nymph life stage">
9
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
110 <option value="Total" selected="true">All</option>
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
111 <option value="Young">Young</option>
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
112 <option value="Old">Old</option>
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
113 </param>
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
114 </when>
13
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
115 <when value="no"/>
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
116 </conditional>
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
117 <conditional name="plot_adult_life_stage_cond">
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
118 <param name="plot_adult_life_stage" type="select" label="Plot adult life stage?">
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
119 <option value="yes" selected="true">Yes</option>
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
120 <option value="no">No</option>
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
121 </param>
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
122 <when value="yes">
17
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
123 <param name="life_stages_adult" type="select" multiple="true" label="Select adult life stage">
9
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
124 <option value="Total" selected="true">All</option>
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
125 <option value="Pre-vittelogenic">Pre-vittelogenic</option>
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
126 <option value="Vittelogenic">Vittelogenic</option>
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
127 <option value="Diapausing">Diapausing</option>
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
128 </param>
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
129 </when>
13
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
130 <when value="no"/>
9
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
131 </conditional>
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
132 <param name="plot_std_error" type="select" label="Plot standard error?">
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
133 <option value="yes" selected="True">Yes</option>
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
134 <option value="no">No</option>
0
244c373f2a34 Uploaded
greg
parents:
diff changeset
135 </param>
244c373f2a34 Uploaded
greg
parents:
diff changeset
136 </inputs>
244c373f2a34 Uploaded
greg
parents:
diff changeset
137 <outputs>
33
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
138 <collection name="output_data_collection" type="list" label="${tool.name} (data), on ${on_string}">
42
64132300c62e Uploaded
greg
parents: 40
diff changeset
139 <discover_datasets pattern="__name__" directory="output_data_dir" format="csv"/>
33
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
140 </collection>
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
141 <collection name="output_plots_collection" type="list" label="${tool.name} (plots), on ${on_string}">
42
64132300c62e Uploaded
greg
parents: 40
diff changeset
142 <discover_datasets pattern="__name__" directory="output_plots_dir" format="pdf"/>
9
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
143 </collection>
0
244c373f2a34 Uploaded
greg
parents:
diff changeset
144 </outputs>
244c373f2a34 Uploaded
greg
parents:
diff changeset
145 <tests>
244c373f2a34 Uploaded
greg
parents:
diff changeset
146 <test>
42
64132300c62e Uploaded
greg
parents: 40
diff changeset
147 <param name="input_norm" value="30_year_normals.csv" ftype="csv"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
148 <param name="merge_ytd_temperature_data" value="no"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
149 <param name="replications" value="2"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
150 <param name="plot_generations_separately" value="no"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
151 <param name="plot_egg_life_stage" value="no"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
152 <param name="life_stages_nymph" value="Young"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
153 <param name="life_stages_adult" value="Pre-vittelogenic"/>
33
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
154 <output_collection name="output_data_collection" type="list">
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
155 <element name="04_combined_generations.csv" file="output_combined1.csv" ftype="csv" compare="contains"/>
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
156 </output_collection>
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
157 <output_collection name="output_plots_collection" type="list">
28
afe6d8bac0c0 Uploaded
greg
parents: 26
diff changeset
158 <element name="02_young_nymph_pop.pdf" file="plot.pdf" ftype="pdf" compare="contains"/>
afe6d8bac0c0 Uploaded
greg
parents: 26
diff changeset
159 <element name="05_pre-vittelogenic_adult_pop.pdf" file="plot.pdf" ftype="pdf" compare="contains"/>
22
58255c06d24b Uploaded
greg
parents: 18
diff changeset
160 </output_collection>
58255c06d24b Uploaded
greg
parents: 18
diff changeset
161 </test>
58255c06d24b Uploaded
greg
parents: 18
diff changeset
162 <test>
42
64132300c62e Uploaded
greg
parents: 40
diff changeset
163 <param name="input_norm" value="30_year_normals.csv" ftype="csv"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
164 <param name="input_ytd" value="state_college_partial.csv" ftype="csv"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
165 <param name="location" value="State College PA"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
166 <param name="replications" value="2"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
167 <param name="plot_generations_separately" value="no"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
168 <param name="plot_egg_life_stage" value="no"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
169 <param name="life_stages_nymph" value="Young"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
170 <param name="life_stages_adult" value="Pre-vittelogenic"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
171 <output_collection name="output_data_collection" type="list">
64132300c62e Uploaded
greg
parents: 40
diff changeset
172 <element name="04_combined_generations.csv" file="output_combined1.csv" ftype="csv" compare="contains"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
173 </output_collection>
64132300c62e Uploaded
greg
parents: 40
diff changeset
174 <output_collection name="output_plots_collection" type="list">
64132300c62e Uploaded
greg
parents: 40
diff changeset
175 <element name="02_young_nymph_pop.pdf" file="plot.pdf" ftype="pdf" compare="contains"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
176 <element name="05_pre-vittelogenic_adult_pop.pdf" file="plot.pdf" ftype="pdf" compare="contains"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
177 </output_collection>
64132300c62e Uploaded
greg
parents: 40
diff changeset
178 </test>
64132300c62e Uploaded
greg
parents: 40
diff changeset
179 <test>
64132300c62e Uploaded
greg
parents: 40
diff changeset
180 <param name="input_norm" value="30_year_normals.csv" ftype="csv"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
181 <param name="input_ytd" value="state_college_ytd.csv" ftype="csv"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
182 <param name="location" value="State College PA"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
183 <param name="replications" value="2"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
184 <param name="plot_generations_separately" value="no"/>
33
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
185 <output_collection name="output_data_collection" type="list">
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
186 <element name="04_combined_generations.csv" file="output_combined2.csv" ftype="csv" compare="contains"/>
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
187 </output_collection>
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
188 <output_collection name="output_plots_collection" type="list">
28
afe6d8bac0c0 Uploaded
greg
parents: 26
diff changeset
189 <element name="01_egg_pop.pdf" file="plot.pdf" ftype="pdf" compare="contains"/>
afe6d8bac0c0 Uploaded
greg
parents: 26
diff changeset
190 <element name="04_total_nymph_pop.pdf" file="plot.pdf" ftype="pdf" compare="contains"/>
afe6d8bac0c0 Uploaded
greg
parents: 26
diff changeset
191 <element name="08_total_adult_pop.pdf" file="plot.pdf" ftype="pdf" compare="contains"/>
afe6d8bac0c0 Uploaded
greg
parents: 26
diff changeset
192 <element name="09_total_pop.pdf" file="plot.pdf" ftype="pdf" compare="contains"/>
22
58255c06d24b Uploaded
greg
parents: 18
diff changeset
193 </output_collection>
58255c06d24b Uploaded
greg
parents: 18
diff changeset
194 </test>
58255c06d24b Uploaded
greg
parents: 18
diff changeset
195 <test>
42
64132300c62e Uploaded
greg
parents: 40
diff changeset
196 <param name="input_norm" value="30_year_normals.csv" ftype="csv"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
197 <param name="input_ytd" value="state_college_partial.csv" ftype="csv"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
198 <param name="location" value="State College PA"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
199 <param name="replications" value="2"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
200 <param name="plot_egg_life_stage" value="no"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
201 <param name="life_stages_nymph" value="Old"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
202 <param name="plot_adult_life_stage" value="no"/>
33
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
203 <output_collection name="output_data_collection" type="list">
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
204 <element name="01_generation_P.csv" file="output_p_3.csv" ftype="csv" compare="contains"/>
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
205 <element name="02_generation_F1.csv" file="output_f1_3.csv" ftype="csv" compare="contains"/>
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
206 <element name="03_generation_F2.csv" file="output_f2_3.csv" ftype="csv" compare="contains"/>
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
207 <element name="04_combined_generations.csv" file="output_combined3.csv" ftype="csv" compare="contains"/>
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
208 </output_collection>
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
209 <output_collection name="output_plots_collection" type="list">
28
afe6d8bac0c0 Uploaded
greg
parents: 26
diff changeset
210 <element name="03_old_nymph_pop_by_generation.pdf" file="plot.pdf" ftype="pdf" compare="contains"/>
22
58255c06d24b Uploaded
greg
parents: 18
diff changeset
211 </output_collection>
58255c06d24b Uploaded
greg
parents: 18
diff changeset
212 </test>
58255c06d24b Uploaded
greg
parents: 18
diff changeset
213 <test>
42
64132300c62e Uploaded
greg
parents: 40
diff changeset
214 <param name="input_norm" value="30_year_normals.csv" ftype="csv"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
215 <param name="input_ytd" value="state_college_ytd.csv" ftype="csv"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
216 <param name="location" value="State College PA"/>
64132300c62e Uploaded
greg
parents: 40
diff changeset
217 <param name="replications" value="2"/>
33
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
218 <output_collection name="output_data_collection" type="list">
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
219 <element name="01_generation_P.csv" file="output_p_4.csv" ftype="csv" compare="contains"/>
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
220 <element name="02_generation_F1.csv" file="output_f1_4.csv" ftype="csv" compare="contains"/>
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
221 <element name="03_generation_F2.csv" file="output_f2_4.csv" ftype="csv" compare="contains"/>
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
222 <element name="04_combined_generations.csv" file="output_combined4.csv" ftype="csv" compare="contains"/>
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
223 </output_collection>
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
224 <output_collection name="output_plots_collection" type="list">
28
afe6d8bac0c0 Uploaded
greg
parents: 26
diff changeset
225 <element name="01_egg_pop_by_generation.pdf" file="plot.pdf" ftype="pdf" compare="contains"/>
afe6d8bac0c0 Uploaded
greg
parents: 26
diff changeset
226 <element name="04_total_nymph_pop_by_generation.pdf" file="plot.pdf" ftype="pdf" compare="contains"/>
afe6d8bac0c0 Uploaded
greg
parents: 26
diff changeset
227 <element name="08_total_adult_pop_by_generation.pdf" file="plot.pdf" ftype="pdf" compare="contains"/>
afe6d8bac0c0 Uploaded
greg
parents: 26
diff changeset
228 <element name="09_total_pop_by_generation.pdf" file="plot.pdf" ftype="pdf" compare="contains"/>
9
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
229 </output_collection>
0
244c373f2a34 Uploaded
greg
parents:
diff changeset
230 </test>
244c373f2a34 Uploaded
greg
parents:
diff changeset
231 </tests>
244c373f2a34 Uploaded
greg
parents:
diff changeset
232 <help>
244c373f2a34 Uploaded
greg
parents:
diff changeset
233 **What it does**
6
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
234
0
244c373f2a34 Uploaded
greg
parents:
diff changeset
235 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
236
244c373f2a34 Uploaded
greg
parents:
diff changeset
237 -----
244c373f2a34 Uploaded
greg
parents:
diff changeset
238
244c373f2a34 Uploaded
greg
parents:
diff changeset
239 **Required options**
244c373f2a34 Uploaded
greg
parents:
diff changeset
240
42
64132300c62e Uploaded
greg
parents: 40
diff changeset
241 * **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
242 * **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
243
64132300c62e Uploaded
greg
parents: 40
diff changeset
244 * **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
245
0
244c373f2a34 Uploaded
greg
parents:
diff changeset
246 * **Location** - the location associated with the selected temperature data.
7
ad26f07a7dd8 Uploaded
greg
parents: 6
diff changeset
247 * **Select insect** - currently only the Brown Marmorated Stink Bug can be analyzed.
0
244c373f2a34 Uploaded
greg
parents:
diff changeset
248 * **Number of replications** - number of replications.
6
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
249 * **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
250 * **Critical photoperiod for diapause induction/termination** - critical photoperiod for diapause induction/termination.
244c373f2a34 Uploaded
greg
parents:
diff changeset
251 * **Adjustment rate for egg mortality** - adjustment rate for egg mortality.
244c373f2a34 Uploaded
greg
parents:
diff changeset
252 * **Adjustment rate for nymph mortality** - adjustment rate for nymph mortality.
244c373f2a34 Uploaded
greg
parents:
diff changeset
253 * **Adjustment rate for adult mortality** - adjustment rate for adult mortality.
244c373f2a34 Uploaded
greg
parents:
diff changeset
254 * **Adjustment oviposition rate** - adjustment oviposition rate.
244c373f2a34 Uploaded
greg
parents:
diff changeset
255 * **Adjustment of minimum clutch size** - adjustment of minimum clutch size.
244c373f2a34 Uploaded
greg
parents:
diff changeset
256 * **Adjustment of maximum clutch size** - adjustment of maximum clutch size
6
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
257 * **Adjustment of degree-days accumulation (egg->young nymph)** - adjustment of degree-days accumulation (egg->young nymph).
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
258 * **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
259 * **Adjustment of degree-days accumulation (old nymph->adult)** - adjustment of degree-days accumulation (old nymph->adult).
9
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
260 * **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
261 * **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
262 * **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
263
4aadc28100b0 Uploaded
greg
parents: 13
diff changeset
264 * **Select nymph life stage** - select the nymph life stage for plotting.
4aadc28100b0 Uploaded
greg
parents: 13
diff changeset
265
4aadc28100b0 Uploaded
greg
parents: 13
diff changeset
266 * **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
267
4aadc28100b0 Uploaded
greg
parents: 13
diff changeset
268 * **Select adult life stage** - select the adult life stage for plotting.
4aadc28100b0 Uploaded
greg
parents: 13
diff changeset
269
6
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
270 * **Plot standard error** - add standard error lines to plot.
0
244c373f2a34 Uploaded
greg
parents:
diff changeset
271 </help>
244c373f2a34 Uploaded
greg
parents:
diff changeset
272 <citations>
244c373f2a34 Uploaded
greg
parents:
diff changeset
273 <citation type="doi">10.3389/fphys.2016.00165</citation>
3
24fa0d35a8bf Uploaded
greg
parents: 2
diff changeset
274 <citation type="doi">10.1175/JTECH-D-11-00103.1</citation>
24fa0d35a8bf Uploaded
greg
parents: 2
diff changeset
275 <citation type="doi">10.7289/V5D21VHZ</citation>
0
244c373f2a34 Uploaded
greg
parents:
diff changeset
276 </citations>
244c373f2a34 Uploaded
greg
parents:
diff changeset
277 </tool>