1
|
<?xml version="1.0" standalone="no"?>
|
2
|
<!DOCTYPE entity PUBLIC "-//UC Berkeley//DTD MoML 1//EN"
|
3
|
"http://ptolemy.eecs.berkeley.edu/xml/dtd/MoML_1.dtd">
|
4
|
<entity name="Unnamed1" class="ptolemy.actor.TypedCompositeActor">
|
5
|
<property name="_createdBy" class="ptolemy.kernel.attributes.VersionAttribute" value="8.1.devel">
|
6
|
</property>
|
7
|
<property name="derivedFrom" class="org.kepler.moml.NamedObjIdReferralList">
|
8
|
</property>
|
9
|
<property name="entityId" class="org.kepler.moml.NamedObjId" value="urn:lsid:gamma.msi.ucsb.edu/OpenAuth/:7878:190:40">
|
10
|
</property>
|
11
|
<property name="SDF Director" class="ptolemy.domains.sdf.kernel.SDFDirector">
|
12
|
<property name="iterations" class="ptolemy.data.expr.Parameter" value="1">
|
13
|
</property>
|
14
|
<property name="vectorizationFactor" class="ptolemy.data.expr.Parameter" value="1">
|
15
|
</property>
|
16
|
<property name="allowDisconnectedGraphs" class="ptolemy.data.expr.Parameter" value="false">
|
17
|
</property>
|
18
|
<property name="allowRateChanges" class="ptolemy.data.expr.Parameter" value="false">
|
19
|
</property>
|
20
|
<property name="constrainBufferSizes" class="ptolemy.data.expr.Parameter" value="true">
|
21
|
</property>
|
22
|
<property name="period" class="ptolemy.data.expr.Parameter" value="0.0">
|
23
|
</property>
|
24
|
<property name="synchronizeToRealTime" class="ptolemy.data.expr.Parameter" value="false">
|
25
|
</property>
|
26
|
<property name="timeResolution" class="ptolemy.actor.parameters.SharedParameter" value="1E-10">
|
27
|
</property>
|
28
|
<property name="Scheduler" class="ptolemy.domains.sdf.kernel.SDFScheduler">
|
29
|
<property name="constrainBufferSizes" class="ptolemy.data.expr.Parameter" value="constrainBufferSizes">
|
30
|
</property>
|
31
|
</property>
|
32
|
<property name="KeplerDocumentation" class="ptolemy.vergil.basic.KeplerDocumentationAttribute">
|
33
|
<property name="description" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
34
|
<property name="author" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Steve Neuendorffer</configure></property>
|
35
|
<property name="version" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
36
|
<property name="userLevelDocumentation" class="ptolemy.kernel.util.ConfigurableAttribute"><configure> <p>The SDF Director is often used to oversee fairly simple, sequential workflows in which the director can determine the order of actor invocation from the workflow. Types of workflows that would run well under an SDF Director include processing and reformatting tabular data, converting one data type to another, and reading and plotting a series of data points. A workflow in which an image is read, processed (rotated, scaled, clipped, filtered, etc.), and then displayed, is also an example of a sequential workflow that requires a director simply to ensure that each actor fires in the proper order (i.e., that each actor executes only after it receives its required inputs).</p> <p>The SDF Director is very efficient and will not tax system resources with overhead. However, this efficiency requires that certain conditions be met, namely that the data consumption and production rate of each actor in an SDF workflow be constant and declared. If an actor reads one piece of data and calculates and outputs a single result, it must always read and output a single token of data. This data rate cannot change during workflow execution and, in general, workflows that require dynamic scheduling and/or flow control cannot use this director. Additionally, the SDF Director has no understanding of passing time (at least by default), and actors that depend on a notion of time may not work as expected. For example, a TimedPlotter actor will plot all values at time zero when used in SDF. </p> <p>By default, the SDF Director requires that all actors in its workflow be connected. Otherwise, the director cannot account for concurrency between disconnected workflow parts. Usually, a PN Director should be used for workflows that contain disconnected actors; however, the SDF Director's allowDisconnectedGraphs parameter may also be set to true. The SDF Director will then schedule each disconnected "island" independently. The director cannot infer the sequential relationship between disconnected actors (i.e., nothing forces the director to finish executing all actors on one island before firing actors on another). However, the order of execution within each island should be correct. Usually, disconnected graphs in an SDF model indicate an error.</p> <p>Because SDF Directors schedule actors to fire only after they receive their inputs, workflows that require loops (feeding an actor's output back into its input port for further processing) can cause "deadlock" errors. The deadlock errors occur because the actor depends on its own output value as an initial input. To fix this problem, use a SampleDelay actor to generate and inject an initial input value into the workflow.</p> <p>The SDF Director determines the order in which actors execute and how many times each actor needs to be fired to complete a single iteration of the workflow. This schedule is calculated BEFORE the director begins to iterate the workflow. Because the SDF Director calculates a schedule in advance, it is quite efficient. However, SDF workflows must be static. In other words, the same number of tokens must be consumed/produced at every iteration of the workflow. Workflows that require dynamic control structures, such as a BooleanSwitch actor that sends output on one of two ports depending on the value of a 'control', cannot be used with an SDF Director because the number of tokens on each output can change for each execution.</p> <p>Unless otherwise specified, the SDF Director assumes that each actor consumes and produces exactly one token per channel on each firing. Actors that do not follow the one-token-per-channel firing convention (e.g., Repeat or Ramp) must declare the number of tokens they produce or consume via the appropriate parameters. </p> <p>The number of times a workflow is iterated is controlled by the director's iterations parameter. By default, this parameter is set to "0". Note that "0" does not mean "no iterations." Rather, "0" means that the workflow will iterate forever. Values greater than zero specify the actual number of times the director should execute the entire workflow. A value of 1, meaning that the director will run the workflow once, is often the best setting when building an SDF workflow. </p> <p>The amount of data processed by an SDF workflow is a function of both the number of times the workflow iterates and the value of the director's vectorizationFactor parameter. The vectorizationFactor is used to increase the efficiency of a workflow by increasing the number of times actors fire each time the workflow iterates. If the parameter is set to a positive integer (other than 1), the director will fire each actor the specified number of times more than normal. The default is 1, indicating that no vectorization should be performed. Keep in mind that changing the vectorizationFactor parameter changes the meaning of a nested SDF workflow and may cause deadlock in a workflow that uses it. </p> <p>The SDF Director has several advanced parameters that are generally only relevant when an SDF workflow contains composite components. In most cases the period, timeResolution, synchronizeToRealTime, allowRateChanges, timeResolution, and constrainBufferSizes parameters can be left at their default values.</p> <p>For more information about the SDF Director, see the Ptolemy documentation (http://ptolemy.eecs.berkeley.edu/papers/05/ptIIdesign3-domains/ptIIdesign3-domains.pdf).</p> </configure></property>
|
37
|
<property name="prop:allowDisconnectedGraphs" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Specify whether to allow disconnected actors in the workflow (by default, all actors are required to be connected). If disconnected actors are permitted, the SDF Director will schedule each disconnected 'island' independently. Nothing "forces" the director to finish executing all actors on one island before firing actors on another. However, the order of execution within each island should be correct. Usually, disconnected graphs in an SDF workflow indicate an error.</configure></property>
|
38
|
<property name="prop:allowRateChanges" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Specify whether dynamic rate changes are permitted or not. By default, rate changes are not permitted, and the director will perform a check to disallow such workflows. If the parameter is selected, then workflows that require rate parameters to be modified during execution are valid, and the SDF Director will dynamically compute a new schedule at runtime. This is an advanced parameter that can usually be left at its default value.</configure></property>
|
39
|
<property name="prop:constrainBufferSizes" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Specify whether buffer sizes are fixed. By default, buffers are fixed, and attempts to write to the buffer that cause the buffer to exceed its scheduled size result in an error. This is an advanced parameter that can usually be left at its default value.</configure></property>
|
40
|
<property name="prop:timeResolution" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The time precision used by this director. All time values are rounded to the nearest multiple of this number. The value is a double that defaults to "1E-10" (which is 10-10). This is an advanced parameter that can usually be left at its default value.</configure></property>
|
41
|
<property name="prop:iterations" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Specify the number of times a workflow is iterated. By default, this parameter is set to "0". Note that "0" does not mean "no iterations." Rather, "0" means that the workflow will iterate forever. Values greater than zero specify the actual number of times the director should execute the entire workflow. A value of 1, meaning that the director will run the workflow once, is often the best setting when building an SDF workflow. </configure></property>
|
42
|
<property name="prop:vectorizationFactor" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The vectorizationFactor is used to increase the efficiency of a workflow by increasing the number of times actors fire each time the workflow iterates. If the parameter is set to a positive integer (other than 1), the director will fire each actor the specified number of times more than normal. The default is 1, indicating that no vectorization should be performed. Keep in mind that changing the vectorizationFactor parameter changes the meaning of a nested SDF workflow and may cause deadlock in a workflow that uses it. </configure></property>
|
43
|
<property name="prop:synchronizeToRealTime" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Specify whether the execution should synchronize to real time or not. By default, the director does not synchronize to real time. If synchronize is selected, the director will only process the workflow when elapsed real time matches the product of the period parameter and the iteration count. Note: if the period parameter has a value of 0.0 (the default), then selecting this parameter has no effect. This is an advanced parameter that can usually be left at its default value.</configure></property>
|
44
|
<property name="prop:period" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The time period of each iteration. The value is a double that defaults to 0.0, which means that the director does not increment workflow time. If the value greater than 0.0, the actor will increment workflow time each time it fires. This is an advanced parameter that can usually be left at its default value. </configure></property>
|
45
|
</property> <property name="entityId" class="org.kepler.moml.NamedObjId" value="urn:lsid:gamma.msi.ucsb.edu/OpenAuth/:7878:192:1">
|
46
|
</property>
|
47
|
<property name="class" class="ptolemy.kernel.util.StringAttribute" value="ptolemy.domains.sdf.kernel.SDFDirector">
|
48
|
<property name="id" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:directorclass:1:1">
|
49
|
</property>
|
50
|
</property>
|
51
|
<property name="semanticType00" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:1:1#Director">
|
52
|
</property>
|
53
|
<property name="semanticType11" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:2:1#Director">
|
54
|
</property>
|
55
|
<property name="_location" class="ptolemy.kernel.util.Location" value="{285, 75}">
|
56
|
</property>
|
57
|
<property name="derivedFrom" class="org.kepler.moml.NamedObjIdReferralList" value="urn:lsid:kepler-project.org:director:1:1">
|
58
|
</property>
|
59
|
</property>
|
60
|
<property name="_windowProperties" class="ptolemy.actor.gui.WindowPropertiesAttribute" value="{bounds={429, 92, 921, 618}, maximized=false}">
|
61
|
</property>
|
62
|
<property name="_vergilSize" class="ptolemy.actor.gui.SizeAttribute" value="[600, 459]">
|
63
|
</property>
|
64
|
<property name="_vergilZoomFactor" class="ptolemy.data.expr.ExpertParameter" value="1.0">
|
65
|
</property>
|
66
|
<property name="_vergilCenter" class="ptolemy.data.expr.ExpertParameter" value="{300.0, 229.5}">
|
67
|
</property>
|
68
|
<entity name="Ecogrid Writer" class="org.ecoinformatics.seek.ecogrid.EcogridWriter">
|
69
|
<property name="metadataDestination" class="ptolemy.data.expr.StringParameter" value="http://ecogrid.ecoinformatics.org/knb/services/PutService">
|
70
|
</property>
|
71
|
<property name="authenticationURL" class="ptolemy.data.expr.StringParameter" value="http://ecogrid.ecoinformatics.org/knb/services/AuthenticationService">
|
72
|
</property>
|
73
|
<property name="userName" class="ptolemy.data.expr.StringParameter" value="uid=kepler,o=unaffiliated,dc=ecoinformatics,dc=org">
|
74
|
</property>
|
75
|
<property name="passWord" class="ptolemy.data.expr.StringParameter" value="kepler">
|
76
|
</property>
|
77
|
<property name="KeplerDocumentation" class="ptolemy.vergil.basic.KeplerDocumentationAttribute">
|
78
|
<property name="description" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
79
|
<property name="author" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>tao</configure></property>
|
80
|
<property name="version" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
81
|
<property name="userLevelDocumentation" class="ptolemy.kernel.util.ConfigurableAttribute"><configure><p> The EcogridWriter actor writes a data file and the EML metadata describing that data file to a remote EcoGrid repositiory. Identifiers for the data and metadata are created and these IDs are sent to the output ports. These IDs might be used for future access to the data and metadata files. Note also that the ID of the data file is inserted into the metadata file as a reference (i.e., a pointer from the metadata to the data).</p> <p>The EcoGrid is a distributed network providing scientists access to ecological, biodiversity, and environmental data and analytic resources. The EcoGrid can be used to store ecological data, or to model or analyze it via remote EcoGrid services.</p> <p>Ecological Metadata Language (EML) is a standard set of terms and definitions used to describe ecological data. For example, EML metadata might contain infomation about a data set's units of measurement, date of collection, location, etc.</p> </configure></property>
|
82
|
<property name="port:metadataDocid" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>An output port that broadcasts the metadata doc ID, which is generated by the actor for future reference.</configure></property>
|
83
|
<property name="port:dataDocid" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>An output port that broadcasts the data file ID, which is generated by the actor for future reference.</configure></property>
|
84
|
<property name="port:metadata" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>An input port that accepts a string of metadata describing the data file.</configure></property>
|
85
|
<property name="port:dataFileNamePort" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>An input port that accepts the file name and path of the local data file to write to the EcoGrid service.</configure></property>
|
86
|
<property name="prop:passWord" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Authentication password.</configure></property>
|
87
|
<property name="prop:authenticationURL" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The URL of the EcoGrid service for authenticating the user (e.g., http://ecogrid.ecoinformatics.org/knb/services/AuthenticationService)</configure></property>
|
88
|
<property name="prop:metadataDestination" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The URL of the EcoGrid service for receiving metadata and data (e.g., http://ecogrid.ecoinformatics.org/knb/services/PutService)</configure></property>
|
89
|
<property name="prop:userName" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Authentication username.</configure></property>
|
90
|
</property> <property name="entityId" class="org.kepler.moml.NamedObjId" value="urn:lsid:gamma.msi.ucsb.edu/OpenAuth/:7878:193:3">
|
91
|
</property>
|
92
|
<property name="class" class="ptolemy.kernel.util.StringAttribute" value="org.ecoinformatics.seek.ecogrid.EcogridWriter">
|
93
|
<property name="id" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:class:2002:1">
|
94
|
</property>
|
95
|
</property>
|
96
|
<property name="semanticType00" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:1:1#WriterOutputActor">
|
97
|
</property>
|
98
|
<property name="semanticType11" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:2:1#RemoteOutput">
|
99
|
</property>
|
100
|
<property name="_location" class="ptolemy.kernel.util.Location" value="{350, 195}">
|
101
|
</property>
|
102
|
<property name="derivedFrom" class="org.kepler.moml.NamedObjIdReferralList" value="urn:lsid:kepler-project.org:actor:466:1">
|
103
|
</property>
|
104
|
</entity>
|
105
|
<entity name="Metadata Source" class="util.MetadataSource">
|
106
|
<property name="XML Metadata" class="ptolemy.kernel.util.StringAttribute" value="<?xml version="1.0"?> <eml:eml packageId="asdf.4.1" system="knb" xmlns:eml="eml://ecoinformatics.org/eml-2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="eml://ecoinformatics.org/eml-2.0.0 eml.xsd"> <dataset> <title>Minimal Package with Data</title> <creator> <individualName><surName>Higgins</surName></individualName></creator> <abstract><para>This is an abstract of the package</para></abstract> <contact><individualName><surName>Higgins</surName></individualName></contact> <access authSystem="knb" order="denyFirst"><allow><principal>public</principal><permission>read</permission></allow></access> <dataTable id="1117749528859"> <entityName>TestTable</entityName> <physical><objectName>~deleteme28552.tmp</objectName> <dataFormat> <textFormat><attributeOrientation>column</attributeOrientation> <simpleDelimited><fieldDelimiter>#x09</fieldDelimiter> </simpleDelimited> </textFormat> </dataFormat> <distribution><online><url>ecogrid://knb/asdf.3.1</url></online></distribution> </physical> <attributeList><attribute id="1117749528890"><attributeName>Atribute</attributeName> <attributeDefinition>Attibute definition</attributeDefinition> <measurementScale><ratio><unit><standardUnit>number</standardUnit> </unit> <precision>1</precision> <numericDomain><numberType>real</numberType> </numericDomain> </ratio> </measurementScale> </attribute> </attributeList> </dataTable> </dataset></eml:eml>">
|
107
|
<property name="XML Metadata" class="ptolemy.actor.gui.style.TextStyle">
|
108
|
<property name="height" class="ptolemy.data.expr.Parameter" value="10">
|
109
|
</property>
|
110
|
<property name="width" class="ptolemy.data.expr.Parameter" value="30">
|
111
|
</property>
|
112
|
</property>
|
113
|
</property>
|
114
|
<property name="KeplerDocumentation" class="ptolemy.vergil.basic.KeplerDocumentationAttribute">
|
115
|
<property name="description" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
116
|
<property name="author" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Dan Higgins</configure></property>
|
117
|
<property name="version" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>1.0</configure></property>
|
118
|
<property name="userLevelDocumentation" class="ptolemy.kernel.util.ConfigurableAttribute"><configure><p>This actor acts as a simple 'Metadata' source for a datafile. It purpose is to feed metadata to an ecogrid writer for submission to the Ecogrid. Metadata (e.g. EML) is entered as a string along with the name of a datafile that the metadata characterizes. There are 2 optional input ports that can be used to input strings that replace the substings '_PARAM1_' and '_PARAM2' in the metadata. This allows things like package title or id to be dynamically changed in a workflow.</p></configure></property>
|
119
|
<property name="port:parameter1In" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>First parameter passed to input. The string '_PARAM1_' in the metadata will be replaced by this value if there is a token on this port.</configure></property>
|
120
|
<property name="port:parameter2In" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Second parameter passed to input. The string '_PARAM2_' in the metadata will be replaced by this value if there is a token on this port.</configure></property>
|
121
|
<property name="port:dataFilenameIn" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>An input port that accepts the file name of the datafile described by the metadata.</configure></property>
|
122
|
<property name="port:metadataOut" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Supplies string metadata to output port</configure></property>
|
123
|
<property name="port:dataFilenameOut" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>An output port that supplies the file name of the datafile described by the metadata.</configure></property>
|
124
|
</property> <property name="entityId" class="org.kepler.moml.NamedObjId" value="urn:lsid:kepler-project.org:actor:505:1">
|
125
|
</property>
|
126
|
<property name="class" class="ptolemy.kernel.util.StringAttribute" value="util.MetadataSource">
|
127
|
<property name="id" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:class:505:1">
|
128
|
</property>
|
129
|
</property>
|
130
|
<property name="semanticType00" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:1:1#FileSystemOutputActor">
|
131
|
</property>
|
132
|
<property name="semanticType11" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:2:1#LocalOutput">
|
133
|
</property>
|
134
|
<property name="_location" class="ptolemy.kernel.util.Location" value="{165.0, 185.0}">
|
135
|
</property>
|
136
|
</entity>
|
137
|
<entity name="String Constant" class="ptolemy.actor.lib.StringConst">
|
138
|
<property name="firingCountLimit" class="ptolemy.data.expr.Parameter" value="NONE">
|
139
|
</property>
|
140
|
<property name="NONE" class="ptolemy.data.expr.Parameter" value="0">
|
141
|
</property>
|
142
|
<property name="value" class="ptolemy.data.expr.Parameter" value="build.xml">
|
143
|
</property>
|
144
|
<property name="KeplerDocumentation" class="ptolemy.vergil.basic.KeplerDocumentationAttribute">
|
145
|
<property name="description" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
146
|
<property name="author" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Edward Lee</configure></property>
|
147
|
<property name="version" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
148
|
<property name="userLevelDocumentation" class="ptolemy.kernel.util.ConfigurableAttribute"><configure><p>The StringConstant actor outputs a string specified via the actor's value parameter.</p> <p>Specifying strings with the StringConstant actor is convenient, as the actor does not require that strings be surrounded by quotes. The actor is often used to specify file paths, which can be selected using the Browse button available in the actor's parameters.</p> <p>Specified string values can include references to parameters within scope (i.e., parameters defined at the same level of the hierarchy or higher). </p> <p>NOTE: If using a PN Director, the 'firingCountLimit' parameter is often set to a finite integer (e.g. '1') so that the workflow will terminate. </p> </configure></property>
|
149
|
<property name="port:output" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>An output port that broadcasts a string constant specified by the value parameter. </configure></property>
|
150
|
<property name="port:trigger" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>A multiport that has no declared type (in other words, the port can accept any data type: double, int, array, etc.) If the port is connected, the actor will not fire until the trigger port receives an input token. Connecting the port is optional, but useful when scheduling the actor to perform at a certain time. </configure></property>
|
151
|
<property name="prop:firingCountLimit" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The limit on the number of times the actor will fire. The default value is 'NONE', meaning there is no limit on the number of time the constant will be provided to the output port. Any integer can be provided as a value for this parameter.</configure></property>
|
152
|
<property name="prop:value" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The value produced by the actor. Specified strings do not require enclosing quotes. (To include a '$' sign in the string, enter '$$'.)</configure></property>
|
153
|
</property> <property name="entityId" class="org.kepler.moml.NamedObjId" value="urn:lsid:gamma.msi.ucsb.edu/OpenAuth/:7878:191:3">
|
154
|
</property>
|
155
|
<property name="class" class="ptolemy.kernel.util.StringAttribute" value="ptolemy.actor.lib.StringConst">
|
156
|
<property name="id" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:class:1052:1">
|
157
|
</property>
|
158
|
</property>
|
159
|
<property name="semanticType00" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:1:1#StringFunctionActor">
|
160
|
</property>
|
161
|
<property name="semanticType11" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:2:1#Constant">
|
162
|
</property>
|
163
|
<property name="_icon" class="ptolemy.vergil.icon.BoxedValueIcon">
|
164
|
<property name="attributeName" class="ptolemy.kernel.util.StringAttribute" value="value">
|
165
|
</property>
|
166
|
<property name="displayWidth" class="ptolemy.data.expr.Parameter" value="60">
|
167
|
</property>
|
168
|
</property>
|
169
|
<property name="_location" class="ptolemy.kernel.util.Location" value="{55, 105}">
|
170
|
</property>
|
171
|
<property name="derivedFrom" class="org.kepler.moml.NamedObjIdReferralList" value="urn:lsid:kepler-project.org:actor:204:1">
|
172
|
</property>
|
173
|
</entity>
|
174
|
<entity name="String Constant2" class="ptolemy.actor.lib.StringConst">
|
175
|
<property name="firingCountLimit" class="ptolemy.data.expr.Parameter" value="NONE">
|
176
|
</property>
|
177
|
<property name="NONE" class="ptolemy.data.expr.Parameter" value="0">
|
178
|
</property>
|
179
|
<property name="value" class="ptolemy.data.expr.Parameter" value="test workflow">
|
180
|
</property>
|
181
|
<property name="KeplerDocumentation" class="ptolemy.vergil.basic.KeplerDocumentationAttribute">
|
182
|
<property name="description" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
183
|
<property name="author" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Edward Lee</configure></property>
|
184
|
<property name="version" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
185
|
<property name="userLevelDocumentation" class="ptolemy.kernel.util.ConfigurableAttribute"><configure><p>The StringConstant actor outputs a string specified via the actor's value parameter.</p> <p>Specifying strings with the StringConstant actor is convenient, as the actor does not require that strings be surrounded by quotes. The actor is often used to specify file paths, which can be selected using the Browse button available in the actor's parameters.</p> <p>Specified string values can include references to parameters within scope (i.e., parameters defined at the same level of the hierarchy or higher). </p> <p>NOTE: If using a PN Director, the 'firingCountLimit' parameter is often set to a finite integer (e.g. '1') so that the workflow will terminate. </p> </configure></property>
|
186
|
<property name="port:output" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>An output port that broadcasts a string constant specified by the value parameter. </configure></property>
|
187
|
<property name="port:trigger" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>A multiport that has no declared type (in other words, the port can accept any data type: double, int, array, etc.) If the port is connected, the actor will not fire until the trigger port receives an input token. Connecting the port is optional, but useful when scheduling the actor to perform at a certain time. </configure></property>
|
188
|
<property name="prop:firingCountLimit" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The limit on the number of times the actor will fire. The default value is 'NONE', meaning there is no limit on the number of time the constant will be provided to the output port. Any integer can be provided as a value for this parameter.</configure></property>
|
189
|
<property name="prop:value" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The value produced by the actor. Specified strings do not require enclosing quotes. (To include a '$' sign in the string, enter '$$'.)</configure></property>
|
190
|
</property> <property name="entityId" class="org.kepler.moml.NamedObjId" value="urn:lsid:gamma.msi.ucsb.edu/OpenAuth/:7878:191:2">
|
191
|
</property>
|
192
|
<property name="class" class="ptolemy.kernel.util.StringAttribute" value="ptolemy.actor.lib.StringConst">
|
193
|
<property name="id" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:class:1052:1">
|
194
|
</property>
|
195
|
</property>
|
196
|
<property name="semanticType00" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:1:1#StringFunctionActor">
|
197
|
</property>
|
198
|
<property name="semanticType11" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:2:1#Constant">
|
199
|
</property>
|
200
|
<property name="_icon" class="ptolemy.vergil.icon.BoxedValueIcon">
|
201
|
<property name="attributeName" class="ptolemy.kernel.util.StringAttribute" value="value">
|
202
|
</property>
|
203
|
<property name="displayWidth" class="ptolemy.data.expr.Parameter" value="60">
|
204
|
</property>
|
205
|
</property>
|
206
|
<property name="_location" class="ptolemy.kernel.util.Location" value="[25.0, 285.0]">
|
207
|
</property>
|
208
|
<property name="derivedFrom" class="org.kepler.moml.NamedObjIdReferralList" value="urn:lsid:kepler-project.org:actor:204:1">
|
209
|
</property>
|
210
|
</entity>
|
211
|
<entity name="Display" class="ptolemy.actor.lib.gui.Display">
|
212
|
<property name="_windowProperties" class="ptolemy.actor.gui.WindowPropertiesAttribute" value="{bounds={71, 378, 342, 243}, maximized=false}">
|
213
|
</property>
|
214
|
<property name="_paneSize" class="ptolemy.actor.gui.SizeAttribute" value="[326, 186]">
|
215
|
</property>
|
216
|
<property name="rowsDisplayed" class="ptolemy.data.expr.Parameter" value="10">
|
217
|
</property>
|
218
|
<property name="columnsDisplayed" class="ptolemy.data.expr.Parameter" value="40">
|
219
|
</property>
|
220
|
<property name="suppressBlankLines" class="ptolemy.data.expr.Parameter" value="false">
|
221
|
</property>
|
222
|
<property name="title" class="ptolemy.data.expr.StringParameter" value="">
|
223
|
</property>
|
224
|
<property name="KeplerDocumentation" class="ptolemy.vergil.basic.KeplerDocumentationAttribute">
|
225
|
<property name="description" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
226
|
<property name="author" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Yuhong Xiong, Edward A. Lee</configure></property>
|
227
|
<property name="version" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
228
|
<property name="userLevelDocumentation" class="ptolemy.kernel.util.ConfigurableAttribute"><configure><p>The Display actor reads tokens of any type via its input multiport, and displays each token on a separate line in a text display window.</p> <p>Specify the size of the text display window with the rowsDisplayed and columnsDisplayed parameters. Simply resizing the window onscreen does not persistently change the size when the workflow is saved, closed, and then re-opened. </p> <p>If the input is a string token, then the actor strips the surrounding quotation marks before displaying the value.</p> <p>Select the suppressBlankLines parameter to specify that the actor not add blank lines to the display. By default, the actor will add blank lines.</p> <p>Note: this actor can consume large amounts of memory. It is not advisable to use it to display large output streams.</p></configure></property>
|
229
|
<property name="port:input" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>A multiport that accepts tokens of any type.</configure></property>
|
230
|
<property name="prop:suppressBlankLines" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Specify whether the actor should display blank lines (the default) or suppress them.</configure></property>
|
231
|
<property name="prop:rowsDisplayed" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The vertical size of the display, in rows. The value is an integer that defaults to 10.</configure></property>
|
232
|
<property name="prop:columnsDisplayed" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The horizontal size of the display, in columns. The value is an integer that defaults to 40.</configure></property>
|
233
|
<property name="prop:title" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The title of the text display window. If specified, the value will appear in the title bar of the text display window.</configure></property>
|
234
|
</property> <property name="entityId" class="org.kepler.moml.NamedObjId" value="urn:lsid:kepler-project.org:actor:7:1">
|
235
|
</property>
|
236
|
<property name="class" class="ptolemy.kernel.util.StringAttribute" value="ptolemy.actor.lib.gui.Display">
|
237
|
<property name="id" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:class:883:1">
|
238
|
</property>
|
239
|
</property>
|
240
|
<property name="semanticType00" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:1:1#TextualOutputActor">
|
241
|
</property>
|
242
|
<property name="semanticType11" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:2:1#TextualOutput">
|
243
|
</property>
|
244
|
<property name="_location" class="ptolemy.kernel.util.Location" value="{470.0, 140.0}">
|
245
|
</property>
|
246
|
</entity>
|
247
|
<entity name="Display2" class="ptolemy.actor.lib.gui.Display">
|
248
|
<property name="_windowProperties" class="ptolemy.actor.gui.WindowPropertiesAttribute" value="{bounds={831, 469, 342, 243}, maximized=false}">
|
249
|
</property>
|
250
|
<property name="_paneSize" class="ptolemy.actor.gui.SizeAttribute" value="[326, 186]">
|
251
|
</property>
|
252
|
<property name="rowsDisplayed" class="ptolemy.data.expr.Parameter" value="10">
|
253
|
</property>
|
254
|
<property name="columnsDisplayed" class="ptolemy.data.expr.Parameter" value="40">
|
255
|
</property>
|
256
|
<property name="suppressBlankLines" class="ptolemy.data.expr.Parameter" value="false">
|
257
|
</property>
|
258
|
<property name="title" class="ptolemy.data.expr.StringParameter" value="">
|
259
|
</property>
|
260
|
<property name="KeplerDocumentation" class="ptolemy.vergil.basic.KeplerDocumentationAttribute">
|
261
|
<property name="description" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
262
|
<property name="author" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Yuhong Xiong, Edward A. Lee</configure></property>
|
263
|
<property name="version" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
264
|
<property name="userLevelDocumentation" class="ptolemy.kernel.util.ConfigurableAttribute"><configure><p>The Display actor reads tokens of any type via its input multiport, and displays each token on a separate line in a text display window.</p> <p>Specify the size of the text display window with the rowsDisplayed and columnsDisplayed parameters. Simply resizing the window onscreen does not persistently change the size when the workflow is saved, closed, and then re-opened. </p> <p>If the input is a string token, then the actor strips the surrounding quotation marks before displaying the value.</p> <p>Select the suppressBlankLines parameter to specify that the actor not add blank lines to the display. By default, the actor will add blank lines.</p> <p>Note: this actor can consume large amounts of memory. It is not advisable to use it to display large output streams.</p></configure></property>
|
265
|
<property name="port:input" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>A multiport that accepts tokens of any type.</configure></property>
|
266
|
<property name="prop:suppressBlankLines" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Specify whether the actor should display blank lines (the default) or suppress them.</configure></property>
|
267
|
<property name="prop:rowsDisplayed" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The vertical size of the display, in rows. The value is an integer that defaults to 10.</configure></property>
|
268
|
<property name="prop:columnsDisplayed" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The horizontal size of the display, in columns. The value is an integer that defaults to 40.</configure></property>
|
269
|
<property name="prop:title" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The title of the text display window. If specified, the value will appear in the title bar of the text display window.</configure></property>
|
270
|
</property> <property name="entityId" class="org.kepler.moml.NamedObjId" value="urn:lsid:kepler-project.org:actor:7:1">
|
271
|
</property>
|
272
|
<property name="class" class="ptolemy.kernel.util.StringAttribute" value="ptolemy.actor.lib.gui.Display">
|
273
|
<property name="id" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:class:883:1">
|
274
|
</property>
|
275
|
</property>
|
276
|
<property name="semanticType00" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:1:1#TextualOutputActor">
|
277
|
</property>
|
278
|
<property name="semanticType11" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:2:1#TextualOutput">
|
279
|
</property>
|
280
|
<property name="_location" class="ptolemy.kernel.util.Location" value="[475.0, 275.0]">
|
281
|
</property>
|
282
|
</entity>
|
283
|
<relation name="relation" class="ptolemy.actor.TypedIORelation">
|
284
|
</relation>
|
285
|
<relation name="relation2" class="ptolemy.actor.TypedIORelation">
|
286
|
</relation>
|
287
|
<relation name="relation3" class="ptolemy.actor.TypedIORelation">
|
288
|
</relation>
|
289
|
<relation name="relation4" class="ptolemy.actor.TypedIORelation">
|
290
|
</relation>
|
291
|
<relation name="relation5" class="ptolemy.actor.TypedIORelation">
|
292
|
</relation>
|
293
|
<relation name="relation6" class="ptolemy.actor.TypedIORelation">
|
294
|
</relation>
|
295
|
<link port="Ecogrid Writer.metadata" relation="relation3"/>
|
296
|
<link port="Ecogrid Writer.dataFileNamePort" relation="relation4"/>
|
297
|
<link port="Ecogrid Writer.metadataDocid" relation="relation5"/>
|
298
|
<link port="Ecogrid Writer.dataDocid" relation="relation6"/>
|
299
|
<link port="Metadata Source.dataFilenameIn" relation="relation"/>
|
300
|
<link port="Metadata Source.parameter1In" relation="relation2"/>
|
301
|
<link port="Metadata Source.metadataOut" relation="relation3"/>
|
302
|
<link port="Metadata Source.dataFilenameOut" relation="relation4"/>
|
303
|
<link port="String Constant.output" relation="relation"/>
|
304
|
<link port="String Constant2.output" relation="relation2"/>
|
305
|
<link port="Display.input" relation="relation5"/>
|
306
|
<link port="Display2.input" relation="relation6"/>
|
307
|
</entity>
|