Mercurial > dive4elements > river
changeset 7267:171c8b0cffca
meta-data.xml: Add more entries to discharge datacage ('user-part').
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 09 Oct 2013 11:20:06 +0200 |
parents | f2db01a3e434 |
children | b0048b785a8a |
files | artifacts/doc/conf/meta-data.xml |
diffstat | 1 files changed, 42 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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()">