Commit d1dfbda294b621f2a84c9648bb6625f13218a332
1 parent
83b9eef1
Exists in
master
and in
4 other branches
Merge constant & timestamp parameters from amdadev into amster
Showing
12 changed files
with
159 additions
and
0 deletions
Show diff stats
... | ... | @@ -0,0 +1,11 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<param xml:id="constant_mat_##SAMPLING##_##DIM1##_##DIM2##_##VALUE##_##TYPE##"> | |
3 | + <get> | |
4 | + <constant> | |
5 | + <param sampling='##SAMPLING##' type='##TYPE##' value="##VALUE##" dim1="##DIM1##" dim2="##DIM2##"/> | |
6 | + </constant> | |
7 | + </get> | |
8 | + <process/> | |
9 | + <output/> | |
10 | +</param> | |
11 | + | |
... | ... |
... | ... | @@ -0,0 +1,11 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<param xml:id="constant_scal_##SAMPLING##_##VALUE##_##TYPE##"> | |
3 | + <get> | |
4 | + <constant> | |
5 | + <param sampling='##SAMPLING##' type='##TYPE##' value="##VALUE##"/> | |
6 | + </constant> | |
7 | + </get> | |
8 | + <process/> | |
9 | + <output/> | |
10 | +</param> | |
11 | + | |
... | ... |
... | ... | @@ -0,0 +1,11 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<param xml:id="constant_vec_##SAMPLING##_##DIM1##_##VALUE##_##TYPE##"> | |
3 | + <get> | |
4 | + <constant> | |
5 | + <param sampling='##SAMPLING##' type='##TYPE##' value="##VALUE##" dim1="##DIM1##"/> | |
6 | + </constant> | |
7 | + </get> | |
8 | + <process/> | |
9 | + <output/> | |
10 | +</param> | |
11 | + | |
... | ... |
... | ... | @@ -0,0 +1,24 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<param xml:id="timestamp_##SAMPLING##"> | |
3 | + <info> | |
4 | + <name>TimeStamp</name> | |
5 | + <short_name>TimeStamp</short_name> | |
6 | + <components/> | |
7 | + <units>s</units> | |
8 | + <coordinates_system/> | |
9 | + <tensor_order>0</tensor_order> | |
10 | + <si_conversion/> | |
11 | + <fill_value/> | |
12 | + <ucd/> | |
13 | + <dataset_id/> | |
14 | + </info> | |
15 | + <gap_threshold>5</gap_threshold> | |
16 | + <get> | |
17 | + <constant> | |
18 | + <param sampling="##SAMPLING##" type="float" dim1="1" dim2="1" value="1"/> | |
19 | + </constant> | |
20 | + </get> | |
21 | + <process description="timestamp(const)">#timestamp($constant_##SAMPLING##_float_1_1_1)</process> | |
22 | + <output/> | |
23 | +</param> | |
24 | + | |
... | ... |
... | ... | @@ -0,0 +1,24 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<param xml:id="timestampfrom_##SAMPLING##_##FROM##"> | |
3 | + <info> | |
4 | + <name>TimeStamp From</name> | |
5 | + <short_name>TimeStamp From</short_name> | |
6 | + <components/> | |
7 | + <units>s</units> | |
8 | + <coordinates_system/> | |
9 | + <tensor_order>0</tensor_order> | |
10 | + <si_conversion/> | |
11 | + <fill_value/> | |
12 | + <ucd/> | |
13 | + <dataset_id/> | |
14 | + </info> | |
15 | + <gap_threshold>5</gap_threshold> | |
16 | + <get> | |
17 | + <constant> | |
18 | + <param sampling="##SAMPLING##" type="float" dim1="1" dim2="1" value="1"/> | |
19 | + </constant> | |
20 | + </get> | |
21 | + <process description="timestampfrom(const;value)">#timestampfrom($constant_##SAMPLING##_float_1_1_1;##FROM##)</process> | |
22 | + <output/> | |
23 | +</param> | |
24 | + | |
... | ... |
ParamTemplateList.xml
... | ... | @@ -1614,6 +1614,56 @@ |
1614 | 1614 | <argument key='paramid' name='Parameter Id' type='string' default=''/> |
1615 | 1615 | </arguments> |
1616 | 1616 | </paramTemplate> |
1617 | + <paramTemplate paramId="constant_scal" fileName="constant_scal_##SAMPLING##_##VALUE##_##TYPE##"> | |
1618 | + <arguments> | |
1619 | + <argument key="SAMPLING" name="Sampling" type="float" default="60"/> | |
1620 | + <argument key="VALUE" name="Value" type="float" default="1"/> | |
1621 | + <argument key="TYPE" name="Type" type="list" subtype="string" default="int"> | |
1622 | + <item key="int" name="Integer"/> | |
1623 | + <item key="short" name="Short"/> | |
1624 | + <item key="float" name="Float"/> | |
1625 | + <item key="double" name="Double"/> | |
1626 | + </argument> | |
1627 | + </arguments> | |
1628 | + </paramTemplate> | |
1629 | + <paramTemplate paramId="constant_vec" fileName="constant_vec_##SAMPLING##_##DIM1##_##VALUE##_##TYPE##"> | |
1630 | + <arguments> | |
1631 | + <argument key="SAMPLING" name="Sampling" type="float" default="60"/> | |
1632 | + <argument key="DIM1" name="Dimension" type="int" default="3"/> | |
1633 | + <argument key="VALUE" name="Value" type="float" default="1"/> | |
1634 | + <argument key="TYPE" name="Type" type="list" subtype="string" default="int"> | |
1635 | + <item key="int" name="Integer"/> | |
1636 | + <item key="short" name="Short"/> | |
1637 | + <item key="float" name="Float"/> | |
1638 | + <item key="double" name="Double"/> | |
1639 | + </argument> | |
1640 | + </arguments> | |
1641 | + </paramTemplate> | |
1642 | + <paramTemplate paramId="constant_mat" fileName="constant_mat_##SAMPLING##_##DIM1##_##DIM2##_##VALUE##_##TYPE##"> | |
1643 | + <arguments> | |
1644 | + <argument key="SAMPLING" name="Sampling" type="float" default="60"/> | |
1645 | + <argument key="DIM1" name="Dimension 1" type="int" default="3"/> | |
1646 | + <argument key="DIM2" name="Dimension 2" type="int" default="3"/> | |
1647 | + <argument key="VALUE" name="Value" type="float" default="1"/> | |
1648 | + <argument key="TYPE" name="Type" type="list" subtype="string" default="int"> | |
1649 | + <item key="int" name="Integer"/> | |
1650 | + <item key="short" name="Short"/> | |
1651 | + <item key="float" name="Float"/> | |
1652 | + <item key="double" name="Double"/> | |
1653 | + </argument> | |
1654 | + </arguments> | |
1655 | + </paramTemplate> | |
1656 | + <paramTemplate paramId="timestamp" fileName="timestamp_##SAMPLING##"> | |
1657 | + <arguments> | |
1658 | + <argument key="SAMPLING" name="Sampling" type="float" default="60"/> | |
1659 | + </arguments> | |
1660 | + </paramTemplate> | |
1661 | + <paramTemplate paramId="timestampfrom" fileName="timestampfrom_##SAMPLING##_##FROM##"> | |
1662 | + <arguments> | |
1663 | + <argument key="SAMPLING" name="Sampling" type="float" default="60"/> | |
1664 | + <argument key="FROM" name="From" type="date" default="1970/01/01 00:00:00.000"/> | |
1665 | + </arguments> | |
1666 | + </paramTemplate> | |
1617 | 1667 | <paramTemplate paramId="vex_hl2_2d_elevation" fileName="vex_hl2_2d_elevation_##min##_##max##"> |
1618 | 1668 | <arguments> |
1619 | 1669 | <argument key="min" name="Elev Min" type="generated-list" minkey="0" maxkey="57" subtype="int" nametpl="Elev. ##key##" default="0"/> |
... | ... |