Mercurial > repos > greg > extract_ipm_date_interval
comparison extract_ipm_date_interval.xml @ 12:fff2e4833e8f draft
Uploaded
| author | greg |
|---|---|
| date | Thu, 09 Aug 2018 10:06:01 -0400 |
| parents | c2eb16ef23c0 |
| children | 3b0bf1df8e31 |
comparison
equal
deleted
inserted
replaced
| 11:2a438187d051 | 12:fff2e4833e8f |
|---|---|
| 39 <inputs> | 39 <inputs> |
| 40 <param name="input_data" type="data_collection" format="csv" collection_type="list" label="Insect phenology model data files" /> | 40 <param name="input_data" type="data_collection" format="csv" collection_type="list" label="Insect phenology model data files" /> |
| 41 <param name="start_date" type="text" value="" label="Start date" help="Format must be yyyy-mm-dd"> | 41 <param name="start_date" type="text" value="" label="Start date" help="Format must be yyyy-mm-dd"> |
| 42 <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> | 42 <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> |
| 43 </param> | 43 </param> |
| 44 <param name="end_date" type="text" value="" label="End date" help="Format must be yyyy-mm-dd"> | 44 <param name="end_date" type="text" value="" label="End date" help="Format must be yyyy-mm-dd, and the date must be between 1 and 50 days after the start date"> |
| 45 <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> | 45 <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> |
| 46 </param> | 46 </param> |
| 47 </inputs> | 47 </inputs> |
| 48 <outputs> | 48 <outputs> |
| 49 <collection name="output_data_collection" type="list" label="${tool.name} (data), on ${on_string}"> | 49 <collection name="output_data_collection" type="list" label="${tool.name} (data), on ${on_string}"> |
| 85 </test> | 85 </test> |
| 86 </tests> | 86 </tests> |
| 87 <help> | 87 <help> |
| 88 **What it does** | 88 **What it does** |
| 89 | 89 |
| 90 Provides an agent-based stochastic model expressing stage-specific phenology and population dynamics for an insect species across geographic regions. | 90 Extracts a date interval from the data produced by the Insect Phenology Model tool, providing a "zoomed in" view of the plots. |
| 91 | |
| 92 The Insect Phenology Model tool produces 2 data set collections, one consisting of the the analyzed data files and another consisting | |
| 93 of plots based on the data files. The data consists of a complete year, and the X axis displays weekly tick marks (on Sundays) | |
| 94 as well as the first day of each month. | |
| 95 | |
| 96 This tool accepts the Insect Phenology Model collection of data files as input and extracts the user-specified date interval from | |
| 97 the files, producing a collection of data files with the same names, but containing only the extracted date interval. A collection | |
| 98 of plots is also produced, each with the same name as those produced by the Insect Phenology Model tool, but restricted to the | |
| 99 date interval, which is cannot be more than 50 days. The X axis displays daily tick marks, essentially zooming in on the original | |
| 100 data. | |
| 101 | |
| 102 This tool inspects the parameters values that were specified when the Insect Phenology Model tool was executed in order to | |
| 103 generate the plots, so it is essential that the dataset collection selected as the input to this tool was produced by the | |
| 104 Insect Phenology Model tool. | |
| 105 | |
| 106 ----- | |
| 107 | |
| 108 **Required options** | |
| 109 | |
| 110 * **Insect phenology model data files** - select the collection of data files produced by the Insect Phenology Model tool. | |
| 111 * **Start date** - enter a start date for the interval using the format YYYY-MM-DD, making sure that the year coincides with the selected collection of input data files. | |
| 112 * **End date** - enter an end date for the interval using the format YYYY-MM-DD which is between 1 and 50 days after the start date. | |
| 91 | 113 |
| 92 ----- | 114 ----- |
| 93 | 115 |
| 94 **Required options** | 116 **Required options** |
| 95 | 117 |
