Commit b2c1bf9a6a555c8b6f61149a1cd496be8f48d078
1 parent
a19a4f21
Exists in
juice_jdc
and in
1 other branch
#10557 - Adding const and timestamp parameters
Showing
7 changed files
with
48 additions
and
2 deletions
Show diff stats
INTERNAL_PARAM_DEF/timestamp.xml
... | ... | @@ -15,10 +15,10 @@ |
15 | 15 | <gap_threshold>5</gap_threshold> |
16 | 16 | <get> |
17 | 17 | <constant> |
18 | - <param sampling="##SAMPLING##" type="int" dim1="1" dim2="1" value="1"/> | |
18 | + <param sampling="##SAMPLING##" type="float" dim1="1" dim2="1" value="1"/> | |
19 | 19 | </constant> |
20 | 20 | </get> |
21 | - <process description="timestamp(const)">#timestamp($constant_##SAMPLING##_int_1_1_1)</process> | |
21 | + <process description="timestamp(const)">#timestamp($constant_##SAMPLING##_float_1_1_1)</process> | |
22 | 22 | <output/> |
23 | 23 | </param> |
24 | 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
... | ... | @@ -1860,6 +1860,12 @@ |
1860 | 1860 | <argument key="SAMPLING" name="Sampling" type="float" default="60"/> |
1861 | 1861 | </arguments> |
1862 | 1862 | </paramTemplate> |
1863 | + <paramTemplate paramId="timestampfrom" fileName="timestampfrom_##SAMPLING##_##FROM##"> | |
1864 | + <arguments> | |
1865 | + <argument key="SAMPLING" name="Sampling" type="float" default="60"/> | |
1866 | + <argument key="FROM" name="From" type="date" default="1970/01/01 01:00:00.000"/> | |
1867 | + </arguments> | |
1868 | + </paramTemplate> | |
1863 | 1869 | <paramTemplate paramId="helios1_e1_idist_n_sumel" fileName="helios1_e1_idist_n_sumel_##min##_##max##"> |
1864 | 1870 | <arguments> |
1865 | 1871 | <argument key="min" name="Elev Min" type="list" subtype="int" default="0"> |
... | ... |