You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sphinx/technical_decisions/extended_age_query.md
+50Lines changed: 50 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,23 @@ The Extended Age Query (EAQ) feature enhances query capabilities for **Collectio
18
18
-**Highest**`StartPeriod` across relevant nodes
19
19
Because MYA increases into the past, higher StartPeriod means older boundary.
20
20
21
+
-**Strictness in Range Calculations**
22
+
- an age query start period `x`
23
+
- an age query end period `y`
24
+
- with constraint that `x >= y`
25
+
- for each collection object, a meta start period `a` is decided, and a meta end period `b` is decided.
26
+
- with constraint that `a >= b`
27
+
28
+
Strict Filter: (full overlap, a-b is within x-y)
29
+
`a <= x` and `b >= y`
30
+
31
+
Non-Strict Filter: (partial age range overlap, any overlap so x-y can be within a-b or a-b can be within x-y)
32
+
(` a<= x` and `a >= y`) or (`b <= x` and `b >= y`) or (`a >= x` and `b <= y`)
33
+
34
+
This is omitting the complication of uncertainty values.
35
+
The meta age range for each collection object should appear in the age column of the query results.
36
+
The "Any" age query bug is being push to a later issue. For now, do a Age Range query from "13800" to "0" to get all COs with age data (query all of time, the age of the universe
37
+
21
38
## User Interface & Workflow
22
39
23
40
1.**Add Age Field**
@@ -43,9 +60,42 @@ EAQ applies to the following age contexts within Collection Objects:
43
60
44
61
-**Absolute Age**
45
62
Computes a range using: AbsoluteAge + AgeUncertainty to AbsoluteAge – AgeUncertainty
63
+
46
64
-**Paleo Context**
47
65
Bound by `ChronosStratID` (and optionally `ChronosStratEndID`). The system determines the widest combined range across both IDs using start/end values.
48
66
67
+
**Table paths from CollectionObject to Absoluteage or GeologicTimePeriod**
0 commit comments