annotate flys-artifacts/doc/conf/artifacts/winfo.xml @ 329:0b2358bc716d

Discharge table: Added static method getWForQ() to interpolate a w value for a given q value based on a given discharge table. flys-artifacts/trunk@1727 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 19 Apr 2011 11:05:27 +0000
parents f44b11cc23b6
children 37b320bb292b
rev   line source
105
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
2 <artifact name="winfo">
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
3 <states>
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
4
127
21d791e21aca Introduced a state to select the calculation mode.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 113
diff changeset
5 <state id="state.winfo.river" description="state.winfo.river" state="de.intevation.flys.artifacts.states.RiverSelect">
113
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 109
diff changeset
6 <data name="river" type="String" />
105
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
7 </state>
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
8
106
5864c41219db Initializes a TransitionEngine storing all transitions for each artifact at the application start.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 105
diff changeset
9 <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
127
21d791e21aca Introduced a state to select the calculation mode.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 113
diff changeset
10 <from state="state.winfo.river"/>
21d791e21aca Introduced a state to select the calculation mode.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 113
diff changeset
11 <to state="state.winfo.calculation_mode"/>
105
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
12 </transition>
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
13
127
21d791e21aca Introduced a state to select the calculation mode.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 113
diff changeset
14 <state id="state.winfo.calculation_mode" description="state.winfo.calculation_mode" state="de.intevation.flys.artifacts.states.CalculationSelect">
21d791e21aca Introduced a state to select the calculation mode.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 113
diff changeset
15 <data name="calculation_mode" type="String" />
105
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
16 </state>
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
17
138
38b60ebc71b5 Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 127
diff changeset
18 <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
38b60ebc71b5 Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 127
diff changeset
19 <from state="state.winfo.calculation_mode"/>
38b60ebc71b5 Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 127
diff changeset
20 <to state="state.winfo.location_distance"/>
38b60ebc71b5 Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 127
diff changeset
21 </transition>
38b60ebc71b5 Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 127
diff changeset
22
38b60ebc71b5 Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 127
diff changeset
23 <state id="state.winfo.location_distance" description="state.winfo.location_distance" state="de.intevation.flys.artifacts.states.LocationDistanceSelect">
38b60ebc71b5 Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 127
diff changeset
24 <data name="ld_from" type="Double" />
38b60ebc71b5 Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 127
diff changeset
25 <data name="ld_to" type="Double" />
38b60ebc71b5 Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 127
diff changeset
26 <data name="ld_step" type="Double" />
143
8735d1a9af4c The location_distance state of the WINFO parameterization has an output mode 'discharge_table' now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 138
diff changeset
27
8735d1a9af4c The location_distance state of the WINFO parameterization has an output mode 'discharge_table' now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 138
diff changeset
28 <outputmodes>
292
f44b11cc23b6 Enhanced the output mode for discharge curves with three facets.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 159
diff changeset
29 <outputmode name="discharge_curve" description="output.discharge_curve" mime-type="image/png">
f44b11cc23b6 Enhanced the output mode for discharge curves with three facets.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 159
diff changeset
30 <facets>
f44b11cc23b6 Enhanced the output mode for discharge curves with three facets.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 159
diff changeset
31 <facet name="discharge_curve.curve" description="facet.discharge_curve.curve"/>
f44b11cc23b6 Enhanced the output mode for discharge curves with three facets.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 159
diff changeset
32 <facet name="discharge_curve.w" description="facet.discharge_curve.w"/>
f44b11cc23b6 Enhanced the output mode for discharge curves with three facets.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 159
diff changeset
33 <facet name="discharge_curve.q" description="facet.discharge_curve.q"/>
f44b11cc23b6 Enhanced the output mode for discharge curves with three facets.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 159
diff changeset
34 </facets>
f44b11cc23b6 Enhanced the output mode for discharge curves with three facets.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 159
diff changeset
35 </outputmode>
143
8735d1a9af4c The location_distance state of the WINFO parameterization has an output mode 'discharge_table' now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 138
diff changeset
36 </outputmodes>
138
38b60ebc71b5 Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 127
diff changeset
37 </state>
38b60ebc71b5 Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 127
diff changeset
38
38b60ebc71b5 Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 127
diff changeset
39 <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
38b60ebc71b5 Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 127
diff changeset
40 <from state="state.winfo.location_distance"/>
38b60ebc71b5 Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 127
diff changeset
41 <to state="state.winfo.wq"/>
38b60ebc71b5 Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 127
diff changeset
42 </transition>
38b60ebc71b5 Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 127
diff changeset
43
38b60ebc71b5 Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 127
diff changeset
44 <state id="state.winfo.wq" description="state.winfo.wq" state="de.intevation.flys.artifacts.states.WQSelect">
38b60ebc71b5 Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 127
diff changeset
45 <data name="wq_mode" type="String" />
38b60ebc71b5 Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 127
diff changeset
46 <data name="wq_from" type="Double" />
38b60ebc71b5 Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 127
diff changeset
47 <data name="wq_to" type="Double" />
38b60ebc71b5 Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 127
diff changeset
48 <data name="wq_step" type="Double" />
38b60ebc71b5 Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 127
diff changeset
49 </state>
38b60ebc71b5 Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 127
diff changeset
50
38b60ebc71b5 Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 127
diff changeset
51 <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
38b60ebc71b5 Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 127
diff changeset
52 <from state="state.winfo.wq"/>
38b60ebc71b5 Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 127
diff changeset
53 <to state="state.winfo.calculation"/>
38b60ebc71b5 Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 127
diff changeset
54 </transition>
38b60ebc71b5 Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 127
diff changeset
55
143
8735d1a9af4c The location_distance state of the WINFO parameterization has an output mode 'discharge_table' now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 138
diff changeset
56 <state id="state.winfo.calculation" description="state.winfo.wq" state="de.intevation.flys.artifacts.states.WINFOOutputState">
138
38b60ebc71b5 Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 127
diff changeset
57 </state>
38b60ebc71b5 Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 127
diff changeset
58
105
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
59 </states>
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
60 </artifact>

http://dive4elements.wald.intevation.org