diff artifacts/doc/conf/meta-data.xml @ 9156:568961ff709a

Added definitions for the S-Info collision workflow and output
author mschaefer
date Tue, 19 Jun 2018 14:16:45 +0200
parents 7879c2ca8bd3
children 1614cb14308f
line wrap: on
line diff
--- a/artifacts/doc/conf/meta-data.xml	Tue Jun 19 14:15:32 2018 +0200
+++ b/artifacts/doc/conf/meta-data.xml	Tue Jun 19 14:16:45 2018 +0200
@@ -133,6 +133,9 @@
                   <dc:when test="$out = 'sinfo_tkk'">
                     <dc:call-macro name="annotations" />
                   </dc:when>
+                  <dc:when test="$out = 'sinfo_collision'">
+                    <dc:call-macro name="annotations" />
+                  </dc:when>
                 </dc:choose>
               </dc:iterate>
             </dc:when>
@@ -297,6 +300,9 @@
                   <dc:when test="$out = 'sinfo_tkk'">
                     <dc:call-macro name="longitudinal-section-prototype" />
                   </dc:when>
+                  <dc:when test="$out = 'sinfo_collision'">
+                    <dc:call-macro name="longitudinal-section-prototype" />
+                  </dc:when>
                 </dc:choose>
               </dc:iterate>
             </dc:otherwise>
@@ -1646,6 +1652,7 @@
       <dc:call-macro name="sinfo_flowdepths_minmax" />
       <dc:call-macro name="sinfo_flow_depth_development" />
       <dc:call-macro name="sinfo_tkh" />
+      <dc:call-macro name="sinfo_collision" />
 
       <dc:comment> WINFO/DIFF/FIX </dc:comment>
       <dc:call-macro name="longitudinal" />
@@ -3388,6 +3395,25 @@
       </dc:filter>
     </dc:macro>
 
+    <dc:macro name="sinfo_collision">
+      <dc:filter expr="$a_state = 'state.sinfo.collision'">
+        <dc:if test="dc:has-result()">
+          <sinfo_collision>
+            <dc:for-each>
+              <dc:element name="${facet_name}">
+                <dc:attribute name="factory" value="sinfo" />
+                <dc:attribute name="target_out" value="${out}" />
+                <dc:attribute name="description" value="${facet_description}" />
+                <dc:attribute name="ids" value="${facet_num}" />
+                <dc:attribute name="artifact-id" value="${a_gid}" />
+                <dc:attribute name="out" value="${out_name}" />
+              </dc:element>
+            </dc:for-each>
+          </sinfo_collision>
+        </dc:if>
+      </dc:filter>
+    </dc:macro>
+
     <!-- channel size imported from CSV-files for S-INFO -->
     <dc:macro name="sinfo_predefined_channel">
       <dc:context>

http://dive4elements.wald.intevation.org