comparison artifacts/doc/conf/meta-data.xml @ 6284:f50d8cee3b64

Add date format for artifact creation time
author Andre Heinecke <aheinecke@intevation.de>
date Wed, 12 Jun 2013 10:34:43 +0200
parents 5f822f311f89
children bc09f8fff694
comparison
equal deleted inserted replaced
6283:e81e9dcc81b4 6284:f50d8cee3b64
456 <dc:macro name="flood-map"> 456 <dc:macro name="flood-map">
457 <dc:filter expr="$facet_name = 'floodmap.wsplgen'"> 457 <dc:filter expr="$facet_name = 'floodmap.wsplgen'">
458 <dc:if test="dc:has-result()"> 458 <dc:if test="dc:has-result()">
459 <floodmap> 459 <floodmap>
460 <dc:for-each> 460 <dc:for-each>
461 <dc:variable name="combined_desc" expr="concat($facet_description, ' ', $a_creation, ' ', $collection_name)"/> 461 <dc:variable name="combined_desc" expr="concat($facet_description, ' ', dc:date-format('dd.MM.yyyy - H:m:s', $a_creation), ' ', $collection_name)"/>
462 <dc:element name="${facet_name}"> 462 <dc:element name="${facet_name}">
463 <dc:attribute name="description" value="${combined_desc}"/> 463 <dc:attribute name="description" value="${combined_desc}"/>
464 <dc:attribute name="factory" value="winfo"/> 464 <dc:attribute name="factory" value="winfo"/>
465 <dc:attribute name="target_out" value="${out}"/> 465 <dc:attribute name="target_out" value="${out}"/>
466 <dc:attribute name="artifact-id" value="${a_id}"/> 466 <dc:attribute name="artifact-id" value="${a_id}"/>
475 475
476 <dc:macro name="waterlevels"> 476 <dc:macro name="waterlevels">
477 <dc:filter expr="$out_name = 'cross_section'"> 477 <dc:filter expr="$out_name = 'cross_section'">
478 <dc:if test="dc:has-result()"> 478 <dc:if test="dc:has-result()">
479 <waterlevels> 479 <waterlevels>
480 <dc:group expr="concat($river, ' ', $a_creation)"> 480 <dc:group expr="concat($river, ' ', dc:date-format('dd.MM.yyyy - H:m:s', $a_creation))">
481 <dc:comment>Aheinecke: Why is this grouping different from the rest?</dc:comment> 481 <dc:comment>Aheinecke: Why is this grouping different from the rest?</dc:comment>
482 <longitudinal_section_columns description="{dc:group-key()}"> 482 <longitudinal_section_columns description="{dc:group-key()}">
483 <dc:for-each> 483 <dc:for-each>
484 <dc:element name="${facet_name}"> 484 <dc:element name="${facet_name}">
485 <dc:attribute name="description" value="${facet_description}"/> 485 <dc:attribute name="description" value="${facet_description}"/>
499 499
500 <dc:macro name="longitudinal"> 500 <dc:macro name="longitudinal">
501 <dc:filter expr="$out_name = 'longitudinal_section'"> 501 <dc:filter expr="$out_name = 'longitudinal_section'">
502 <dc:if test="dc:has-result()"> 502 <dc:if test="dc:has-result()">
503 <waterlevels> 503 <waterlevels>
504 <dc:group expr="concat($river, ' ', $a_creation)"> 504 <dc:group expr="concat($river, ' ', dc:date-format('dd.MM.yyyy - H:m:s', $a_creation))">
505 <dc:comment>Aheinecke: Why is this grouping different from the rest?</dc:comment> 505 <dc:comment>Aheinecke: Why is this grouping different from the rest?</dc:comment>
506 <longitudinal_section_columns description="{dc:group-key()}"> 506 <longitudinal_section_columns description="{dc:group-key()}">
507 <dc:for-each> 507 <dc:for-each>
508 <dc:element name="${facet_name}"> 508 <dc:element name="${facet_name}">
509 <dc:attribute name="description" value="${facet_description}"/> 509 <dc:attribute name="description" value="${facet_description}"/>
527 starts-with($facet_name, 'fix_sector_average_ls') or 527 starts-with($facet_name, 'fix_sector_average_ls') or
528 starts-with($facet_name, 'fix_analysis_events_ls') or 528 starts-with($facet_name, 'fix_analysis_events_ls') or
529 starts-with($facet_name, 'fix_reference_events_ls'))"> 529 starts-with($facet_name, 'fix_reference_events_ls'))">
530 <dc:if test="dc:has-result()"> 530 <dc:if test="dc:has-result()">
531 <waterlevels> 531 <waterlevels>
532 <dc:group expr="concat($river, ' ', $a_creation, ' ', $collection_name)"> 532 <dc:group expr="concat($river, ' ', dc:date-format('dd.MM.yyyy - H:m:s', $a_creation), ' ', $collection_name)">
533 <waterlevels description="{dc:group-key()}"> 533 <waterlevels description="{dc:group-key()}">
534 <dc:for-each> 534 <dc:for-each>
535 <dc:element name="${facet_name}"> 535 <dc:element name="${facet_name}">
536 <dc:attribute name="description" value="${facet_description}"/> 536 <dc:attribute name="description" value="${facet_description}"/>
537 <dc:attribute name="ids" value="${facet_num}"/> 537 <dc:attribute name="ids" value="${facet_num}"/>
555 $facet_name = 'fix_reference_events_dwt' or 555 $facet_name = 'fix_reference_events_dwt' or
556 starts-with($facet_name, 'fix_deviation_dwt') or 556 starts-with($facet_name, 'fix_deviation_dwt') or
557 starts-with($facet_name, 'fix_sector_average_dwt'))"> 557 starts-with($facet_name, 'fix_sector_average_dwt'))">
558 <dc:if test="dc:has-result()"> 558 <dc:if test="dc:has-result()">
559 <waterlevels> 559 <waterlevels>
560 <dc:group expr="concat($river, ' ', $a_creation, ' ', $collection_name)"> 560 <dc:group expr="concat($river, ' ', dc:date-format('dd.MM.yyyy - H:m:s', $a_creation), ' ', $collection_name)">
561 <waterlevels description="{dc:group-key()}"> 561 <waterlevels description="{dc:group-key()}">
562 <dc:for-each> 562 <dc:for-each>
563 <dc:element name="${facet_name}"> 563 <dc:element name="${facet_name}">
564 <dc:attribute name="description" value="${facet_description}"/> 564 <dc:attribute name="description" value="${facet_description}"/>
565 <dc:attribute name="ids" value="${facet_num}"/> 565 <dc:attribute name="ids" value="${facet_num}"/>
580 <dc:filter expr="$out_name = 'fix_deltawt_curve' and 580 <dc:filter expr="$out_name = 'fix_deltawt_curve' and
581 (starts-with($facet_name, 'fix_sector_average_dwt') or 581 (starts-with($facet_name, 'fix_sector_average_dwt') or
582 starts-with($facet_name, 'fix_deviation_dwt'))"> 582 starts-with($facet_name, 'fix_deviation_dwt'))">
583 <dc:if test="dc:has-result()"> 583 <dc:if test="dc:has-result()">
584 <waterlevels> 584 <waterlevels>
585 <dc:group expr="concat($river, ' ', $a_creation, ' ', $collection_name)"> 585 <dc:group expr="concat($river, ' ', dc:date-format('dd.MM.yyyy - H:m:s', $a_creation), ' ', $collection_name)">
586 <waterlevels description="{dc:group-key()}"> 586 <waterlevels description="{dc:group-key()}">
587 <dc:for-each> 587 <dc:for-each>
588 <dc:element name="${facet_name}"> 588 <dc:element name="${facet_name}">
589 <dc:attribute name="description" value="${facet_description}"/> 589 <dc:attribute name="description" value="${facet_description}"/>
590 <dc:attribute name="ids" value="${facet_num}"/> 590 <dc:attribute name="ids" value="${facet_num}"/>
603 603
604 <dc:macro name="fix-derivate-curve"> 604 <dc:macro name="fix-derivate-curve">
605 <dc:filter expr="$out_name = 'fix_derivate_curve' and $facet_name = 'fix_derivate_curve'"> 605 <dc:filter expr="$out_name = 'fix_derivate_curve' and $facet_name = 'fix_derivate_curve'">
606 <dc:if test="dc:has-result()"> 606 <dc:if test="dc:has-result()">
607 <waterlevels> 607 <waterlevels>
608 <dc:group expr="concat($river, ' ', $a_creation, ' ', $collection_name)"> 608 <dc:group expr="concat($river, ' ', dc:date-format('dd.MM.yyyy - H:m:s', $a_creation), ' ', $collection_name)">
609 <waterlevels description="{dc:group-key()}"> 609 <waterlevels description="{dc:group-key()}">
610 <dc:for-each> 610 <dc:for-each>
611 <dc:element name="${facet_name}"> 611 <dc:element name="${facet_name}">
612 <dc:attribute name="description" value="${facet_description}"/> 612 <dc:attribute name="description" value="${facet_description}"/>
613 <dc:attribute name="ids" value="${facet_num}"/> 613 <dc:attribute name="ids" value="${facet_num}"/>
630 starts-with($facet_name, 'fix_reference_events_wq') or 630 starts-with($facet_name, 'fix_reference_events_wq') or
631 starts-with($facet_name, 'fix_sector_average_wq') or 631 starts-with($facet_name, 'fix_sector_average_wq') or
632 $facet_name = 'fix_wq_curve')"> 632 $facet_name = 'fix_wq_curve')">
633 <dc:if test="dc:has-result()"> 633 <dc:if test="dc:has-result()">
634 <waterlevels> 634 <waterlevels>
635 <dc:group expr="concat($river, ' ', $a_creation, ' ', $collection_name)"> 635 <dc:group expr="concat($river, ' ', dc:date-format('dd.MM.yyyy - H:m:s', $a_creation), ' ', $collection_name)">
636 <waterlevels description="{dc:group-key()}"> 636 <waterlevels description="{dc:group-key()}">
637 <dc:for-each> 637 <dc:for-each>
638 <dc:element name="${facet_name}"> 638 <dc:element name="${facet_name}">
639 <dc:attribute name="description" value="${facet_description}"/> 639 <dc:attribute name="description" value="${facet_description}"/>
640 <dc:attribute name="ids" value="${facet_num}"/> 640 <dc:attribute name="ids" value="${facet_num}"/>
673 <dc:comment>TODO doesnt work nicely for fix/wq-diags. Aheinecke (27.5.2013): Why?</dc:comment> 673 <dc:comment>TODO doesnt work nicely for fix/wq-diags. Aheinecke (27.5.2013): Why?</dc:comment>
674 <dc:macro name="waterlevels-fix"> 674 <dc:macro name="waterlevels-fix">
675 <dc:filter expr="$out_name = 'longitudinal_section' and $facet_name = 'longitudinal_section.w'"> 675 <dc:filter expr="$out_name = 'longitudinal_section' and $facet_name = 'longitudinal_section.w'">
676 <dc:if test="dc:has-result()"> 676 <dc:if test="dc:has-result()">
677 <waterlevels> 677 <waterlevels>
678 <dc:group expr="concat($river, ' ', $a_creation, ' ', $collection_name)"> 678 <dc:group expr="concat($river, ' ', dc:date-format('dd.MM.yyyy - H:m:s', $a_creation), ' ', $collection_name)">
679 <waterlevels description="{dc:group-key()}"> 679 <waterlevels description="{dc:group-key()}">
680 <dc:for-each> 680 <dc:for-each>
681 <dc:variable name="combined_desc" expr="concat($facet_description, ' von KM ', 681 <dc:variable name="combined_desc" expr="concat($facet_description, ' von KM ',
682 $deffrom, ' bis KM ', $defto)"/> 682 $deffrom, ' bis KM ', $defto)"/>
683 <dc:element name="${facet_name}"> 683 <dc:element name="${facet_name}">
718 <dc:filter expr="$out_name = 'bed_longitudinal_section' and 718 <dc:filter expr="$out_name = 'bed_longitudinal_section' and
719 ($facet_name = 'bed_longitudinal_section.bed_diameter_toplayer' or 719 ($facet_name = 'bed_longitudinal_section.bed_diameter_toplayer' or
720 $facet_name = 'bed_longitudinal_section.bed_diameter_sublayer')"> 720 $facet_name = 'bed_longitudinal_section.bed_diameter_sublayer')">
721 <dc:if test="dc:has-result()"> 721 <dc:if test="dc:has-result()">
722 <bed_quality_bed> 722 <bed_quality_bed>
723 <dc:group expr="concat($river, ' ', $a_creation, ' ', $collection_name)"> 723 <dc:group expr="concat($river, ' ', dc:date-format('dd.MM.yyyy - H:m:s', $a_creation), ' ', $collection_name)">
724 <quality-bed description="{dc:group-key()}"> 724 <quality-bed description="{dc:group-key()}">
725 <dc:for-each> 725 <dc:for-each>
726 <dc:element name="${facet_name}"> 726 <dc:element name="${facet_name}">
727 <dc:attribute name="factory" value="minfo"/> 727 <dc:attribute name="factory" value="minfo"/>
728 <dc:attribute name="target_out" value="${out}"/> 728 <dc:attribute name="target_out" value="${out}"/>
742 <dc:macro name="bedquality-load"> 742 <dc:macro name="bedquality-load">
743 <dc:filter expr="$out_name = 'bed_longitudinal_section' and 743 <dc:filter expr="$out_name = 'bed_longitudinal_section' and
744 $facet_name = 'bed_longitudinal_section.bedload_diameter'"> 744 $facet_name = 'bed_longitudinal_section.bedload_diameter'">
745 <dc:if test="dc:has-result()"> 745 <dc:if test="dc:has-result()">
746 <bed_quality_load> 746 <bed_quality_load>
747 <dc:group expr="concat($river, ' ', $a_creation, ' ', $collection_name)"> 747 <dc:group expr="concat($river, ' ', dc:date-format('dd.MM.yyyy - H:m:s', $a_creation), ' ', $collection_name)">
748 <quality-load description="{dc:group-key()}"> 748 <quality-load description="{dc:group-key()}">
749 <dc:for-each> 749 <dc:for-each>
750 <dc:element name="${facet_name}"> 750 <dc:element name="${facet_name}">
751 <dc:attribute name="factory" value="minfo"/> 751 <dc:attribute name="factory" value="minfo"/>
752 <dc:attribute name="target_out" value="${out}"/> 752 <dc:attribute name="target_out" value="${out}"/>
767 <dc:filter expr="$out_name = 'bed_longitudinal_section' and 767 <dc:filter expr="$out_name = 'bed_longitudinal_section' and
768 ($facet_name = 'bed_longitudinal_section.sediment_density_toplayer' or 768 ($facet_name = 'bed_longitudinal_section.sediment_density_toplayer' or
769 $facet_name = 'bed_longitudinal_section.sediment_density_sublayer')"> 769 $facet_name = 'bed_longitudinal_section.sediment_density_sublayer')">
770 <dc:if test="dc:has-result()"> 770 <dc:if test="dc:has-result()">
771 <bed_quality_density> 771 <bed_quality_density>
772 <dc:group expr="concat($river, ' ', $a_creation, ' ', $collection_name)"> 772 <dc:group expr="concat($river, ' ', dc:date-format('dd.MM.yyyy - H:m:s', $a_creation), ' ', $collection_name)">
773 <density description="{dc:group-key()}"> 773 <density description="{dc:group-key()}">
774 <dc:for-each> 774 <dc:for-each>
775 <dc:element name="${facet_name}"> 775 <dc:element name="${facet_name}">
776 <dc:attribute name="factory" value="minfo"/> 776 <dc:attribute name="factory" value="minfo"/>
777 <dc:attribute name="target_out" value="${out}"/> 777 <dc:attribute name="target_out" value="${out}"/>
792 <dc:filter expr="$out_name = 'bed_longitudinal_section' and 792 <dc:filter expr="$out_name = 'bed_longitudinal_section' and
793 ($facet_name = 'bed_longitudinal_section.porosity_toplayer' or 793 ($facet_name = 'bed_longitudinal_section.porosity_toplayer' or
794 $facet_name = 'bed_longitudinal_section.porosity_sublayer')"> 794 $facet_name = 'bed_longitudinal_section.porosity_sublayer')">
795 <dc:if test="dc:has-result()"> 795 <dc:if test="dc:has-result()">
796 <bed_quality_porosity> 796 <bed_quality_porosity>
797 <dc:group expr="concat($river, ' ', $a_creation, ' ', $collection_name)"> 797 <dc:group expr="concat($river, ' ', dc:date-format('dd.MM.yyyy - H:m:s', $a_creation), ' ', $collection_name)">
798 <porosity description="{dc:group-key()}"> 798 <porosity description="{dc:group-key()}">
799 <dc:for-each> 799 <dc:for-each>
800 <dc:element name="${facet_name}"> 800 <dc:element name="${facet_name}">
801 <dc:attribute name="factory" value="minfo"/> 801 <dc:attribute name="factory" value="minfo"/>
802 <dc:attribute name="target_out" value="${out}"/> 802 <dc:attribute name="target_out" value="${out}"/>
819 $facet_name = 'flow_velocity.mainchannel' or 819 $facet_name = 'flow_velocity.mainchannel' or
820 $facet_name = 'flow_velocity.totalchannel.filtered' or 820 $facet_name = 'flow_velocity.totalchannel.filtered' or
821 $facet_name = 'flow_velocity.mainchannel.filtered')"> 821 $facet_name = 'flow_velocity.mainchannel.filtered')">
822 <dc:if test="dc:has-result()"> 822 <dc:if test="dc:has-result()">
823 <flow-velocity> 823 <flow-velocity>
824 <dc:group expr="concat($river, ' ', $a_creation, ' ', $collection_name)"> 824 <dc:group expr="concat($river, ' ', dc:date-format('dd.MM.yyyy - H:m:s', $a_creation), ' ', $collection_name)">
825 <flow description="{dc:group-key()}"> 825 <flow description="{dc:group-key()}">
826 <dc:for-each> 826 <dc:for-each>
827 <dc:element name="${facet_name}"> 827 <dc:element name="${facet_name}">
828 <dc:attribute name="factory" value="minfo"/> 828 <dc:attribute name="factory" value="minfo"/>
829 <dc:attribute name="target_out" value="${out}"/> 829 <dc:attribute name="target_out" value="${out}"/>
842 842
843 <dc:macro name="sediment-load"> 843 <dc:macro name="sediment-load">
844 <dc:filter expr="$out_name = 'sedimentload_ls' and starts-with($facet_name, 'sedimentload')"> 844 <dc:filter expr="$out_name = 'sedimentload_ls' and starts-with($facet_name, 'sedimentload')">
845 <dc:if test="dc:has-result()"> 845 <dc:if test="dc:has-result()">
846 <sediment-load> 846 <sediment-load>
847 <dc:group expr="concat($river, ' ', $a_creation, ' ', $collection_name)"> 847 <dc:group expr="concat($river, ' ', dc:date-format('dd.MM.yyyy - H:m:s', $a_creation), ' ', $collection_name)">
848 <load description="{dc:group-key()}"> 848 <load description="{dc:group-key()}">
849 <dc:for-each> 849 <dc:for-each>
850 <dc:element name="${facet_name}"> 850 <dc:element name="${facet_name}">
851 <dc:attribute name="factory" value="minfo"/> 851 <dc:attribute name="factory" value="minfo"/>
852 <dc:attribute name="target_out" value="${out}"/> 852 <dc:attribute name="target_out" value="${out}"/>
866 <dc:macro name="bedheight-differences"> 866 <dc:macro name="bedheight-differences">
867 <dc:filter expr="($out_name = 'bed_difference_year' or $out_name = 'bed_difference_epoch') and 867 <dc:filter expr="($out_name = 'bed_difference_year' or $out_name = 'bed_difference_epoch') and
868 (starts-with($facet_name, 'bedheight_difference.year') or starts-with($facet_name, 'bedheight_difference.epoch'))"> 868 (starts-with($facet_name, 'bedheight_difference.year') or starts-with($facet_name, 'bedheight_difference.epoch'))">
869 <dc:if test="dc:has-result()"> 869 <dc:if test="dc:has-result()">
870 <bedheight-differences> 870 <bedheight-differences>
871 <dc:group expr="concat($river, ' ', $a_creation, ' ', $collection_name)"> 871 <dc:group expr="concat($river, ' ', dc:date-format('dd.MM.yyyy - H:m:s', $a_creation), ' ', $collection_name)">
872 <difference description="{dc:group-key()}"> 872 <difference description="{dc:group-key()}">
873 <dc:for-each> 873 <dc:for-each>
874 <dc:element name="${facet_name}"> 874 <dc:element name="${facet_name}">
875 <dc:attribute name="factory" value="minfo"/> 875 <dc:attribute name="factory" value="minfo"/>
876 <dc:attribute name="target_out" value="${out}"/> 876 <dc:attribute name="target_out" value="${out}"/>
889 889
890 <dc:macro name="waterlevels-discharge"> 890 <dc:macro name="waterlevels-discharge">
891 <dc:filter expr="$out_name = 'discharge_longitudinal_section' and $facet_name = 'discharge_longitudinal_section.w"> 891 <dc:filter expr="$out_name = 'discharge_longitudinal_section' and $facet_name = 'discharge_longitudinal_section.w">
892 <dc:if test="dc:has-result()"> 892 <dc:if test="dc:has-result()">
893 <waterlevels-discharge> 893 <waterlevels-discharge>
894 <dc:group expr="concat($oid, ' ', $river, ' ', $a_id, ' ', $a_creation, ' ', $collection_name)"> 894 <dc:group expr="concat($oid, ' ', $river, ' ', $a_id, ' ', dc:date-format('dd.MM.yyyy - H:m:s', $a_creation), ' ', $collection_name)">
895 <discharge description="{dc:group-key()}"> 895 <discharge description="{dc:group-key()}">
896 <dc:for-each> 896 <dc:for-each>
897 <dc:element name="${facet_name}"> 897 <dc:element name="${facet_name}">
898 <dc:attribute name="factory" value="winfo"/> 898 <dc:attribute name="factory" value="winfo"/>
899 <dc:attribute name="target_out" value="${out}"/> 899 <dc:attribute name="target_out" value="${out}"/>

http://dive4elements.wald.intevation.org