diff artifacts/doc/conf/meta-data.xml @ 7264:36fa4c752009

meta-data.xml: Add a macro to load previous discharge calculations.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 09 Oct 2013 09:57:49 +0200
parents a9bd4a23a852
children 1446bdb372c9
line wrap: on
line diff
--- a/artifacts/doc/conf/meta-data.xml	Tue Oct 08 15:24:33 2013 +0200
+++ b/artifacts/doc/conf/meta-data.xml	Wed Oct 09 09:57:49 2013 +0200
@@ -710,6 +710,25 @@
       </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()">
+          <computed_discharge_curves>
+            <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="computed_discharge_curve"/>
+              </dc:element>
+            </dc:for-each>
+          </computed_discharge_curves>
+        </dc:if>
+      </dc:filter>
+    </dc:macro>
+
     <dc:macro name="duration-curve">
       <dc:filter expr="$facet_name = 'duration_curve.q' or $facet_name = 'duration_curve.w'">
         <dc:if test="dc:has-result()">

http://dive4elements.wald.intevation.org