Skip to content

Commit 15654a0

Browse files
committed
Added vector-norm as a var-role
1 parent 36a08c9 commit 15654a0

File tree

5 files changed

+9
-3
lines changed

5 files changed

+9
-3
lines changed

das2/dimension.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ const char* DASVAR_UNCERT = "uncertainty";
4545
const char* DASVAR_STD_DEV = "std_dev";
4646
const char* DASVAR_SPREAD = "point_spread";
4747
const char* DASVAR_WEIGHT = "weight";
48+
const char* DASVAR_NORM = "norm";
4849

4950

5051
bool DasDim_isKnownRole(const char* sPurpose)

das2/dimension.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ extern const char* DASVAR_UNCERT;
9191
extern const char* DASVAR_STD_DEV;
9292
extern const char* DASVAR_SPREAD;
9393
extern const char* DASVAR_WEIGHT;
94+
extern const char* DASVAR_NORM;
9495
#endif
9596

9697

schema/das-basic-doc-ns-v3.0.xsd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,8 @@ version 3.0, release candiate 2, 2024-05-27
404404
<xs:enumeration value="width" />
405405
<xs:enumeration value="std_dev" />
406406
<xs:enumeration value="min_error" />
407-
<xs:enumeration value="max_error" />
407+
<xs:enumeration value="max_error" />
408+
<xs:enumeration value="norm" />
408409
</xs:restriction>
409410
</xs:simpleType>
410411

schema/das-basic-stream-ns-v3.0.xsd

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,9 @@
410410
<xs:enumeration value="width" />
411411
<xs:enumeration value="std_dev" />
412412
<xs:enumeration value="min_error" />
413-
<xs:enumeration value="max_error" />
413+
<xs:enumeration value="max_error" />
414+
<xs:enumeration value="norm" />
415+
</xs:restriction>
414416
</xs:restriction>
415417
</xs:simpleType>
416418

schema/das-basic-stream-v3.0.xsd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,8 @@
410410
<xs:enumeration value="width" />
411411
<xs:enumeration value="std_dev" />
412412
<xs:enumeration value="min_error" />
413-
<xs:enumeration value="max_error" />
413+
<xs:enumeration value="max_error" />
414+
<xs:enumeration value="norm" />
414415
</xs:restriction>
415416
</xs:simpleType>
416417

0 commit comments

Comments
 (0)