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

[Drilling (clustered)]

Borehole and mine (B)

[Drilling]

Borehole and mine (B)

[Indirect (GTM, BSR, CPD, etc.)]

Borehole and mine (B)

[Mining]

Borehole and mine (B)

[Other]

None

[Probing (clustered)]

Probe sensing (S)

[Probing (offshore, ocean)]

Probe sensing (S)

[Probing (onshore, lake, river, etc.)]

Probe sensing (S)

[Tunneling]

Borehole and mine (B)

[Unspecified]

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.

Fields: P12, C4, C5, C31, C32

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:

Field

Value

Problem

P12

[Drilling]

—

C5

—

rule

CF-2

A child explored by probing has every field mandatory for probe sensing filled.

Fields: P12, C6, C23

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:

Field

Value

Problem

P12

[Probing (onshore, lake, river, etc.)]

—

C6

—

rule

CF-3

A thermal conductivity location of literature or unspecified is allowed only when the thermal conductivity source is assumed from literature.

Fields: C42, C41

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:

Field

Value

Problem

C42

[Literature or unspecified]

—

C41

[Core samples]

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.

Fields: C31, C32, C43

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:

Field

Value

Problem

C31

[EGRT]

—

C43

[Lab - point source]

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.