[PATCH 2 of 2] meta-data.xml: Add more entries to discharge datacage ('user-part')

Wald Commits scm-commit at wald.intevation.org
Wed Oct 9 11:09:09 CEST 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1381310406 -7200
# Node ID 171c8b0cffca720556888d93ea0f3f866c0ce8ab
# Parent  f2db01a3e434bf462b0f31e7e3c1530c8dfb7b8f
meta-data.xml: Add more entries to discharge datacage ('user-part').

diff -r f2db01a3e434 -r 171c8b0cffca artifacts/doc/conf/meta-data.xml
--- a/artifacts/doc/conf/meta-data.xml	Wed Oct 09 10:03:00 2013 +0200
+++ b/artifacts/doc/conf/meta-data.xml	Wed Oct 09 11:20:06 2013 +0200
@@ -344,6 +344,9 @@
                     </dc:when>
                     <dc:when test="$out = 'computed_discharge_curve'">
                       <dc:call-macro name="computed-discharge-curve"/>
+                      <dc:call-macro name="fix-wq-curve"/>
+                      <dc:call-macro name="discharge-curve"/>
+                      <dc:call-macro name="extreme-wq-curve"/>
                     </dc:when>
                     <dc:when test="$out = 'fix_deltawt_curve'">
                       <dc:call-macro name="delta-wt"/>
@@ -701,6 +704,45 @@
       </dc:filter>
     </dc:macro>
 
+
+    <dc:macro name="discharge-curve">
+      <dc:filter expr="$facet_name = 'discharge_curve.curve'">
+        <dc:if test="dc:has-result()">
+          <discharge_curve>
+            <dc:for-each>
+              <dc:element name="${facet_name}">
+                <dc:attribute name="description" value="${facet_description}"/>
+                <dc:attribute name="factory" value="winfo"/>
+                <dc:attribute name="target_out" value="${out}"/>
+                <dc:attribute name="artifact-id" value="${a_gid}"/>
+                <dc:attribute name="ids" value="${a_gid}"/>
+                <dc:attribute name="out" value="discharge_curve"/>
+              </dc:element>
+            </dc:for-each>
+          </discharge_curves>
+        </dc:if>
+      </dc:filter>
+    </dc:macro>
+
+    <dc:macro name="extreme-wq-curve">
+      <dc:filter expr="$facet_name = 'extreme_wq_curve'">
+        <dc:if test="dc:has-result()">
+          <computed_discharge_curves>
+            <dc:for-each>
+              <dc:element name="${facet_name}">
+                <dc:attribute name="description" value="${facet_description}"/>
+                <dc:attribute name="factory" value="fixanalysis"/>
+                <dc:attribute name="target_out" value="${out}"/>
+                <dc:attribute name="artifact-id" value="${a_gid}"/>
+                <dc:attribute name="ids" value="${a_gid}"/>
+                <dc:attribute name="out" value="computed_discharge_curve"/>
+              </dc:element>
+            </dc:for-each>
+          </computed_discharge_curves>
+        </dc:if>
+      </dc:filter>
+    </dc:macro>
+
     <dc:macro name="computed-discharge-curve">
       <dc:filter expr="$facet_name = 'computed_discharge_curve.q'">
         <dc:if test="dc:has-result()">


More information about the Dive4elements-commits mailing list