Cross-field rules¶
The field schema checks each field on its own. A cross-field rule relates several fields of
the same child, such as “a child explored by drilling has its interval bottom filled”.
ghfdb check applies every rule below after the field check and reports each broken rule as a
rule problem, with the rule’s identifier linked to its entry on this page. The rules are
declared in ghfdb.qc.rules, and this page is built from them, so it cannot disagree with the
check.
The two kinds of rule¶
Required for a domain. A child whose exploration method belongs to a domain has every field that is mandatory for that domain only filled. The fields are read from the field schema.
Allowed when. When one field holds given values, or any of several fields does, another field may hold only given values.
Domains of the exploration methods¶
The field schema marks a field as mandatory for borehole and mine data, for probe sensing, or for both. The domain of a child is read from its exploration method, as follows. The mapping awaits confirmation by the data assessment team in https://github.com/ihfc-iugg/ghfdb/issues/36.
Exploration method |
Domain |
|---|---|
|
Borehole and mine (B) |
|
Borehole and mine (B) |
|
Borehole and mine (B) |
|
Borehole and mine (B) |
|
None |
|
Probe sensing (S) |
|
Probe sensing (S) |
|
Probe sensing (S) |
|
Borehole and mine (B) |
|
None |
The rules¶
CF-1¶
A child explored through a borehole, a mine or a tunnel, or estimated indirectly, has every field mandatory for borehole and mine data filled.
Source: Fuchs et al. (2023), Table 4
Table 4 of Fuchs et al. (2023) marks these fields mandatory for borehole and mine data only, so a child of that domain must fill them. Which exploration methods belong to the domain is set out with the rules, and is open to confirmation by the data assessment team.
flowchart LR
when["P12 Type of exploration method is a borehole and mine method"]
when --> need0["C4 Heat-flow interval top filled"]
when --> need1["C5 Heat-flow interval bottom filled"]
when --> need2["C31 Temperature method (top) filled"]
when --> need3["C32 Temperature method (bottom) filled"]
A child with these values breaks the rule:
CF-2¶
A child explored by probing has every field mandatory for probe sensing filled.
Source: Fuchs et al. (2023), Table 4
Table 4 of Fuchs et al. (2023) marks these fields mandatory for probe sensing only, so a child of that domain must fill them. Which exploration methods belong to the domain is set out with the rules, and is open to confirmation by the data assessment team.
flowchart LR
when["P12 Type of exploration method is a probe-sensing method"]
when --> need0["C6 Penetration depth filled"]
when --> need1["C23 Probe tilt filled"]
A child with these values breaks the rule:
CF-3¶
A thermal conductivity location of literature or unspecified is allowed only when the thermal conductivity source is assumed from literature.
Source: Fuchs et al. (2023), Appendix A
Appendix A of Fuchs et al. (2023) allows the location literature or unspecified only if the source is assumed from literature: conductivity measured on samples or in situ was measured somewhere, so its location is known.
flowchart LR
when["C42 Thermal conductivity location is [Literature or unspecified]"]
then["C41 Thermal conductivity source must be [Assumed from literature]"]
when --> then
A child with these values breaks the rule:
CF-4¶
A child whose temperature method at the top or at the bottom is the enhanced geothermal response test has the thermal conductivity method probe - pulse technique.
Source: Fuchs et al. (2025), template version 2026.03
Section 6.1 of the description of version 2026.03 of the submission template asks that, when the enhanced geothermal response test is used as the temperature method, the thermal conductivity method is the probe pulse technique, so that thermal conductivity is reported consistently.
flowchart LR
when["C31 Temperature method (top) is [EGRT] or C32 Temperature method (bottom) is [EGRT]"]
then["C43 Thermal conductivity method must be [Probe - pulse technique]"]
when --> then
A child with these values breaks the rule:
Rules under discussion¶
These questions are open with the data assessment team. Until they are settled, the check does not apply the rules they would add.
https://github.com/ihfc-iugg/ghfdb/issues/30: temperature methods for an indirect exploration method.
https://github.com/ihfc-iugg/ghfdb/issues/31: temperature methods for probe-sensing data.
https://github.com/ihfc-iugg/ghfdb/issues/32: the in-situ flag and the pressure and temperature conditions.
https://github.com/ihfc-iugg/ghfdb/issues/33: the pressure and temperature conditions and the pressure and temperature function.
https://github.com/ihfc-iugg/ghfdb/issues/34: when the temperature correction methods apply.
https://github.com/ihfc-iugg/ghfdb/issues/35: whether the conductivity method is mandatory for borehole data.
https://github.com/ihfc-iugg/ghfdb/issues/36: the domain of each exploration method.