@bedrock-engineer/bro-xml-parser 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +190 -0
- package/README.md +95 -0
- package/dist/adapters/browser-adapter.d.ts +18 -0
- package/dist/adapters/browser-adapter.d.ts.map +1 -0
- package/dist/adapters/browser-adapter.js +78 -0
- package/dist/adapters/browser-adapter.js.map +1 -0
- package/dist/adapters/index.d.ts +9 -0
- package/dist/adapters/index.d.ts.map +1 -0
- package/dist/adapters/index.js +9 -0
- package/dist/adapters/index.js.map +1 -0
- package/dist/adapters/node-adapter.d.ts +16 -0
- package/dist/adapters/node-adapter.d.ts.map +1 -0
- package/dist/adapters/node-adapter.js +63 -0
- package/dist/adapters/node-adapter.js.map +1 -0
- package/dist/browser.d.ts +28 -0
- package/dist/browser.d.ts.map +1 -0
- package/dist/browser.js +29 -0
- package/dist/browser.js.map +1 -0
- package/dist/colors.d.ts +60 -0
- package/dist/colors.d.ts.map +1 -0
- package/dist/colors.js +102 -0
- package/dist/colors.js.map +1 -0
- package/dist/core/schema-parser.d.ts +31 -0
- package/dist/core/schema-parser.d.ts.map +1 -0
- package/dist/core/schema-parser.js +99 -0
- package/dist/core/schema-parser.js.map +1 -0
- package/dist/core/version-detector.d.ts +66 -0
- package/dist/core/version-detector.d.ts.map +1 -0
- package/dist/core/version-detector.js +263 -0
- package/dist/core/version-detector.js.map +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -0
- package/dist/namespaces.d.ts +16 -0
- package/dist/namespaces.d.ts.map +1 -0
- package/dist/namespaces.js +48 -0
- package/dist/namespaces.js.map +1 -0
- package/dist/node.d.ts +28 -0
- package/dist/node.d.ts.map +1 -0
- package/dist/node.js +29 -0
- package/dist/node.js.map +1 -0
- package/dist/parser.d.ts +180 -0
- package/dist/parser.d.ts.map +1 -0
- package/dist/parser.js +256 -0
- package/dist/parser.js.map +1 -0
- package/dist/reference-codes/bhrg-activity-type.d.ts +15 -0
- package/dist/reference-codes/bhrg-activity-type.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-activity-type.js +22 -0
- package/dist/reference-codes/bhrg-activity-type.js.map +1 -0
- package/dist/reference-codes/bhrg-analysis-procedure.d.ts +15 -0
- package/dist/reference-codes/bhrg-analysis-procedure.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-analysis-procedure.js +20 -0
- package/dist/reference-codes/bhrg-analysis-procedure.js.map +1 -0
- package/dist/reference-codes/bhrg-angularity.d.ts +15 -0
- package/dist/reference-codes/bhrg-angularity.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-angularity.js +28 -0
- package/dist/reference-codes/bhrg-angularity.js.map +1 -0
- package/dist/reference-codes/bhrg-animal-fossil-type.d.ts +15 -0
- package/dist/reference-codes/bhrg-animal-fossil-type.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-animal-fossil-type.js +31 -0
- package/dist/reference-codes/bhrg-animal-fossil-type.js.map +1 -0
- package/dist/reference-codes/bhrg-applied-optical-model.d.ts +15 -0
- package/dist/reference-codes/bhrg-applied-optical-model.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-applied-optical-model.js +20 -0
- package/dist/reference-codes/bhrg-applied-optical-model.js.map +1 -0
- package/dist/reference-codes/bhrg-archeological-constituent-type.d.ts +15 -0
- package/dist/reference-codes/bhrg-archeological-constituent-type.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-archeological-constituent-type.js +32 -0
- package/dist/reference-codes/bhrg-archeological-constituent-type.js.map +1 -0
- package/dist/reference-codes/bhrg-archive-class.d.ts +15 -0
- package/dist/reference-codes/bhrg-archive-class.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-archive-class.js +29 -0
- package/dist/reference-codes/bhrg-archive-class.js.map +1 -0
- package/dist/reference-codes/bhrg-backfill-material.d.ts +15 -0
- package/dist/reference-codes/bhrg-backfill-material.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-backfill-material.js +40 -0
- package/dist/reference-codes/bhrg-backfill-material.js.map +1 -0
- package/dist/reference-codes/bhrg-boring-procedure.d.ts +15 -0
- package/dist/reference-codes/bhrg-boring-procedure.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-boring-procedure.js +22 -0
- package/dist/reference-codes/bhrg-boring-procedure.js.map +1 -0
- package/dist/reference-codes/bhrg-boring-technique.d.ts +15 -0
- package/dist/reference-codes/bhrg-boring-technique.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-boring-technique.js +42 -0
- package/dist/reference-codes/bhrg-boring-technique.js.map +1 -0
- package/dist/reference-codes/bhrg-boundary-positioning-method.d.ts +15 -0
- package/dist/reference-codes/bhrg-boundary-positioning-method.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-boundary-positioning-method.js +28 -0
- package/dist/reference-codes/bhrg-boundary-positioning-method.js.map +1 -0
- package/dist/reference-codes/bhrg-calculation-value-origin.d.ts +15 -0
- package/dist/reference-codes/bhrg-calculation-value-origin.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-calculation-value-origin.js +21 -0
- package/dist/reference-codes/bhrg-calculation-value-origin.js.map +1 -0
- package/dist/reference-codes/bhrg-carbonate-content-class.d.ts +15 -0
- package/dist/reference-codes/bhrg-carbonate-content-class.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-carbonate-content-class.js +27 -0
- package/dist/reference-codes/bhrg-carbonate-content-class.js.map +1 -0
- package/dist/reference-codes/bhrg-casing-material.d.ts +15 -0
- package/dist/reference-codes/bhrg-casing-material.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-casing-material.js +25 -0
- package/dist/reference-codes/bhrg-casing-material.js.map +1 -0
- package/dist/reference-codes/bhrg-chunk-size-class.d.ts +15 -0
- package/dist/reference-codes/bhrg-chunk-size-class.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-chunk-size-class.js +24 -0
- package/dist/reference-codes/bhrg-chunk-size-class.js.map +1 -0
- package/dist/reference-codes/bhrg-colour.d.ts +15 -0
- package/dist/reference-codes/bhrg-colour.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-colour.js +159 -0
- package/dist/reference-codes/bhrg-colour.js.map +1 -0
- package/dist/reference-codes/bhrg-correction-reason.d.ts +15 -0
- package/dist/reference-codes/bhrg-correction-reason.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-correction-reason.js +23 -0
- package/dist/reference-codes/bhrg-correction-reason.js.map +1 -0
- package/dist/reference-codes/bhrg-current-process.d.ts +15 -0
- package/dist/reference-codes/bhrg-current-process.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-current-process.js +23 -0
- package/dist/reference-codes/bhrg-current-process.js.map +1 -0
- package/dist/reference-codes/bhrg-delivery-context.d.ts +15 -0
- package/dist/reference-codes/bhrg-delivery-context.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-delivery-context.js +26 -0
- package/dist/reference-codes/bhrg-delivery-context.js.map +1 -0
- package/dist/reference-codes/bhrg-described-material.d.ts +15 -0
- package/dist/reference-codes/bhrg-described-material.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-described-material.js +19 -0
- package/dist/reference-codes/bhrg-described-material.js.map +1 -0
- package/dist/reference-codes/bhrg-described-samples-quality.d.ts +15 -0
- package/dist/reference-codes/bhrg-described-samples-quality.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-described-samples-quality.js +22 -0
- package/dist/reference-codes/bhrg-described-samples-quality.js.map +1 -0
- package/dist/reference-codes/bhrg-description-location.d.ts +15 -0
- package/dist/reference-codes/bhrg-description-location.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-description-location.js +22 -0
- package/dist/reference-codes/bhrg-description-location.js.map +1 -0
- package/dist/reference-codes/bhrg-description-procedure.d.ts +15 -0
- package/dist/reference-codes/bhrg-description-procedure.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-description-procedure.js +26 -0
- package/dist/reference-codes/bhrg-description-procedure.js.map +1 -0
- package/dist/reference-codes/bhrg-description-quality.d.ts +15 -0
- package/dist/reference-codes/bhrg-description-quality.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-description-quality.js +26 -0
- package/dist/reference-codes/bhrg-description-quality.js.map +1 -0
- package/dist/reference-codes/bhrg-determination-method.d.ts +15 -0
- package/dist/reference-codes/bhrg-determination-method.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-determination-method.js +31 -0
- package/dist/reference-codes/bhrg-determination-method.js.map +1 -0
- package/dist/reference-codes/bhrg-determination-procedure.d.ts +15 -0
- package/dist/reference-codes/bhrg-determination-procedure.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-determination-procedure.js +28 -0
- package/dist/reference-codes/bhrg-determination-procedure.js.map +1 -0
- package/dist/reference-codes/bhrg-determined-composition-properties.d.ts +15 -0
- package/dist/reference-codes/bhrg-determined-composition-properties.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-determined-composition-properties.js +23 -0
- package/dist/reference-codes/bhrg-determined-composition-properties.js.map +1 -0
- package/dist/reference-codes/bhrg-determined-hydrophysical-properties.d.ts +15 -0
- package/dist/reference-codes/bhrg-determined-hydrophysical-properties.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-determined-hydrophysical-properties.js +22 -0
- package/dist/reference-codes/bhrg-determined-hydrophysical-properties.js.map +1 -0
- package/dist/reference-codes/bhrg-discipline.d.ts +15 -0
- package/dist/reference-codes/bhrg-discipline.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-discipline.js +23 -0
- package/dist/reference-codes/bhrg-discipline.js.map +1 -0
- package/dist/reference-codes/bhrg-discontinuity-type.d.ts +15 -0
- package/dist/reference-codes/bhrg-discontinuity-type.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-discontinuity-type.js +25 -0
- package/dist/reference-codes/bhrg-discontinuity-type.js.map +1 -0
- package/dist/reference-codes/bhrg-dispersion-method.d.ts +15 -0
- package/dist/reference-codes/bhrg-dispersion-method.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-dispersion-method.js +21 -0
- package/dist/reference-codes/bhrg-dispersion-method.js.map +1 -0
- package/dist/reference-codes/bhrg-drying-period.d.ts +15 -0
- package/dist/reference-codes/bhrg-drying-period.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-drying-period.js +22 -0
- package/dist/reference-codes/bhrg-drying-period.js.map +1 -0
- package/dist/reference-codes/bhrg-drying-temperature.d.ts +15 -0
- package/dist/reference-codes/bhrg-drying-temperature.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-drying-temperature.js +20 -0
- package/dist/reference-codes/bhrg-drying-temperature.js.map +1 -0
- package/dist/reference-codes/bhrg-event-name.d.ts +15 -0
- package/dist/reference-codes/bhrg-event-name.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-event-name.js +21 -0
- package/dist/reference-codes/bhrg-event-name.js.map +1 -0
- package/dist/reference-codes/bhrg-excavated-material.d.ts +15 -0
- package/dist/reference-codes/bhrg-excavated-material.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-excavated-material.js +28 -0
- package/dist/reference-codes/bhrg-excavated-material.js.map +1 -0
- package/dist/reference-codes/bhrg-fine-soil-consistency.d.ts +15 -0
- package/dist/reference-codes/bhrg-fine-soil-consistency.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-fine-soil-consistency.js +31 -0
- package/dist/reference-codes/bhrg-fine-soil-consistency.js.map +1 -0
- package/dist/reference-codes/bhrg-fluid-mud-layer-positioning-method.d.ts +15 -0
- package/dist/reference-codes/bhrg-fluid-mud-layer-positioning-method.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-fluid-mud-layer-positioning-method.js +28 -0
- package/dist/reference-codes/bhrg-fluid-mud-layer-positioning-method.js.map +1 -0
- package/dist/reference-codes/bhrg-flushing-additive.d.ts +15 -0
- package/dist/reference-codes/bhrg-flushing-additive.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-flushing-additive.js +23 -0
- package/dist/reference-codes/bhrg-flushing-additive.js.map +1 -0
- package/dist/reference-codes/bhrg-fraction-distribution-lab.d.ts +15 -0
- package/dist/reference-codes/bhrg-fraction-distribution-lab.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-fraction-distribution-lab.js +21 -0
- package/dist/reference-codes/bhrg-fraction-distribution-lab.js.map +1 -0
- package/dist/reference-codes/bhrg-geological-origin.d.ts +15 -0
- package/dist/reference-codes/bhrg-geological-origin.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-geological-origin.js +35 -0
- package/dist/reference-codes/bhrg-geological-origin.js.map +1 -0
- package/dist/reference-codes/bhrg-geological-soil-name.d.ts +15 -0
- package/dist/reference-codes/bhrg-geological-soil-name.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-geological-soil-name.js +97 -0
- package/dist/reference-codes/bhrg-geological-soil-name.js.map +1 -0
- package/dist/reference-codes/bhrg-geotechnical-soil-name.d.ts +15 -0
- package/dist/reference-codes/bhrg-geotechnical-soil-name.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-geotechnical-soil-name.js +79 -0
- package/dist/reference-codes/bhrg-geotechnical-soil-name.js.map +1 -0
- package/dist/reference-codes/bhrg-grain-colour.d.ts +15 -0
- package/dist/reference-codes/bhrg-grain-colour.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-grain-colour.js +24 -0
- package/dist/reference-codes/bhrg-grain-colour.js.map +1 -0
- package/dist/reference-codes/bhrg-gravel-content-class.d.ts +15 -0
- package/dist/reference-codes/bhrg-gravel-content-class.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-gravel-content-class.js +24 -0
- package/dist/reference-codes/bhrg-gravel-content-class.js.map +1 -0
- package/dist/reference-codes/bhrg-gravel-median-class.d.ts +15 -0
- package/dist/reference-codes/bhrg-gravel-median-class.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-gravel-median-class.js +25 -0
- package/dist/reference-codes/bhrg-gravel-median-class.js.map +1 -0
- package/dist/reference-codes/bhrg-gravel-provenance.d.ts +15 -0
- package/dist/reference-codes/bhrg-gravel-provenance.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-gravel-provenance.js +29 -0
- package/dist/reference-codes/bhrg-gravel-provenance.js.map +1 -0
- package/dist/reference-codes/bhrg-gravel-type.d.ts +15 -0
- package/dist/reference-codes/bhrg-gravel-type.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-gravel-type.js +77 -0
- package/dist/reference-codes/bhrg-gravel-type.js.map +1 -0
- package/dist/reference-codes/bhrg-horizon-code.d.ts +15 -0
- package/dist/reference-codes/bhrg-horizon-code.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-horizon-code.js +28 -0
- package/dist/reference-codes/bhrg-horizon-code.js.map +1 -0
- package/dist/reference-codes/bhrg-horizontal-positioning-method.d.ts +15 -0
- package/dist/reference-codes/bhrg-horizontal-positioning-method.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-horizontal-positioning-method.js +40 -0
- package/dist/reference-codes/bhrg-horizontal-positioning-method.js.map +1 -0
- package/dist/reference-codes/bhrg-human-trace.d.ts +15 -0
- package/dist/reference-codes/bhrg-human-trace.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-human-trace.js +21 -0
- package/dist/reference-codes/bhrg-human-trace.js.map +1 -0
- package/dist/reference-codes/bhrg-hydrological-setting.d.ts +15 -0
- package/dist/reference-codes/bhrg-hydrological-setting.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-hydrological-setting.js +22 -0
- package/dist/reference-codes/bhrg-hydrological-setting.js.map +1 -0
- package/dist/reference-codes/bhrg-landscape-element.d.ts +15 -0
- package/dist/reference-codes/bhrg-landscape-element.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-landscape-element.js +58 -0
- package/dist/reference-codes/bhrg-landscape-element.js.map +1 -0
- package/dist/reference-codes/bhrg-layer-proportion-class.d.ts +15 -0
- package/dist/reference-codes/bhrg-layer-proportion-class.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-layer-proportion-class.js +27 -0
- package/dist/reference-codes/bhrg-layer-proportion-class.js.map +1 -0
- package/dist/reference-codes/bhrg-local-vertical-reference-point.d.ts +15 -0
- package/dist/reference-codes/bhrg-local-vertical-reference-point.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-local-vertical-reference-point.js +20 -0
- package/dist/reference-codes/bhrg-local-vertical-reference-point.js.map +1 -0
- package/dist/reference-codes/bhrg-mass-percentage-class.d.ts +15 -0
- package/dist/reference-codes/bhrg-mass-percentage-class.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-mass-percentage-class.js +25 -0
- package/dist/reference-codes/bhrg-mass-percentage-class.js.map +1 -0
- package/dist/reference-codes/bhrg-material-irregularity.d.ts +15 -0
- package/dist/reference-codes/bhrg-material-irregularity.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-material-irregularity.js +26 -0
- package/dist/reference-codes/bhrg-material-irregularity.js.map +1 -0
- package/dist/reference-codes/bhrg-material-shape.d.ts +15 -0
- package/dist/reference-codes/bhrg-material-shape.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-material-shape.js +29 -0
- package/dist/reference-codes/bhrg-material-shape.js.map +1 -0
- package/dist/reference-codes/bhrg-mica-content-class.d.ts +15 -0
- package/dist/reference-codes/bhrg-mica-content-class.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-mica-content-class.js +23 -0
- package/dist/reference-codes/bhrg-mica-content-class.js.map +1 -0
- package/dist/reference-codes/bhrg-mottling-density.d.ts +15 -0
- package/dist/reference-codes/bhrg-mottling-density.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-mottling-density.js +28 -0
- package/dist/reference-codes/bhrg-mottling-density.js.map +1 -0
- package/dist/reference-codes/bhrg-munsell-chroma.d.ts +15 -0
- package/dist/reference-codes/bhrg-munsell-chroma.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-munsell-chroma.js +24 -0
- package/dist/reference-codes/bhrg-munsell-chroma.js.map +1 -0
- package/dist/reference-codes/bhrg-munsell-hue.d.ts +15 -0
- package/dist/reference-codes/bhrg-munsell-hue.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-munsell-hue.js +40 -0
- package/dist/reference-codes/bhrg-munsell-hue.js.map +1 -0
- package/dist/reference-codes/bhrg-munsell-value.d.ts +15 -0
- package/dist/reference-codes/bhrg-munsell-value.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-munsell-value.js +30 -0
- package/dist/reference-codes/bhrg-munsell-value.js.map +1 -0
- package/dist/reference-codes/bhrg-no-description-reason.d.ts +15 -0
- package/dist/reference-codes/bhrg-no-description-reason.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-no-description-reason.js +28 -0
- package/dist/reference-codes/bhrg-no-description-reason.js.map +1 -0
- package/dist/reference-codes/bhrg-organic-matter-content-class-nen5104.d.ts +15 -0
- package/dist/reference-codes/bhrg-organic-matter-content-class-nen5104.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-organic-matter-content-class-nen5104.js +24 -0
- package/dist/reference-codes/bhrg-organic-matter-content-class-nen5104.js.map +1 -0
- package/dist/reference-codes/bhrg-organic-matter-content-class.d.ts +15 -0
- package/dist/reference-codes/bhrg-organic-matter-content-class.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-organic-matter-content-class.js +21 -0
- package/dist/reference-codes/bhrg-organic-matter-content-class.js.map +1 -0
- package/dist/reference-codes/bhrg-organic-soil-consistency.d.ts +15 -0
- package/dist/reference-codes/bhrg-organic-soil-consistency.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-organic-soil-consistency.js +24 -0
- package/dist/reference-codes/bhrg-organic-soil-consistency.js.map +1 -0
- package/dist/reference-codes/bhrg-organic-soil-texture.d.ts +15 -0
- package/dist/reference-codes/bhrg-organic-soil-texture.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-organic-soil-texture.js +29 -0
- package/dist/reference-codes/bhrg-organic-soil-texture.js.map +1 -0
- package/dist/reference-codes/bhrg-particular-constituent-type.d.ts +15 -0
- package/dist/reference-codes/bhrg-particular-constituent-type.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-particular-constituent-type.js +43 -0
- package/dist/reference-codes/bhrg-particular-constituent-type.js.map +1 -0
- package/dist/reference-codes/bhrg-peat-type.d.ts +15 -0
- package/dist/reference-codes/bhrg-peat-type.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-peat-type.js +27 -0
- package/dist/reference-codes/bhrg-peat-type.js.map +1 -0
- package/dist/reference-codes/bhrg-performance-irregularity.d.ts +15 -0
- package/dist/reference-codes/bhrg-performance-irregularity.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-performance-irregularity.js +24 -0
- package/dist/reference-codes/bhrg-performance-irregularity.js.map +1 -0
- package/dist/reference-codes/bhrg-plant-remain-type.d.ts +15 -0
- package/dist/reference-codes/bhrg-plant-remain-type.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-plant-remain-type.js +40 -0
- package/dist/reference-codes/bhrg-plant-remain-type.js.map +1 -0
- package/dist/reference-codes/bhrg-position-on-ground-body.d.ts +15 -0
- package/dist/reference-codes/bhrg-position-on-ground-body.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-position-on-ground-body.js +23 -0
- package/dist/reference-codes/bhrg-position-on-ground-body.js.map +1 -0
- package/dist/reference-codes/bhrg-pre-treatment.d.ts +15 -0
- package/dist/reference-codes/bhrg-pre-treatment.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-pre-treatment.js +23 -0
- package/dist/reference-codes/bhrg-pre-treatment.js.map +1 -0
- package/dist/reference-codes/bhrg-preparation.d.ts +15 -0
- package/dist/reference-codes/bhrg-preparation.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-preparation.js +25 -0
- package/dist/reference-codes/bhrg-preparation.js.map +1 -0
- package/dist/reference-codes/bhrg-relative-abundance-class.d.ts +15 -0
- package/dist/reference-codes/bhrg-relative-abundance-class.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-relative-abundance-class.js +24 -0
- package/dist/reference-codes/bhrg-relative-abundance-class.js.map +1 -0
- package/dist/reference-codes/bhrg-removal-method-carbonate.d.ts +15 -0
- package/dist/reference-codes/bhrg-removal-method-carbonate.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-removal-method-carbonate.js +21 -0
- package/dist/reference-codes/bhrg-removal-method-carbonate.js.map +1 -0
- package/dist/reference-codes/bhrg-removal-method-organic-matter.d.ts +15 -0
- package/dist/reference-codes/bhrg-removal-method-organic-matter.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-removal-method-organic-matter.js +21 -0
- package/dist/reference-codes/bhrg-removal-method-organic-matter.js.map +1 -0
- package/dist/reference-codes/bhrg-removed-material.d.ts +15 -0
- package/dist/reference-codes/bhrg-removed-material.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-removed-material.js +29 -0
- package/dist/reference-codes/bhrg-removed-material.js.map +1 -0
- package/dist/reference-codes/bhrg-rock-type.d.ts +15 -0
- package/dist/reference-codes/bhrg-rock-type.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-rock-type.js +25 -0
- package/dist/reference-codes/bhrg-rock-type.js.map +1 -0
- package/dist/reference-codes/bhrg-salt-correction-method.d.ts +15 -0
- package/dist/reference-codes/bhrg-salt-correction-method.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-salt-correction-method.js +21 -0
- package/dist/reference-codes/bhrg-salt-correction-method.js.map +1 -0
- package/dist/reference-codes/bhrg-sample-container-volume.d.ts +15 -0
- package/dist/reference-codes/bhrg-sample-container-volume.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-sample-container-volume.js +20 -0
- package/dist/reference-codes/bhrg-sample-container-volume.js.map +1 -0
- package/dist/reference-codes/bhrg-sample-moistness.d.ts +15 -0
- package/dist/reference-codes/bhrg-sample-moistness.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-sample-moistness.js +22 -0
- package/dist/reference-codes/bhrg-sample-moistness.js.map +1 -0
- package/dist/reference-codes/bhrg-sample-quality.d.ts +15 -0
- package/dist/reference-codes/bhrg-sample-quality.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-sample-quality.js +23 -0
- package/dist/reference-codes/bhrg-sample-quality.js.map +1 -0
- package/dist/reference-codes/bhrg-sampler-type.d.ts +15 -0
- package/dist/reference-codes/bhrg-sampler-type.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-sampler-type.js +26 -0
- package/dist/reference-codes/bhrg-sampler-type.js.map +1 -0
- package/dist/reference-codes/bhrg-sampling-method.d.ts +15 -0
- package/dist/reference-codes/bhrg-sampling-method.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-sampling-method.js +34 -0
- package/dist/reference-codes/bhrg-sampling-method.js.map +1 -0
- package/dist/reference-codes/bhrg-sampling-procedure.d.ts +15 -0
- package/dist/reference-codes/bhrg-sampling-procedure.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-sampling-procedure.js +21 -0
- package/dist/reference-codes/bhrg-sampling-procedure.js.map +1 -0
- package/dist/reference-codes/bhrg-sampling-quality.d.ts +15 -0
- package/dist/reference-codes/bhrg-sampling-quality.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-sampling-quality.js +27 -0
- package/dist/reference-codes/bhrg-sampling-quality.js.map +1 -0
- package/dist/reference-codes/bhrg-sand-median-class.d.ts +15 -0
- package/dist/reference-codes/bhrg-sand-median-class.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-sand-median-class.js +32 -0
- package/dist/reference-codes/bhrg-sand-median-class.js.map +1 -0
- package/dist/reference-codes/bhrg-sand-sorting.d.ts +15 -0
- package/dist/reference-codes/bhrg-sand-sorting.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-sand-sorting.js +29 -0
- package/dist/reference-codes/bhrg-sand-sorting.js.map +1 -0
- package/dist/reference-codes/bhrg-saturation-method.d.ts +15 -0
- package/dist/reference-codes/bhrg-saturation-method.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-saturation-method.js +20 -0
- package/dist/reference-codes/bhrg-saturation-method.js.map +1 -0
- package/dist/reference-codes/bhrg-sedimentary-phenomenon.d.ts +15 -0
- package/dist/reference-codes/bhrg-sedimentary-phenomenon.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-sedimentary-phenomenon.js +20 -0
- package/dist/reference-codes/bhrg-sedimentary-phenomenon.js.map +1 -0
- package/dist/reference-codes/bhrg-shell-taxon.d.ts +15 -0
- package/dist/reference-codes/bhrg-shell-taxon.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-shell-taxon.js +177 -0
- package/dist/reference-codes/bhrg-shell-taxon.js.map +1 -0
- package/dist/reference-codes/bhrg-soil-name-nen5104.d.ts +15 -0
- package/dist/reference-codes/bhrg-soil-name-nen5104.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-soil-name-nen5104.js +96 -0
- package/dist/reference-codes/bhrg-soil-name-nen5104.js.map +1 -0
- package/dist/reference-codes/bhrg-soil-type.d.ts +15 -0
- package/dist/reference-codes/bhrg-soil-type.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-soil-type.js +34 -0
- package/dist/reference-codes/bhrg-soil-type.js.map +1 -0
- package/dist/reference-codes/bhrg-soil-use.d.ts +15 -0
- package/dist/reference-codes/bhrg-soil-use.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-soil-use.js +30 -0
- package/dist/reference-codes/bhrg-soil-use.js.map +1 -0
- package/dist/reference-codes/bhrg-special-material.d.ts +15 -0
- package/dist/reference-codes/bhrg-special-material.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-special-material.js +39 -0
- package/dist/reference-codes/bhrg-special-material.js.map +1 -0
- package/dist/reference-codes/bhrg-sphericity.d.ts +15 -0
- package/dist/reference-codes/bhrg-sphericity.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-sphericity.js +21 -0
- package/dist/reference-codes/bhrg-sphericity.js.map +1 -0
- package/dist/reference-codes/bhrg-stain-colour.d.ts +15 -0
- package/dist/reference-codes/bhrg-stain-colour.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-stain-colour.js +33 -0
- package/dist/reference-codes/bhrg-stain-colour.js.map +1 -0
- package/dist/reference-codes/bhrg-stop-criterion-field.d.ts +15 -0
- package/dist/reference-codes/bhrg-stop-criterion-field.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-stop-criterion-field.js +31 -0
- package/dist/reference-codes/bhrg-stop-criterion-field.js.map +1 -0
- package/dist/reference-codes/bhrg-stratum-thickness-class.d.ts +15 -0
- package/dist/reference-codes/bhrg-stratum-thickness-class.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-stratum-thickness-class.js +28 -0
- package/dist/reference-codes/bhrg-stratum-thickness-class.js.map +1 -0
- package/dist/reference-codes/bhrg-structure.d.ts +15 -0
- package/dist/reference-codes/bhrg-structure.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-structure.js +34 -0
- package/dist/reference-codes/bhrg-structure.js.map +1 -0
- package/dist/reference-codes/bhrg-survey-procedure.d.ts +15 -0
- package/dist/reference-codes/bhrg-survey-procedure.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-survey-procedure.js +20 -0
- package/dist/reference-codes/bhrg-survey-procedure.js.map +1 -0
- package/dist/reference-codes/bhrg-survey-purpose.d.ts +15 -0
- package/dist/reference-codes/bhrg-survey-purpose.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-survey-purpose.js +31 -0
- package/dist/reference-codes/bhrg-survey-purpose.js.map +1 -0
- package/dist/reference-codes/bhrg-temporary-change.d.ts +15 -0
- package/dist/reference-codes/bhrg-temporary-change.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-temporary-change.js +25 -0
- package/dist/reference-codes/bhrg-temporary-change.js.map +1 -0
- package/dist/reference-codes/bhrg-used-medium.d.ts +15 -0
- package/dist/reference-codes/bhrg-used-medium.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-used-medium.js +24 -0
- package/dist/reference-codes/bhrg-used-medium.js.map +1 -0
- package/dist/reference-codes/bhrg-utensil.d.ts +15 -0
- package/dist/reference-codes/bhrg-utensil.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-utensil.js +25 -0
- package/dist/reference-codes/bhrg-utensil.js.map +1 -0
- package/dist/reference-codes/bhrg-variegation.d.ts +15 -0
- package/dist/reference-codes/bhrg-variegation.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-variegation.js +25 -0
- package/dist/reference-codes/bhrg-variegation.js.map +1 -0
- package/dist/reference-codes/bhrg-vertical-datum.d.ts +15 -0
- package/dist/reference-codes/bhrg-vertical-datum.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-vertical-datum.js +21 -0
- package/dist/reference-codes/bhrg-vertical-datum.js.map +1 -0
- package/dist/reference-codes/bhrg-vertical-positioning-method.d.ts +15 -0
- package/dist/reference-codes/bhrg-vertical-positioning-method.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-vertical-positioning-method.js +46 -0
- package/dist/reference-codes/bhrg-vertical-positioning-method.js.map +1 -0
- package/dist/reference-codes/bhrg-vertical-trend.d.ts +15 -0
- package/dist/reference-codes/bhrg-vertical-trend.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-vertical-trend.js +58 -0
- package/dist/reference-codes/bhrg-vertical-trend.js.map +1 -0
- package/dist/reference-codes/bhrg-very-coarse-fraction-content-class-archive.d.ts +15 -0
- package/dist/reference-codes/bhrg-very-coarse-fraction-content-class-archive.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-very-coarse-fraction-content-class-archive.js +25 -0
- package/dist/reference-codes/bhrg-very-coarse-fraction-content-class-archive.js.map +1 -0
- package/dist/reference-codes/bhrg-very-coarse-fraction-content-class.d.ts +15 -0
- package/dist/reference-codes/bhrg-very-coarse-fraction-content-class.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-very-coarse-fraction-content-class.js +24 -0
- package/dist/reference-codes/bhrg-very-coarse-fraction-content-class.js.map +1 -0
- package/dist/reference-codes/bhrg-volume-percentage-class.d.ts +15 -0
- package/dist/reference-codes/bhrg-volume-percentage-class.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-volume-percentage-class.js +27 -0
- package/dist/reference-codes/bhrg-volume-percentage-class.js.map +1 -0
- package/dist/reference-codes/bhrg-weathering-degree.d.ts +15 -0
- package/dist/reference-codes/bhrg-weathering-degree.d.ts.map +1 -0
- package/dist/reference-codes/bhrg-weathering-degree.js +22 -0
- package/dist/reference-codes/bhrg-weathering-degree.js.map +1 -0
- package/dist/reference-codes/bhrgt-activity-type.d.ts +15 -0
- package/dist/reference-codes/bhrgt-activity-type.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-activity-type.js +23 -0
- package/dist/reference-codes/bhrgt-activity-type.js.map +1 -0
- package/dist/reference-codes/bhrgt-analysis-procedure.d.ts +15 -0
- package/dist/reference-codes/bhrgt-analysis-procedure.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-analysis-procedure.js +20 -0
- package/dist/reference-codes/bhrgt-analysis-procedure.js.map +1 -0
- package/dist/reference-codes/bhrgt-analysis-type.d.ts +15 -0
- package/dist/reference-codes/bhrgt-analysis-type.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-analysis-type.js +33 -0
- package/dist/reference-codes/bhrgt-analysis-type.js.map +1 -0
- package/dist/reference-codes/bhrgt-angularity.d.ts +15 -0
- package/dist/reference-codes/bhrgt-angularity.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-angularity.js +27 -0
- package/dist/reference-codes/bhrgt-angularity.js.map +1 -0
- package/dist/reference-codes/bhrgt-aperture-class-discontinuity.d.ts +15 -0
- package/dist/reference-codes/bhrgt-aperture-class-discontinuity.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-aperture-class-discontinuity.js +24 -0
- package/dist/reference-codes/bhrgt-aperture-class-discontinuity.js.map +1 -0
- package/dist/reference-codes/bhrgt-aperture-class.d.ts +15 -0
- package/dist/reference-codes/bhrgt-aperture-class.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-aperture-class.js +24 -0
- package/dist/reference-codes/bhrgt-aperture-class.js.map +1 -0
- package/dist/reference-codes/bhrgt-backfill-material.d.ts +15 -0
- package/dist/reference-codes/bhrgt-backfill-material.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-backfill-material.js +40 -0
- package/dist/reference-codes/bhrgt-backfill-material.js.map +1 -0
- package/dist/reference-codes/bhrgt-bedding.d.ts +15 -0
- package/dist/reference-codes/bhrgt-bedding.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-bedding.js +25 -0
- package/dist/reference-codes/bhrgt-bedding.js.map +1 -0
- package/dist/reference-codes/bhrgt-boring-procedure.d.ts +15 -0
- package/dist/reference-codes/bhrgt-boring-procedure.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-boring-procedure.js +22 -0
- package/dist/reference-codes/bhrgt-boring-procedure.js.map +1 -0
- package/dist/reference-codes/bhrgt-boring-technique.d.ts +15 -0
- package/dist/reference-codes/bhrgt-boring-technique.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-boring-technique.js +42 -0
- package/dist/reference-codes/bhrgt-boring-technique.js.map +1 -0
- package/dist/reference-codes/bhrgt-boundary-positioning-method.d.ts +15 -0
- package/dist/reference-codes/bhrgt-boundary-positioning-method.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-boundary-positioning-method.js +25 -0
- package/dist/reference-codes/bhrgt-boundary-positioning-method.js.map +1 -0
- package/dist/reference-codes/bhrgt-calculation-value-source.d.ts +15 -0
- package/dist/reference-codes/bhrgt-calculation-value-source.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-calculation-value-source.js +21 -0
- package/dist/reference-codes/bhrgt-calculation-value-source.js.map +1 -0
- package/dist/reference-codes/bhrgt-carbonate-content-class.d.ts +15 -0
- package/dist/reference-codes/bhrgt-carbonate-content-class.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-carbonate-content-class.js +25 -0
- package/dist/reference-codes/bhrgt-carbonate-content-class.js.map +1 -0
- package/dist/reference-codes/bhrgt-casing-material.d.ts +15 -0
- package/dist/reference-codes/bhrgt-casing-material.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-casing-material.js +25 -0
- package/dist/reference-codes/bhrgt-casing-material.js.map +1 -0
- package/dist/reference-codes/bhrgt-cement-type.d.ts +15 -0
- package/dist/reference-codes/bhrgt-cement-type.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-cement-type.js +23 -0
- package/dist/reference-codes/bhrgt-cement-type.js.map +1 -0
- package/dist/reference-codes/bhrgt-colour.d.ts +15 -0
- package/dist/reference-codes/bhrgt-colour.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-colour.js +50 -0
- package/dist/reference-codes/bhrgt-colour.js.map +1 -0
- package/dist/reference-codes/bhrgt-consolidation-method.d.ts +15 -0
- package/dist/reference-codes/bhrgt-consolidation-method.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-consolidation-method.js +22 -0
- package/dist/reference-codes/bhrgt-consolidation-method.js.map +1 -0
- package/dist/reference-codes/bhrgt-conus-type.d.ts +15 -0
- package/dist/reference-codes/bhrgt-conus-type.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-conus-type.js +20 -0
- package/dist/reference-codes/bhrgt-conus-type.js.map +1 -0
- package/dist/reference-codes/bhrgt-correction-method.d.ts +15 -0
- package/dist/reference-codes/bhrgt-correction-method.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-correction-method.js +21 -0
- package/dist/reference-codes/bhrgt-correction-method.js.map +1 -0
- package/dist/reference-codes/bhrgt-correction-reason.d.ts +15 -0
- package/dist/reference-codes/bhrgt-correction-reason.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-correction-reason.js +23 -0
- package/dist/reference-codes/bhrgt-correction-reason.js.map +1 -0
- package/dist/reference-codes/bhrgt-decomposition.d.ts +15 -0
- package/dist/reference-codes/bhrgt-decomposition.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-decomposition.js +21 -0
- package/dist/reference-codes/bhrgt-decomposition.js.map +1 -0
- package/dist/reference-codes/bhrgt-delivery-context.d.ts +15 -0
- package/dist/reference-codes/bhrgt-delivery-context.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-delivery-context.js +26 -0
- package/dist/reference-codes/bhrgt-delivery-context.js.map +1 -0
- package/dist/reference-codes/bhrgt-depositional-age.d.ts +15 -0
- package/dist/reference-codes/bhrgt-depositional-age.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-depositional-age.js +22 -0
- package/dist/reference-codes/bhrgt-depositional-age.js.map +1 -0
- package/dist/reference-codes/bhrgt-depositional-characteristic.d.ts +15 -0
- package/dist/reference-codes/bhrgt-depositional-characteristic.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-depositional-characteristic.js +34 -0
- package/dist/reference-codes/bhrgt-depositional-characteristic.js.map +1 -0
- package/dist/reference-codes/bhrgt-described-material.d.ts +15 -0
- package/dist/reference-codes/bhrgt-described-material.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-described-material.js +21 -0
- package/dist/reference-codes/bhrgt-described-material.js.map +1 -0
- package/dist/reference-codes/bhrgt-description-location.d.ts +15 -0
- package/dist/reference-codes/bhrgt-description-location.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-description-location.js +22 -0
- package/dist/reference-codes/bhrgt-description-location.js.map +1 -0
- package/dist/reference-codes/bhrgt-description-procedure.d.ts +15 -0
- package/dist/reference-codes/bhrgt-description-procedure.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-description-procedure.js +22 -0
- package/dist/reference-codes/bhrgt-description-procedure.js.map +1 -0
- package/dist/reference-codes/bhrgt-description-quality.d.ts +15 -0
- package/dist/reference-codes/bhrgt-description-quality.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-description-quality.js +23 -0
- package/dist/reference-codes/bhrgt-description-quality.js.map +1 -0
- package/dist/reference-codes/bhrgt-determination-diameter.d.ts +15 -0
- package/dist/reference-codes/bhrgt-determination-diameter.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-determination-diameter.js +26 -0
- package/dist/reference-codes/bhrgt-determination-diameter.js.map +1 -0
- package/dist/reference-codes/bhrgt-determination-method.d.ts +15 -0
- package/dist/reference-codes/bhrgt-determination-method.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-determination-method.js +48 -0
- package/dist/reference-codes/bhrgt-determination-method.js.map +1 -0
- package/dist/reference-codes/bhrgt-determination-procedure.d.ts +15 -0
- package/dist/reference-codes/bhrgt-determination-procedure.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-determination-procedure.js +34 -0
- package/dist/reference-codes/bhrgt-determination-procedure.js.map +1 -0
- package/dist/reference-codes/bhrgt-determined-properties.d.ts +15 -0
- package/dist/reference-codes/bhrgt-determined-properties.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-determined-properties.js +32 -0
- package/dist/reference-codes/bhrgt-determined-properties.js.map +1 -0
- package/dist/reference-codes/bhrgt-discipline.d.ts +15 -0
- package/dist/reference-codes/bhrgt-discipline.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-discipline.js +22 -0
- package/dist/reference-codes/bhrgt-discipline.js.map +1 -0
- package/dist/reference-codes/bhrgt-discolouration.d.ts +15 -0
- package/dist/reference-codes/bhrgt-discolouration.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-discolouration.js +21 -0
- package/dist/reference-codes/bhrgt-discolouration.js.map +1 -0
- package/dist/reference-codes/bhrgt-discontinuity-type.d.ts +15 -0
- package/dist/reference-codes/bhrgt-discontinuity-type.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-discontinuity-type.js +22 -0
- package/dist/reference-codes/bhrgt-discontinuity-type.js.map +1 -0
- package/dist/reference-codes/bhrgt-disintegration.d.ts +15 -0
- package/dist/reference-codes/bhrgt-disintegration.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-disintegration.js +21 -0
- package/dist/reference-codes/bhrgt-disintegration.js.map +1 -0
- package/dist/reference-codes/bhrgt-dispersed-inhomogeneity.d.ts +15 -0
- package/dist/reference-codes/bhrgt-dispersed-inhomogeneity.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-dispersed-inhomogeneity.js +49 -0
- package/dist/reference-codes/bhrgt-dispersed-inhomogeneity.js.map +1 -0
- package/dist/reference-codes/bhrgt-dispersion-method.d.ts +15 -0
- package/dist/reference-codes/bhrgt-dispersion-method.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-dispersion-method.js +21 -0
- package/dist/reference-codes/bhrgt-dispersion-method.js.map +1 -0
- package/dist/reference-codes/bhrgt-drainage-strip-coverage.d.ts +15 -0
- package/dist/reference-codes/bhrgt-drainage-strip-coverage.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-drainage-strip-coverage.js +23 -0
- package/dist/reference-codes/bhrgt-drainage-strip-coverage.js.map +1 -0
- package/dist/reference-codes/bhrgt-drainage-strip-orientation.d.ts +15 -0
- package/dist/reference-codes/bhrgt-drainage-strip-orientation.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-drainage-strip-orientation.js +21 -0
- package/dist/reference-codes/bhrgt-drainage-strip-orientation.js.map +1 -0
- package/dist/reference-codes/bhrgt-drying-period.d.ts +15 -0
- package/dist/reference-codes/bhrgt-drying-period.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-drying-period.js +21 -0
- package/dist/reference-codes/bhrgt-drying-period.js.map +1 -0
- package/dist/reference-codes/bhrgt-drying-temperature.d.ts +15 -0
- package/dist/reference-codes/bhrgt-drying-temperature.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-drying-temperature.js +21 -0
- package/dist/reference-codes/bhrgt-drying-temperature.js.map +1 -0
- package/dist/reference-codes/bhrgt-equivalent-mass-determination-method.d.ts +15 -0
- package/dist/reference-codes/bhrgt-equivalent-mass-determination-method.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-equivalent-mass-determination-method.js +21 -0
- package/dist/reference-codes/bhrgt-equivalent-mass-determination-method.js.map +1 -0
- package/dist/reference-codes/bhrgt-event-name.d.ts +15 -0
- package/dist/reference-codes/bhrgt-event-name.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-event-name.js +22 -0
- package/dist/reference-codes/bhrgt-event-name.js.map +1 -0
- package/dist/reference-codes/bhrgt-excavated-material.d.ts +15 -0
- package/dist/reference-codes/bhrgt-excavated-material.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-excavated-material.js +27 -0
- package/dist/reference-codes/bhrgt-excavated-material.js.map +1 -0
- package/dist/reference-codes/bhrgt-fine-gravel-content-class.d.ts +15 -0
- package/dist/reference-codes/bhrgt-fine-gravel-content-class.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-fine-gravel-content-class.js +23 -0
- package/dist/reference-codes/bhrgt-fine-gravel-content-class.js.map +1 -0
- package/dist/reference-codes/bhrgt-fine-soil-consistency.d.ts +15 -0
- package/dist/reference-codes/bhrgt-fine-soil-consistency.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-fine-soil-consistency.js +31 -0
- package/dist/reference-codes/bhrgt-fine-soil-consistency.js.map +1 -0
- package/dist/reference-codes/bhrgt-fluid-mud-layer-positioning-method.d.ts +15 -0
- package/dist/reference-codes/bhrgt-fluid-mud-layer-positioning-method.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-fluid-mud-layer-positioning-method.js +28 -0
- package/dist/reference-codes/bhrgt-fluid-mud-layer-positioning-method.js.map +1 -0
- package/dist/reference-codes/bhrgt-flushing-additive.d.ts +15 -0
- package/dist/reference-codes/bhrgt-flushing-additive.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-flushing-additive.js +24 -0
- package/dist/reference-codes/bhrgt-flushing-additive.js.map +1 -0
- package/dist/reference-codes/bhrgt-fraction-distribution.d.ts +15 -0
- package/dist/reference-codes/bhrgt-fraction-distribution.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-fraction-distribution.js +27 -0
- package/dist/reference-codes/bhrgt-fraction-distribution.js.map +1 -0
- package/dist/reference-codes/bhrgt-geotechnical-depositional-characteristic.d.ts +15 -0
- package/dist/reference-codes/bhrgt-geotechnical-depositional-characteristic.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-geotechnical-depositional-characteristic.js +34 -0
- package/dist/reference-codes/bhrgt-geotechnical-depositional-characteristic.js.map +1 -0
- package/dist/reference-codes/bhrgt-geotechnical-soil-name.d.ts +15 -0
- package/dist/reference-codes/bhrgt-geotechnical-soil-name.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-geotechnical-soil-name.js +79 -0
- package/dist/reference-codes/bhrgt-geotechnical-soil-name.js.map +1 -0
- package/dist/reference-codes/bhrgt-gravel-content-class-nen5104.d.ts +15 -0
- package/dist/reference-codes/bhrgt-gravel-content-class-nen5104.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-gravel-content-class-nen5104.js +22 -0
- package/dist/reference-codes/bhrgt-gravel-content-class-nen5104.js.map +1 -0
- package/dist/reference-codes/bhrgt-gravel-content-class.d.ts +15 -0
- package/dist/reference-codes/bhrgt-gravel-content-class.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-gravel-content-class.js +22 -0
- package/dist/reference-codes/bhrgt-gravel-content-class.js.map +1 -0
- package/dist/reference-codes/bhrgt-gravel-median-class.d.ts +15 -0
- package/dist/reference-codes/bhrgt-gravel-median-class.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-gravel-median-class.js +24 -0
- package/dist/reference-codes/bhrgt-gravel-median-class.js.map +1 -0
- package/dist/reference-codes/bhrgt-horizontal-positioning-method.d.ts +15 -0
- package/dist/reference-codes/bhrgt-horizontal-positioning-method.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-horizontal-positioning-method.js +38 -0
- package/dist/reference-codes/bhrgt-horizontal-positioning-method.js.map +1 -0
- package/dist/reference-codes/bhrgt-infill-material.d.ts +15 -0
- package/dist/reference-codes/bhrgt-infill-material.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-infill-material.js +26 -0
- package/dist/reference-codes/bhrgt-infill-material.js.map +1 -0
- package/dist/reference-codes/bhrgt-interbedding.d.ts +15 -0
- package/dist/reference-codes/bhrgt-interbedding.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-interbedding.js +169 -0
- package/dist/reference-codes/bhrgt-interbedding.js.map +1 -0
- package/dist/reference-codes/bhrgt-lateral-support.d.ts +15 -0
- package/dist/reference-codes/bhrgt-lateral-support.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-lateral-support.js +20 -0
- package/dist/reference-codes/bhrgt-lateral-support.js.map +1 -0
- package/dist/reference-codes/bhrgt-local-vertical-reference-point.d.ts +15 -0
- package/dist/reference-codes/bhrgt-local-vertical-reference-point.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-local-vertical-reference-point.js +20 -0
- package/dist/reference-codes/bhrgt-local-vertical-reference-point.js.map +1 -0
- package/dist/reference-codes/bhrgt-making-method.d.ts +15 -0
- package/dist/reference-codes/bhrgt-making-method.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-making-method.js +26 -0
- package/dist/reference-codes/bhrgt-making-method.js.map +1 -0
- package/dist/reference-codes/bhrgt-mass-percentage-class.d.ts +15 -0
- package/dist/reference-codes/bhrgt-mass-percentage-class.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-mass-percentage-class.js +23 -0
- package/dist/reference-codes/bhrgt-mass-percentage-class.js.map +1 -0
- package/dist/reference-codes/bhrgt-material-irregularity.d.ts +15 -0
- package/dist/reference-codes/bhrgt-material-irregularity.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-material-irregularity.js +24 -0
- package/dist/reference-codes/bhrgt-material-irregularity.js.map +1 -0
- package/dist/reference-codes/bhrgt-medium-coarse-gravel-content-class.d.ts +15 -0
- package/dist/reference-codes/bhrgt-medium-coarse-gravel-content-class.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-medium-coarse-gravel-content-class.js +23 -0
- package/dist/reference-codes/bhrgt-medium-coarse-gravel-content-class.js.map +1 -0
- package/dist/reference-codes/bhrgt-mixing-type.d.ts +15 -0
- package/dist/reference-codes/bhrgt-mixing-type.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-mixing-type.js +21 -0
- package/dist/reference-codes/bhrgt-mixing-type.js.map +1 -0
- package/dist/reference-codes/bhrgt-no-description-reason.d.ts +15 -0
- package/dist/reference-codes/bhrgt-no-description-reason.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-no-description-reason.js +25 -0
- package/dist/reference-codes/bhrgt-no-description-reason.js.map +1 -0
- package/dist/reference-codes/bhrgt-organic-matter-content-class-nen5104.d.ts +15 -0
- package/dist/reference-codes/bhrgt-organic-matter-content-class-nen5104.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-organic-matter-content-class-nen5104.js +22 -0
- package/dist/reference-codes/bhrgt-organic-matter-content-class-nen5104.js.map +1 -0
- package/dist/reference-codes/bhrgt-organic-matter-content-class.d.ts +15 -0
- package/dist/reference-codes/bhrgt-organic-matter-content-class.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-organic-matter-content-class.js +21 -0
- package/dist/reference-codes/bhrgt-organic-matter-content-class.js.map +1 -0
- package/dist/reference-codes/bhrgt-organic-soil-consistency.d.ts +15 -0
- package/dist/reference-codes/bhrgt-organic-soil-consistency.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-organic-soil-consistency.js +24 -0
- package/dist/reference-codes/bhrgt-organic-soil-consistency.js.map +1 -0
- package/dist/reference-codes/bhrgt-organic-soil-texture.d.ts +15 -0
- package/dist/reference-codes/bhrgt-organic-soil-texture.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-organic-soil-texture.js +28 -0
- package/dist/reference-codes/bhrgt-organic-soil-texture.js.map +1 -0
- package/dist/reference-codes/bhrgt-particular-constituent-type.d.ts +15 -0
- package/dist/reference-codes/bhrgt-particular-constituent-type.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-particular-constituent-type.js +60 -0
- package/dist/reference-codes/bhrgt-particular-constituent-type.js.map +1 -0
- package/dist/reference-codes/bhrgt-peat-tensile-strength.d.ts +15 -0
- package/dist/reference-codes/bhrgt-peat-tensile-strength.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-peat-tensile-strength.js +22 -0
- package/dist/reference-codes/bhrgt-peat-tensile-strength.js.map +1 -0
- package/dist/reference-codes/bhrgt-peat-type.d.ts +15 -0
- package/dist/reference-codes/bhrgt-peat-type.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-peat-type.js +26 -0
- package/dist/reference-codes/bhrgt-peat-type.js.map +1 -0
- package/dist/reference-codes/bhrgt-performance-irregularity.d.ts +15 -0
- package/dist/reference-codes/bhrgt-performance-irregularity.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-performance-irregularity.js +32 -0
- package/dist/reference-codes/bhrgt-performance-irregularity.js.map +1 -0
- package/dist/reference-codes/bhrgt-position-on-ground-body.d.ts +15 -0
- package/dist/reference-codes/bhrgt-position-on-ground-body.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-position-on-ground-body.js +23 -0
- package/dist/reference-codes/bhrgt-position-on-ground-body.js.map +1 -0
- package/dist/reference-codes/bhrgt-pre-treatment.d.ts +15 -0
- package/dist/reference-codes/bhrgt-pre-treatment.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-pre-treatment.js +23 -0
- package/dist/reference-codes/bhrgt-pre-treatment.js.map +1 -0
- package/dist/reference-codes/bhrgt-preparation.d.ts +15 -0
- package/dist/reference-codes/bhrgt-preparation.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-preparation.js +25 -0
- package/dist/reference-codes/bhrgt-preparation.js.map +1 -0
- package/dist/reference-codes/bhrgt-removed-material.d.ts +15 -0
- package/dist/reference-codes/bhrgt-removed-material.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-removed-material.js +28 -0
- package/dist/reference-codes/bhrgt-removed-material.js.map +1 -0
- package/dist/reference-codes/bhrgt-result-irregularity.d.ts +15 -0
- package/dist/reference-codes/bhrgt-result-irregularity.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-result-irregularity.js +19 -0
- package/dist/reference-codes/bhrgt-result-irregularity.js.map +1 -0
- package/dist/reference-codes/bhrgt-ring-diameter.d.ts +15 -0
- package/dist/reference-codes/bhrgt-ring-diameter.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-ring-diameter.js +20 -0
- package/dist/reference-codes/bhrgt-ring-diameter.js.map +1 -0
- package/dist/reference-codes/bhrgt-rock-type.d.ts +15 -0
- package/dist/reference-codes/bhrgt-rock-type.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-rock-type.js +42 -0
- package/dist/reference-codes/bhrgt-rock-type.js.map +1 -0
- package/dist/reference-codes/bhrgt-roughness.d.ts +15 -0
- package/dist/reference-codes/bhrgt-roughness.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-roughness.js +20 -0
- package/dist/reference-codes/bhrgt-roughness.js.map +1 -0
- package/dist/reference-codes/bhrgt-salt-correction-method.d.ts +15 -0
- package/dist/reference-codes/bhrgt-salt-correction-method.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-salt-correction-method.js +21 -0
- package/dist/reference-codes/bhrgt-salt-correction-method.js.map +1 -0
- package/dist/reference-codes/bhrgt-sample-container-volume.d.ts +15 -0
- package/dist/reference-codes/bhrgt-sample-container-volume.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-sample-container-volume.js +20 -0
- package/dist/reference-codes/bhrgt-sample-container-volume.js.map +1 -0
- package/dist/reference-codes/bhrgt-sample-moistness.d.ts +15 -0
- package/dist/reference-codes/bhrgt-sample-moistness.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-sample-moistness.js +22 -0
- package/dist/reference-codes/bhrgt-sample-moistness.js.map +1 -0
- package/dist/reference-codes/bhrgt-sample-quality.d.ts +15 -0
- package/dist/reference-codes/bhrgt-sample-quality.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-sample-quality.js +23 -0
- package/dist/reference-codes/bhrgt-sample-quality.js.map +1 -0
- package/dist/reference-codes/bhrgt-sampler-type.d.ts +15 -0
- package/dist/reference-codes/bhrgt-sampler-type.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-sampler-type.js +26 -0
- package/dist/reference-codes/bhrgt-sampler-type.js.map +1 -0
- package/dist/reference-codes/bhrgt-sampling-method.d.ts +15 -0
- package/dist/reference-codes/bhrgt-sampling-method.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-sampling-method.js +34 -0
- package/dist/reference-codes/bhrgt-sampling-method.js.map +1 -0
- package/dist/reference-codes/bhrgt-sampling-procedure.d.ts +15 -0
- package/dist/reference-codes/bhrgt-sampling-procedure.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-sampling-procedure.js +24 -0
- package/dist/reference-codes/bhrgt-sampling-procedure.js.map +1 -0
- package/dist/reference-codes/bhrgt-sampling-quality.d.ts +15 -0
- package/dist/reference-codes/bhrgt-sampling-quality.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-sampling-quality.js +27 -0
- package/dist/reference-codes/bhrgt-sampling-quality.js.map +1 -0
- package/dist/reference-codes/bhrgt-sand-median-class.d.ts +15 -0
- package/dist/reference-codes/bhrgt-sand-median-class.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-sand-median-class.js +33 -0
- package/dist/reference-codes/bhrgt-sand-median-class.js.map +1 -0
- package/dist/reference-codes/bhrgt-sand-sorting-nen5104.d.ts +15 -0
- package/dist/reference-codes/bhrgt-sand-sorting-nen5104.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-sand-sorting-nen5104.js +23 -0
- package/dist/reference-codes/bhrgt-sand-sorting-nen5104.js.map +1 -0
- package/dist/reference-codes/bhrgt-sand-sorting.d.ts +15 -0
- package/dist/reference-codes/bhrgt-sand-sorting.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-sand-sorting.js +23 -0
- package/dist/reference-codes/bhrgt-sand-sorting.js.map +1 -0
- package/dist/reference-codes/bhrgt-size-fraction.d.ts +15 -0
- package/dist/reference-codes/bhrgt-size-fraction.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-size-fraction.js +22 -0
- package/dist/reference-codes/bhrgt-size-fraction.js.map +1 -0
- package/dist/reference-codes/bhrgt-soil-name-nen5104.d.ts +15 -0
- package/dist/reference-codes/bhrgt-soil-name-nen5104.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-soil-name-nen5104.js +49 -0
- package/dist/reference-codes/bhrgt-soil-name-nen5104.js.map +1 -0
- package/dist/reference-codes/bhrgt-soil-use.d.ts +15 -0
- package/dist/reference-codes/bhrgt-soil-use.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-soil-use.js +30 -0
- package/dist/reference-codes/bhrgt-soil-use.js.map +1 -0
- package/dist/reference-codes/bhrgt-special-material.d.ts +15 -0
- package/dist/reference-codes/bhrgt-special-material.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-special-material.js +42 -0
- package/dist/reference-codes/bhrgt-special-material.js.map +1 -0
- package/dist/reference-codes/bhrgt-specimen-shape.d.ts +15 -0
- package/dist/reference-codes/bhrgt-specimen-shape.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-specimen-shape.js +23 -0
- package/dist/reference-codes/bhrgt-specimen-shape.js.map +1 -0
- package/dist/reference-codes/bhrgt-sphericity.d.ts +15 -0
- package/dist/reference-codes/bhrgt-sphericity.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-sphericity.js +21 -0
- package/dist/reference-codes/bhrgt-sphericity.js.map +1 -0
- package/dist/reference-codes/bhrgt-stability.d.ts +15 -0
- package/dist/reference-codes/bhrgt-stability.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-stability.js +21 -0
- package/dist/reference-codes/bhrgt-stability.js.map +1 -0
- package/dist/reference-codes/bhrgt-step-type.d.ts +15 -0
- package/dist/reference-codes/bhrgt-step-type.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-step-type.js +21 -0
- package/dist/reference-codes/bhrgt-step-type.js.map +1 -0
- package/dist/reference-codes/bhrgt-stiffness-class-membrane.d.ts +15 -0
- package/dist/reference-codes/bhrgt-stiffness-class-membrane.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-stiffness-class-membrane.js +23 -0
- package/dist/reference-codes/bhrgt-stiffness-class-membrane.js.map +1 -0
- package/dist/reference-codes/bhrgt-stop-criterion-determination.d.ts +15 -0
- package/dist/reference-codes/bhrgt-stop-criterion-determination.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-stop-criterion-determination.js +21 -0
- package/dist/reference-codes/bhrgt-stop-criterion-determination.js.map +1 -0
- package/dist/reference-codes/bhrgt-stop-criterion-field.d.ts +15 -0
- package/dist/reference-codes/bhrgt-stop-criterion-field.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-stop-criterion-field.js +32 -0
- package/dist/reference-codes/bhrgt-stop-criterion-field.js.map +1 -0
- package/dist/reference-codes/bhrgt-stop-criterion.d.ts +15 -0
- package/dist/reference-codes/bhrgt-stop-criterion.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-stop-criterion.js +32 -0
- package/dist/reference-codes/bhrgt-stop-criterion.js.map +1 -0
- package/dist/reference-codes/bhrgt-strength-class.d.ts +15 -0
- package/dist/reference-codes/bhrgt-strength-class.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-strength-class.js +25 -0
- package/dist/reference-codes/bhrgt-strength-class.js.map +1 -0
- package/dist/reference-codes/bhrgt-survey-procedure.d.ts +15 -0
- package/dist/reference-codes/bhrgt-survey-procedure.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-survey-procedure.js +22 -0
- package/dist/reference-codes/bhrgt-survey-procedure.js.map +1 -0
- package/dist/reference-codes/bhrgt-survey-purpose.d.ts +15 -0
- package/dist/reference-codes/bhrgt-survey-purpose.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-survey-purpose.js +32 -0
- package/dist/reference-codes/bhrgt-survey-purpose.js.map +1 -0
- package/dist/reference-codes/bhrgt-temporary-change.d.ts +15 -0
- package/dist/reference-codes/bhrgt-temporary-change.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-temporary-change.js +25 -0
- package/dist/reference-codes/bhrgt-temporary-change.js.map +1 -0
- package/dist/reference-codes/bhrgt-tertiary-constituent.d.ts +15 -0
- package/dist/reference-codes/bhrgt-tertiary-constituent.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-tertiary-constituent.js +64 -0
- package/dist/reference-codes/bhrgt-tertiary-constituent.js.map +1 -0
- package/dist/reference-codes/bhrgt-tertiary-rock-constituent.d.ts +15 -0
- package/dist/reference-codes/bhrgt-tertiary-rock-constituent.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-tertiary-rock-constituent.js +27 -0
- package/dist/reference-codes/bhrgt-tertiary-rock-constituent.js.map +1 -0
- package/dist/reference-codes/bhrgt-used-medium.d.ts +15 -0
- package/dist/reference-codes/bhrgt-used-medium.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-used-medium.js +31 -0
- package/dist/reference-codes/bhrgt-used-medium.js.map +1 -0
- package/dist/reference-codes/bhrgt-used-optical-model.d.ts +15 -0
- package/dist/reference-codes/bhrgt-used-optical-model.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-used-optical-model.js +20 -0
- package/dist/reference-codes/bhrgt-used-optical-model.js.map +1 -0
- package/dist/reference-codes/bhrgt-vertical-datum.d.ts +15 -0
- package/dist/reference-codes/bhrgt-vertical-datum.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-vertical-datum.js +21 -0
- package/dist/reference-codes/bhrgt-vertical-datum.js.map +1 -0
- package/dist/reference-codes/bhrgt-vertical-positioning-method.d.ts +15 -0
- package/dist/reference-codes/bhrgt-vertical-positioning-method.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-vertical-positioning-method.js +43 -0
- package/dist/reference-codes/bhrgt-vertical-positioning-method.js.map +1 -0
- package/dist/reference-codes/bhrgt-very-coarse-gravel-content-class.d.ts +15 -0
- package/dist/reference-codes/bhrgt-very-coarse-gravel-content-class.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-very-coarse-gravel-content-class.js +23 -0
- package/dist/reference-codes/bhrgt-very-coarse-gravel-content-class.js.map +1 -0
- package/dist/reference-codes/bhrgt-void-distribution.d.ts +15 -0
- package/dist/reference-codes/bhrgt-void-distribution.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-void-distribution.js +20 -0
- package/dist/reference-codes/bhrgt-void-distribution.js.map +1 -0
- package/dist/reference-codes/bhrgt-wall-friction-correction-method.d.ts +15 -0
- package/dist/reference-codes/bhrgt-wall-friction-correction-method.d.ts.map +1 -0
- package/dist/reference-codes/bhrgt-wall-friction-correction-method.js +21 -0
- package/dist/reference-codes/bhrgt-wall-friction-correction-method.js.map +1 -0
- package/dist/reference-codes/cpt-coord-transformation.d.ts +15 -0
- package/dist/reference-codes/cpt-coord-transformation.d.ts.map +1 -0
- package/dist/reference-codes/cpt-coord-transformation.js +23 -0
- package/dist/reference-codes/cpt-coord-transformation.js.map +1 -0
- package/dist/reference-codes/cpt-correction-reason.d.ts +15 -0
- package/dist/reference-codes/cpt-correction-reason.d.ts.map +1 -0
- package/dist/reference-codes/cpt-correction-reason.js +23 -0
- package/dist/reference-codes/cpt-correction-reason.js.map +1 -0
- package/dist/reference-codes/cpt-cpt-method.d.ts +15 -0
- package/dist/reference-codes/cpt-cpt-method.d.ts.map +1 -0
- package/dist/reference-codes/cpt-cpt-method.js +25 -0
- package/dist/reference-codes/cpt-cpt-method.js.map +1 -0
- package/dist/reference-codes/cpt-cpt-standard.d.ts +15 -0
- package/dist/reference-codes/cpt-cpt-standard.d.ts.map +1 -0
- package/dist/reference-codes/cpt-cpt-standard.js +24 -0
- package/dist/reference-codes/cpt-cpt-standard.js.map +1 -0
- package/dist/reference-codes/cpt-delivery-context.d.ts +15 -0
- package/dist/reference-codes/cpt-delivery-context.d.ts.map +1 -0
- package/dist/reference-codes/cpt-delivery-context.js +22 -0
- package/dist/reference-codes/cpt-delivery-context.js.map +1 -0
- package/dist/reference-codes/cpt-horizontal-crs.d.ts +15 -0
- package/dist/reference-codes/cpt-horizontal-crs.d.ts.map +1 -0
- package/dist/reference-codes/cpt-horizontal-crs.js +21 -0
- package/dist/reference-codes/cpt-horizontal-crs.js.map +1 -0
- package/dist/reference-codes/cpt-horizontal-positioning-method.d.ts +15 -0
- package/dist/reference-codes/cpt-horizontal-positioning-method.d.ts.map +1 -0
- package/dist/reference-codes/cpt-horizontal-positioning-method.js +34 -0
- package/dist/reference-codes/cpt-horizontal-positioning-method.js.map +1 -0
- package/dist/reference-codes/cpt-local-vertical-reference-point.d.ts +15 -0
- package/dist/reference-codes/cpt-local-vertical-reference-point.d.ts.map +1 -0
- package/dist/reference-codes/cpt-local-vertical-reference-point.js +20 -0
- package/dist/reference-codes/cpt-local-vertical-reference-point.js.map +1 -0
- package/dist/reference-codes/cpt-quality-class.d.ts +15 -0
- package/dist/reference-codes/cpt-quality-class.d.ts.map +1 -0
- package/dist/reference-codes/cpt-quality-class.js +27 -0
- package/dist/reference-codes/cpt-quality-class.js.map +1 -0
- package/dist/reference-codes/cpt-registration-status.d.ts +15 -0
- package/dist/reference-codes/cpt-registration-status.d.ts.map +1 -0
- package/dist/reference-codes/cpt-registration-status.js +19 -0
- package/dist/reference-codes/cpt-registration-status.js.map +1 -0
- package/dist/reference-codes/cpt-stop-criterion.d.ts +15 -0
- package/dist/reference-codes/cpt-stop-criterion.d.ts.map +1 -0
- package/dist/reference-codes/cpt-stop-criterion.js +28 -0
- package/dist/reference-codes/cpt-stop-criterion.js.map +1 -0
- package/dist/reference-codes/cpt-survey-purpose.d.ts +15 -0
- package/dist/reference-codes/cpt-survey-purpose.d.ts.map +1 -0
- package/dist/reference-codes/cpt-survey-purpose.js +27 -0
- package/dist/reference-codes/cpt-survey-purpose.js.map +1 -0
- package/dist/reference-codes/cpt-vertical-datum.d.ts +15 -0
- package/dist/reference-codes/cpt-vertical-datum.d.ts.map +1 -0
- package/dist/reference-codes/cpt-vertical-datum.js +21 -0
- package/dist/reference-codes/cpt-vertical-datum.js.map +1 -0
- package/dist/reference-codes/cpt-vertical-positioning-method.d.ts +15 -0
- package/dist/reference-codes/cpt-vertical-positioning-method.d.ts.map +1 -0
- package/dist/reference-codes/cpt-vertical-positioning-method.js +39 -0
- package/dist/reference-codes/cpt-vertical-positioning-method.js.map +1 -0
- package/dist/reference-codes/index.d.ts +256 -0
- package/dist/reference-codes/index.d.ts.map +1 -0
- package/dist/reference-codes/index.js +256 -0
- package/dist/reference-codes/index.js.map +1 -0
- package/dist/resolvers/bhrg-resolvers.d.ts +46 -0
- package/dist/resolvers/bhrg-resolvers.d.ts.map +1 -0
- package/dist/resolvers/bhrg-resolvers.js +172 -0
- package/dist/resolvers/bhrg-resolvers.js.map +1 -0
- package/dist/resolvers/bore-resolver-utils.d.ts +196 -0
- package/dist/resolvers/bore-resolver-utils.d.ts.map +1 -0
- package/dist/resolvers/bore-resolver-utils.js +271 -0
- package/dist/resolvers/bore-resolver-utils.js.map +1 -0
- package/dist/resolvers/bore-resolver.d.ts +25 -0
- package/dist/resolvers/bore-resolver.d.ts.map +1 -0
- package/dist/resolvers/bore-resolver.js +229 -0
- package/dist/resolvers/bore-resolver.js.map +1 -0
- package/dist/resolvers/bore-resolvers.d.ts +71 -0
- package/dist/resolvers/bore-resolvers.d.ts.map +1 -0
- package/dist/resolvers/bore-resolvers.js +961 -0
- package/dist/resolvers/bore-resolvers.js.map +1 -0
- package/dist/resolvers/gml-resolvers.d.ts +16 -0
- package/dist/resolvers/gml-resolvers.d.ts.map +1 -0
- package/dist/resolvers/gml-resolvers.js +58 -0
- package/dist/resolvers/gml-resolvers.js.map +1 -0
- package/dist/resolvers/measurement-resolver.d.ts +15 -0
- package/dist/resolvers/measurement-resolver.d.ts.map +1 -0
- package/dist/resolvers/measurement-resolver.js +113 -0
- package/dist/resolvers/measurement-resolver.js.map +1 -0
- package/dist/resolvers/type-resolvers.d.ts +28 -0
- package/dist/resolvers/type-resolvers.d.ts.map +1 -0
- package/dist/resolvers/type-resolvers.js +108 -0
- package/dist/resolvers/type-resolvers.js.map +1 -0
- package/dist/resolvers.d.ts +32 -0
- package/dist/resolvers.d.ts.map +1 -0
- package/dist/resolvers.js +37 -0
- package/dist/resolvers.js.map +1 -0
- package/dist/schema-presets.d.ts +59 -0
- package/dist/schema-presets.d.ts.map +1 -0
- package/dist/schema-presets.js +184 -0
- package/dist/schema-presets.js.map +1 -0
- package/dist/schemas/bhrg-schema.d.ts +13 -0
- package/dist/schemas/bhrg-schema.d.ts.map +1 -0
- package/dist/schemas/bhrg-schema.js +168 -0
- package/dist/schemas/bhrg-schema.js.map +1 -0
- package/dist/schemas/bore-schema.d.ts +13 -0
- package/dist/schemas/bore-schema.d.ts.map +1 -0
- package/dist/schemas/bore-schema.js +237 -0
- package/dist/schemas/bore-schema.js.map +1 -0
- package/dist/schemas/cpt-schema.d.ts +13 -0
- package/dist/schemas/cpt-schema.d.ts.map +1 -0
- package/dist/schemas/cpt-schema.js +205 -0
- package/dist/schemas/cpt-schema.js.map +1 -0
- package/dist/types/index.d.ts +917 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +15 -0
- package/dist/types/index.js.map +1 -0
- package/package.json +109 -0
|
@@ -0,0 +1,961 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Resolvers for BHR-GT (Geotechnical Borehole) data
|
|
3
|
+
*
|
|
4
|
+
* Functions to parse and convert bore-specific data structures
|
|
5
|
+
*/
|
|
6
|
+
// Import shared utilities
|
|
7
|
+
import { createXPathTextGetter, createNamespaceResolver, createLayerParser, getTextContent, findChildElement, extractArray, parseCSVPairs, parseCSVRows, } from "./bore-resolver-utils.js";
|
|
8
|
+
// Import type resolvers
|
|
9
|
+
import { parseBoolean as parseBoole, parseFloat as parseFloatValue, } from "./type-resolvers.js";
|
|
10
|
+
/**
|
|
11
|
+
* Parse ja/nee boolean field
|
|
12
|
+
* Returns true for 'ja'/'yes', false for 'nee'/'no', null if not present
|
|
13
|
+
*/
|
|
14
|
+
function parseJaNee(text) {
|
|
15
|
+
if (text === null)
|
|
16
|
+
return null;
|
|
17
|
+
const lower = text.toLowerCase();
|
|
18
|
+
if (lower === "ja" || lower === "yes")
|
|
19
|
+
return true;
|
|
20
|
+
if (lower === "nee" || lower === "no")
|
|
21
|
+
return false;
|
|
22
|
+
return null;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Parse dispersedInhomogeneity field
|
|
26
|
+
* Special case: 'geen' (none) means false, any other value means true
|
|
27
|
+
*/
|
|
28
|
+
function parseDispersedInhomogeneity(text) {
|
|
29
|
+
if (text === null)
|
|
30
|
+
return null;
|
|
31
|
+
const lower = text.toLowerCase();
|
|
32
|
+
// 'geen' means no dispersed inhomogeneity
|
|
33
|
+
if (lower === "geen")
|
|
34
|
+
return false;
|
|
35
|
+
// Any other value indicates presence of dispersed inhomogeneity
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Process bore layer data from descriptiveBoreholeLog element
|
|
40
|
+
*
|
|
41
|
+
* Uses createLayerParser factory to extract layer elements and convert
|
|
42
|
+
* them to BHRGTLayer objects with depth boundaries and soil classification.
|
|
43
|
+
*
|
|
44
|
+
* Extracts all coded fields from BHR-GT layers including:
|
|
45
|
+
* - Boundary determination methods (how boundaries were positioned)
|
|
46
|
+
* - Anthropogenic indicator (whether layer is man-made)
|
|
47
|
+
* - Tertiary soil constituent
|
|
48
|
+
* - Grain shape properties for coarse fractions
|
|
49
|
+
*/
|
|
50
|
+
export const processBHRGTLayerData = createLayerParser({
|
|
51
|
+
layerXPath: ".//bhrgtcom:layer",
|
|
52
|
+
requiredFields: {
|
|
53
|
+
upperBoundary: "./bhrgtcom:upperBoundary",
|
|
54
|
+
lowerBoundary: "./bhrgtcom:lowerBoundary",
|
|
55
|
+
soilName: "./bhrgtcom:soil/bhrgtcom:geotechnicalSoilName",
|
|
56
|
+
soilNameKey: "geotechnicalSoilName",
|
|
57
|
+
},
|
|
58
|
+
optionalFields: [
|
|
59
|
+
// Layer-level fields (outside <soil>)
|
|
60
|
+
{
|
|
61
|
+
xpath: "./bhrgtcom:upperBoundaryDetermination",
|
|
62
|
+
key: "upperBoundaryDetermination",
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
xpath: "./bhrgtcom:lowerBoundaryDetermination",
|
|
66
|
+
key: "lowerBoundaryDetermination",
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
xpath: "./bhrgtcom:anthropogenic",
|
|
70
|
+
key: "anthropogenic",
|
|
71
|
+
transform: parseJaNee,
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
xpath: "./bhrgtcom:slant",
|
|
75
|
+
key: "slant",
|
|
76
|
+
transform: parseJaNee,
|
|
77
|
+
},
|
|
78
|
+
// Soil-level fields (inside <soil>)
|
|
79
|
+
{
|
|
80
|
+
xpath: "./bhrgtcom:soil/bhrgtcom:tertiaryConstituent",
|
|
81
|
+
key: "tertiaryConstituent",
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
xpath: "./bhrgtcom:soil/bhrgtcom:colour",
|
|
85
|
+
key: "color",
|
|
86
|
+
omitIfEmpty: true,
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
xpath: "./bhrgtcom:soil/bhrgtcom:dispersedInhomogeneity",
|
|
90
|
+
key: "dispersedInhomogeneity",
|
|
91
|
+
transform: parseDispersedInhomogeneity,
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
xpath: "./bhrgtcom:soil/bhrgtcom:organicMatterContentClass",
|
|
95
|
+
key: "organicMatterContentClass",
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
xpath: "./bhrgtcom:soil/bhrgtcom:carbonateContentClass",
|
|
99
|
+
key: "carbonateContentClass",
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
xpath: "./bhrgtcom:soil/bhrgtcom:sandMedianClass",
|
|
103
|
+
key: "sandMedianClass",
|
|
104
|
+
},
|
|
105
|
+
// Layer structure properties (at layer level)
|
|
106
|
+
{
|
|
107
|
+
xpath: "./bhrgtcom:bedded",
|
|
108
|
+
key: "bedded",
|
|
109
|
+
transform: parseJaNee,
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
xpath: "./bhrgtcom:internalStructureIntact",
|
|
113
|
+
key: "internalStructureIntact",
|
|
114
|
+
transform: parseJaNee,
|
|
115
|
+
},
|
|
116
|
+
// Soil structure properties (inside <soil>)
|
|
117
|
+
{
|
|
118
|
+
xpath: "./bhrgtcom:soil/bhrgtcom:mixed",
|
|
119
|
+
key: "mixed",
|
|
120
|
+
transform: parseJaNee,
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
xpath: "./bhrgtcom:soil/bhrgtcom:mottled",
|
|
124
|
+
key: "mottled",
|
|
125
|
+
transform: parseJaNee,
|
|
126
|
+
},
|
|
127
|
+
// Fine-grained soil consistency
|
|
128
|
+
{
|
|
129
|
+
xpath: "./bhrgtcom:soil/bhrgtcom:fineSoilConsistency",
|
|
130
|
+
key: "fineSoilConsistency",
|
|
131
|
+
},
|
|
132
|
+
// Organic soil properties
|
|
133
|
+
{
|
|
134
|
+
xpath: "./bhrgtcom:soil/bhrgtcom:organicSoilConsistency",
|
|
135
|
+
key: "organicSoilConsistency",
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
xpath: "./bhrgtcom:soil/bhrgtcom:organicSoilTexture",
|
|
139
|
+
key: "organicSoilTexture",
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
xpath: "./bhrgtcom:soil/bhrgtcom:peatTensileStrength",
|
|
143
|
+
key: "peatTensileStrength",
|
|
144
|
+
},
|
|
145
|
+
],
|
|
146
|
+
// Extract nested grainshape object
|
|
147
|
+
postProcess: (layerNode, layer, adapter, namespaces) => {
|
|
148
|
+
const nsResolver = createNamespaceResolver(namespaces);
|
|
149
|
+
const grainshapeNode = adapter.evaluateXPath(layerNode, "./bhrgtcom:soil/bhrgtcom:grainshape", nsResolver);
|
|
150
|
+
if (grainshapeNode) {
|
|
151
|
+
const getText = createXPathTextGetter(grainshapeNode, adapter, namespaces);
|
|
152
|
+
const grainshape = {
|
|
153
|
+
sizeFraction: getText("./bhrgtcom:sizeFraction"),
|
|
154
|
+
angularity: getText("./bhrgtcom:angularity"),
|
|
155
|
+
sphericity: getText("./bhrgtcom:sphericity"),
|
|
156
|
+
};
|
|
157
|
+
layer.grainshape = grainshape;
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
});
|
|
161
|
+
/**
|
|
162
|
+
* Adapter for parseBoolean to handle our specific needs
|
|
163
|
+
*/
|
|
164
|
+
function parseBoolean(text) {
|
|
165
|
+
return parseBoole(text || null);
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* Adapter for parseFloat to handle our specific needs
|
|
169
|
+
*/
|
|
170
|
+
function parseFloat(text) {
|
|
171
|
+
return parseFloatValue(text || null);
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* Empty structure constants for determinations
|
|
175
|
+
*/
|
|
176
|
+
const EMPTY_CONSISTENCY_LIMITS = {
|
|
177
|
+
determinationProcedure: null,
|
|
178
|
+
determinationMethod: null,
|
|
179
|
+
fractionLarger500um: null,
|
|
180
|
+
usedMedium: null,
|
|
181
|
+
performanceIrregularity: null,
|
|
182
|
+
liquidLimit: null,
|
|
183
|
+
plasticLimit: null,
|
|
184
|
+
plasticityIndex: null,
|
|
185
|
+
plasticityAtSpecificWaterContent: [],
|
|
186
|
+
};
|
|
187
|
+
const EMPTY_SETTLEMENT_CHARACTERISTICS = {
|
|
188
|
+
determinationProcedure: null,
|
|
189
|
+
determinationMethod: null,
|
|
190
|
+
ringDiameter: null,
|
|
191
|
+
sampleMoistness: null,
|
|
192
|
+
filterPaperUsed: null,
|
|
193
|
+
temperature: null,
|
|
194
|
+
wallFrictionCorrectionMethod: null,
|
|
195
|
+
apparatusDeformationApplied: null,
|
|
196
|
+
bearingFrictionCorrectionApplied: null,
|
|
197
|
+
irregularResult: null,
|
|
198
|
+
determinationSteps: [],
|
|
199
|
+
};
|
|
200
|
+
const EMPTY_SATURATED_PERMEABILITY = {
|
|
201
|
+
determinationProcedure: null,
|
|
202
|
+
determinationMethod: null,
|
|
203
|
+
specimenMade: null,
|
|
204
|
+
saturatedWithCO2: null,
|
|
205
|
+
verticallyDetermined: null,
|
|
206
|
+
currentDownwards: null,
|
|
207
|
+
usedMedium: null,
|
|
208
|
+
waterDegassed: null,
|
|
209
|
+
temperature: null,
|
|
210
|
+
maximumGradient: null,
|
|
211
|
+
saturatedPermeabilityAtSpecificDensity: [],
|
|
212
|
+
};
|
|
213
|
+
/**
|
|
214
|
+
* Parse water content determination from XML node
|
|
215
|
+
*/
|
|
216
|
+
function parseWaterContentDetermination(node, adapter, namespaces) {
|
|
217
|
+
const getText = createXPathTextGetter(node, adapter, namespaces);
|
|
218
|
+
const resultNode = findChildElement(node, "./bhrgtcom:determinationResult", adapter, namespaces);
|
|
219
|
+
return {
|
|
220
|
+
determinationProcedure: getText("./bhrgtcom:determinationProcedure"),
|
|
221
|
+
determinationMethod: getText("./bhrgtcom:determinationMethod"),
|
|
222
|
+
sampleMoistness: getText("./bhrgtcom:sampleMoistness"),
|
|
223
|
+
removedMaterial: getText("./bhrgtcom:removedMaterial"),
|
|
224
|
+
waterContent: resultNode
|
|
225
|
+
? parseFloat(getText("./bhrgtcom:determinationResult/bhrgtcom:waterContent"))
|
|
226
|
+
: null,
|
|
227
|
+
dryingTemperature: resultNode
|
|
228
|
+
? getText("./bhrgtcom:determinationResult/bhrgtcom:dryingTemperature")
|
|
229
|
+
: null,
|
|
230
|
+
dryingPeriod: resultNode
|
|
231
|
+
? getText("./bhrgtcom:determinationResult/bhrgtcom:dryingPeriod")
|
|
232
|
+
: null,
|
|
233
|
+
saltCorrectionMethod: resultNode
|
|
234
|
+
? getText("./bhrgtcom:determinationResult/bhrgtcom:saltCorrectionMethod")
|
|
235
|
+
: null,
|
|
236
|
+
};
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* Parse volumetric mass density determination from XML node
|
|
240
|
+
*/
|
|
241
|
+
function parseVolumetricMassDensityDetermination(node, adapter, namespaces) {
|
|
242
|
+
const getText = createXPathTextGetter(node, adapter, namespaces);
|
|
243
|
+
return {
|
|
244
|
+
determinationProcedure: getText("./bhrgtcom:determinationProcedure"),
|
|
245
|
+
determinationMethod: getText("./bhrgtcom:determinationMethod"),
|
|
246
|
+
sampleMoistness: getText("./bhrgtcom:sampleMoistness"),
|
|
247
|
+
volumetricMassDensity: parseFloat(getText("./bhrgtcom:volumetricMassDensity")),
|
|
248
|
+
};
|
|
249
|
+
}
|
|
250
|
+
/**
|
|
251
|
+
* Parse organic matter content determination from XML node
|
|
252
|
+
*/
|
|
253
|
+
function parseOrganicMatterContentDetermination(node, adapter, namespaces) {
|
|
254
|
+
const getText = createXPathTextGetter(node, adapter, namespaces);
|
|
255
|
+
return {
|
|
256
|
+
determinationProcedure: getText("./bhrgtcom:determinationProcedure"),
|
|
257
|
+
determinationMethod: getText("./bhrgtcom:determinationMethod"),
|
|
258
|
+
removedMaterial: getText("./bhrgtcom:removedMaterial"),
|
|
259
|
+
organicMatterContent: parseFloat(getText("./bhrgtcom:organicMatterContent")),
|
|
260
|
+
};
|
|
261
|
+
}
|
|
262
|
+
/**
|
|
263
|
+
* Parse carbonate content determination from XML node
|
|
264
|
+
*/
|
|
265
|
+
function parseCarbonateContentDetermination(node, adapter, namespaces) {
|
|
266
|
+
const getText = createXPathTextGetter(node, adapter, namespaces);
|
|
267
|
+
return {
|
|
268
|
+
determinationProcedure: getText("./bhrgtcom:determinationProcedure"),
|
|
269
|
+
determinationMethod: getText("./bhrgtcom:determinationMethod"),
|
|
270
|
+
removedMaterial: getText("./bhrgtcom:removedMaterial"),
|
|
271
|
+
carbonateContent: parseFloat(getText("./bhrgtcom:carbonateContent")),
|
|
272
|
+
};
|
|
273
|
+
}
|
|
274
|
+
/**
|
|
275
|
+
* Parse volumetric mass density of solids determination from XML node
|
|
276
|
+
*/
|
|
277
|
+
function parseVolumetricMassDensityOfSolidsDetermination(node, adapter, namespaces) {
|
|
278
|
+
const getText = createXPathTextGetter(node, adapter, namespaces);
|
|
279
|
+
return {
|
|
280
|
+
determinationProcedure: getText("./bhrgtcom:determinationProcedure"),
|
|
281
|
+
determinationMethod: getText("./bhrgtcom:determinationMethod"),
|
|
282
|
+
liquidUsed: getText("./bhrgtcom:liquidUsed"),
|
|
283
|
+
volumetricMassDensityOfSolids: parseFloat(getText("./bhrgtcom:volumetricMassDensityOfSolids")),
|
|
284
|
+
};
|
|
285
|
+
}
|
|
286
|
+
/**
|
|
287
|
+
* Parse particle size distribution determination from XML node
|
|
288
|
+
*/
|
|
289
|
+
function parseParticleSizeDistributionDetermination(node, adapter, namespaces) {
|
|
290
|
+
const getText = createXPathTextGetter(node, adapter, namespaces);
|
|
291
|
+
const basicDistNode = findChildElement(node, "./bhrgtcom:basicParticleSizeDistribution", adapter, namespaces);
|
|
292
|
+
const detailedNode = basicDistNode
|
|
293
|
+
? findChildElement(basicDistNode, "./bhrgtcom:detailedDistributionFractionSmaller63um", adapter, namespaces)
|
|
294
|
+
: null;
|
|
295
|
+
const standardNode = basicDistNode
|
|
296
|
+
? findChildElement(basicDistNode, "./bhrgtcom:standardDistributionFractionLarger63um", adapter, namespaces)
|
|
297
|
+
: null;
|
|
298
|
+
return {
|
|
299
|
+
determinationProcedure: getText("./bhrgtcom:determinationProcedure"),
|
|
300
|
+
determinationMethod: getText("./bhrgtcom:determinationMethod"),
|
|
301
|
+
fractionDistribution: getText("./bhrgtcom:fractionDistribution"),
|
|
302
|
+
dispersionMethod: getText("./bhrgtcom:dispersionMethod"),
|
|
303
|
+
removedMaterial: getText("./bhrgtcom:removedMaterial"),
|
|
304
|
+
equivalentMassDeterminationMethod: getText("./bhrgtcom:equivalentMassDeterminationMethod"),
|
|
305
|
+
equivalentMass: parseFloat(getText("./bhrgtcom:equivalentMass")),
|
|
306
|
+
// Basic distribution
|
|
307
|
+
fractionSmaller63um: basicDistNode
|
|
308
|
+
? parseFloat(getText("./bhrgtcom:basicParticleSizeDistribution/bhrgtcom:fractionSmaller63um"))
|
|
309
|
+
: null,
|
|
310
|
+
fractionLarger63um: basicDistNode
|
|
311
|
+
? parseFloat(getText("./bhrgtcom:basicParticleSizeDistribution/bhrgtcom:fractionLarger63um"))
|
|
312
|
+
: null,
|
|
313
|
+
// Detailed distribution < 63μm
|
|
314
|
+
fraction0to2um: detailedNode
|
|
315
|
+
? parseFloat(getText("./bhrgtcom:basicParticleSizeDistribution/bhrgtcom:detailedDistributionFractionSmaller63um/bhrgtcom:fraction0to2um"))
|
|
316
|
+
: null,
|
|
317
|
+
fraction2to4um: detailedNode
|
|
318
|
+
? parseFloat(getText("./bhrgtcom:basicParticleSizeDistribution/bhrgtcom:detailedDistributionFractionSmaller63um/bhrgtcom:fraction2to4um"))
|
|
319
|
+
: null,
|
|
320
|
+
fraction4to8um: detailedNode
|
|
321
|
+
? parseFloat(getText("./bhrgtcom:basicParticleSizeDistribution/bhrgtcom:detailedDistributionFractionSmaller63um/bhrgtcom:fraction4to8um"))
|
|
322
|
+
: null,
|
|
323
|
+
fraction8to16um: detailedNode
|
|
324
|
+
? parseFloat(getText("./bhrgtcom:basicParticleSizeDistribution/bhrgtcom:detailedDistributionFractionSmaller63um/bhrgtcom:fraction8to16um"))
|
|
325
|
+
: null,
|
|
326
|
+
fraction16to32um: detailedNode
|
|
327
|
+
? parseFloat(getText("./bhrgtcom:basicParticleSizeDistribution/bhrgtcom:detailedDistributionFractionSmaller63um/bhrgtcom:fraction16to32um"))
|
|
328
|
+
: null,
|
|
329
|
+
fraction32to50um: detailedNode
|
|
330
|
+
? parseFloat(getText("./bhrgtcom:basicParticleSizeDistribution/bhrgtcom:detailedDistributionFractionSmaller63um/bhrgtcom:fraction32to50um"))
|
|
331
|
+
: null,
|
|
332
|
+
fraction50to63um: detailedNode
|
|
333
|
+
? parseFloat(getText("./bhrgtcom:basicParticleSizeDistribution/bhrgtcom:detailedDistributionFractionSmaller63um/bhrgtcom:fraction50to63um"))
|
|
334
|
+
: null,
|
|
335
|
+
// Standard distribution > 63μm
|
|
336
|
+
fraction63to90um: standardNode
|
|
337
|
+
? parseFloat(getText("./bhrgtcom:basicParticleSizeDistribution/bhrgtcom:standardDistributionFractionLarger63um/bhrgtcom:fraction63to90um"))
|
|
338
|
+
: null,
|
|
339
|
+
fraction90to125um: standardNode
|
|
340
|
+
? parseFloat(getText("./bhrgtcom:basicParticleSizeDistribution/bhrgtcom:standardDistributionFractionLarger63um/bhrgtcom:fraction90to125um"))
|
|
341
|
+
: null,
|
|
342
|
+
fraction125to180um: standardNode
|
|
343
|
+
? parseFloat(getText("./bhrgtcom:basicParticleSizeDistribution/bhrgtcom:standardDistributionFractionLarger63um/bhrgtcom:fraction125to180um"))
|
|
344
|
+
: null,
|
|
345
|
+
fraction180to250um: standardNode
|
|
346
|
+
? parseFloat(getText("./bhrgtcom:basicParticleSizeDistribution/bhrgtcom:standardDistributionFractionLarger63um/bhrgtcom:fraction180to250um"))
|
|
347
|
+
: null,
|
|
348
|
+
fraction250to355um: standardNode
|
|
349
|
+
? parseFloat(getText("./bhrgtcom:basicParticleSizeDistribution/bhrgtcom:standardDistributionFractionLarger63um/bhrgtcom:fraction250to355um"))
|
|
350
|
+
: null,
|
|
351
|
+
fraction355to500um: standardNode
|
|
352
|
+
? parseFloat(getText("./bhrgtcom:basicParticleSizeDistribution/bhrgtcom:standardDistributionFractionLarger63um/bhrgtcom:fraction355to500um"))
|
|
353
|
+
: null,
|
|
354
|
+
fraction500to710um: standardNode
|
|
355
|
+
? parseFloat(getText("./bhrgtcom:basicParticleSizeDistribution/bhrgtcom:standardDistributionFractionLarger63um/bhrgtcom:fraction500to710um"))
|
|
356
|
+
: null,
|
|
357
|
+
fraction710to1000um: standardNode
|
|
358
|
+
? parseFloat(getText("./bhrgtcom:basicParticleSizeDistribution/bhrgtcom:standardDistributionFractionLarger63um/bhrgtcom:fraction710to1000um"))
|
|
359
|
+
: null,
|
|
360
|
+
fraction1000to1400um: standardNode
|
|
361
|
+
? parseFloat(getText("./bhrgtcom:basicParticleSizeDistribution/bhrgtcom:standardDistributionFractionLarger63um/bhrgtcom:fraction1000to1400um"))
|
|
362
|
+
: null,
|
|
363
|
+
fraction1400umto2mm: standardNode
|
|
364
|
+
? parseFloat(getText("./bhrgtcom:basicParticleSizeDistribution/bhrgtcom:standardDistributionFractionLarger63um/bhrgtcom:fraction1400umto2mm"))
|
|
365
|
+
: null,
|
|
366
|
+
fraction2to4mm: standardNode
|
|
367
|
+
? parseFloat(getText("./bhrgtcom:basicParticleSizeDistribution/bhrgtcom:standardDistributionFractionLarger63um/bhrgtcom:fraction2to4mm"))
|
|
368
|
+
: null,
|
|
369
|
+
fraction4to8mm: standardNode
|
|
370
|
+
? parseFloat(getText("./bhrgtcom:basicParticleSizeDistribution/bhrgtcom:standardDistributionFractionLarger63um/bhrgtcom:fraction4to8mm"))
|
|
371
|
+
: null,
|
|
372
|
+
fraction8to16mm: standardNode
|
|
373
|
+
? parseFloat(getText("./bhrgtcom:basicParticleSizeDistribution/bhrgtcom:standardDistributionFractionLarger63um/bhrgtcom:fraction8to16mm"))
|
|
374
|
+
: null,
|
|
375
|
+
fraction16to31_5mm: standardNode
|
|
376
|
+
? parseFloat(getText("./bhrgtcom:basicParticleSizeDistribution/bhrgtcom:standardDistributionFractionLarger63um/bhrgtcom:fraction16to31_5mm"))
|
|
377
|
+
: null,
|
|
378
|
+
fraction31_5to63mm: standardNode
|
|
379
|
+
? parseFloat(getText("./bhrgtcom:basicParticleSizeDistribution/bhrgtcom:standardDistributionFractionLarger63um/bhrgtcom:fraction31_5to63mm"))
|
|
380
|
+
: null,
|
|
381
|
+
fractionLarger63mm: standardNode
|
|
382
|
+
? parseFloat(getText("./bhrgtcom:basicParticleSizeDistribution/bhrgtcom:standardDistributionFractionLarger63um/bhrgtcom:fractionLarger63mm"))
|
|
383
|
+
: null,
|
|
384
|
+
};
|
|
385
|
+
}
|
|
386
|
+
/**
|
|
387
|
+
* Parse consistency limits determination (Atterberg limits) from XML node
|
|
388
|
+
*/
|
|
389
|
+
function parseConsistencyLimitsDetermination(node, adapter, namespaces) {
|
|
390
|
+
const detNode = findChildElement(node, "./bhrgtcom:ConsistencyLimitsDetermination", adapter, namespaces);
|
|
391
|
+
if (!detNode) {
|
|
392
|
+
return EMPTY_CONSISTENCY_LIMITS;
|
|
393
|
+
}
|
|
394
|
+
const getText = createXPathTextGetter(detNode, adapter, namespaces);
|
|
395
|
+
const plasticityAtSpecificWaterContent = extractArray(detNode, "./bhrgtcom:plasticityAtSpecificWaterContent", (_pNode, getPlasticityText) => {
|
|
396
|
+
const waterContent = parseFloat(getPlasticityText("./bhrgtcom:waterContent"));
|
|
397
|
+
const numberOfFalls = parseInt(getPlasticityText("./bhrgtcom:numberOfFalls") || "0", 10);
|
|
398
|
+
return waterContent !== null && !isNaN(numberOfFalls)
|
|
399
|
+
? { waterContent, numberOfFalls }
|
|
400
|
+
: null;
|
|
401
|
+
}, adapter, namespaces);
|
|
402
|
+
return {
|
|
403
|
+
determinationProcedure: getText("./bhrgtcom:determinationProcedure"),
|
|
404
|
+
determinationMethod: getText("./bhrgtcom:determinationMethod"),
|
|
405
|
+
fractionLarger500um: parseFloat(getText("./bhrgtcom:fractionLarger500um")),
|
|
406
|
+
usedMedium: getText("./bhrgtcom:usedMedium"),
|
|
407
|
+
performanceIrregularity: getText("./bhrgtcom:performanceIrregularity"),
|
|
408
|
+
liquidLimit: parseFloat(getText("./bhrgtcom:liquidLimit")),
|
|
409
|
+
plasticLimit: parseFloat(getText("./bhrgtcom:plasticLimit")),
|
|
410
|
+
plasticityIndex: parseFloat(getText("./bhrgtcom:plasticityIndex")),
|
|
411
|
+
plasticityAtSpecificWaterContent,
|
|
412
|
+
};
|
|
413
|
+
}
|
|
414
|
+
/**
|
|
415
|
+
* Parse settlement characteristics determination (Oedometer/Consolidation test) from XML node
|
|
416
|
+
*/
|
|
417
|
+
function parseSettlementCharacteristicsDetermination(node, adapter, namespaces) {
|
|
418
|
+
const detNode = findChildElement(node, "./bhrgtcom:SettlementCharacteristicsDetermination", adapter, namespaces);
|
|
419
|
+
if (!detNode) {
|
|
420
|
+
return EMPTY_SETTLEMENT_CHARACTERISTICS;
|
|
421
|
+
}
|
|
422
|
+
const getText = createXPathTextGetter(detNode, adapter, namespaces);
|
|
423
|
+
const determinationSteps = extractArray(detNode, "./bhrgtcom:determinationStep", (stepNode, getStepText) => {
|
|
424
|
+
const stepNumber = parseInt(getStepText("./bhrgtcom:stepNumber") || "0", 10);
|
|
425
|
+
const heightChangeNode = findChildElement(stepNode, "./bhrgtcom:heightChangeDuringSettlement/bhrgtcom:values", adapter, namespaces);
|
|
426
|
+
const heightChangeDuringSettlement = parseCSVPairs(heightChangeNode?.textContent, (timeStr, heightStr) => {
|
|
427
|
+
const time = parseFloat(timeStr);
|
|
428
|
+
const height = parseFloat(heightStr);
|
|
429
|
+
return time !== null &&
|
|
430
|
+
height !== null &&
|
|
431
|
+
!isNaN(time) &&
|
|
432
|
+
!isNaN(height)
|
|
433
|
+
? { time, height }
|
|
434
|
+
: null;
|
|
435
|
+
});
|
|
436
|
+
return {
|
|
437
|
+
stepNumber,
|
|
438
|
+
wetPerformed: parseBoolean(getStepText("./bhrgtcom:wetPerformed")),
|
|
439
|
+
swellObserved: parseBoolean(getStepText("./bhrgtcom:swellObserved")),
|
|
440
|
+
strainPoint24hours: parseFloat(getStepText("./bhrgtcom:strainPoint24hours")),
|
|
441
|
+
stepType: getStepText("./bhrgtcom:stepType"),
|
|
442
|
+
verticalStress: parseFloat(getStepText("./bhrgtcom:verticalStress")),
|
|
443
|
+
heightChangeDuringSettlement,
|
|
444
|
+
};
|
|
445
|
+
}, adapter, namespaces);
|
|
446
|
+
return {
|
|
447
|
+
determinationProcedure: getText("./bhrgtcom:determinationProcedure"),
|
|
448
|
+
determinationMethod: getText("./bhrgtcom:determinationMethod"),
|
|
449
|
+
ringDiameter: parseFloat(getText("./bhrgtcom:ringDiameter")),
|
|
450
|
+
sampleMoistness: getText("./bhrgtcom:sampleMoistness"),
|
|
451
|
+
filterPaperUsed: parseBoolean(getText("./bhrgtcom:filterPaperUsed")),
|
|
452
|
+
temperature: parseFloat(getText("./bhrgtcom:temperature")),
|
|
453
|
+
wallFrictionCorrectionMethod: getText("./bhrgtcom:wallFrictionCorrectionMethod"),
|
|
454
|
+
apparatusDeformationApplied: parseBoolean(getText("./bhrgtcom:apparatusDeformationApplied")),
|
|
455
|
+
bearingFrictionCorrectionApplied: parseBoolean(getText("./bhrgtcom:bearingFrictionCorrectionApplied")),
|
|
456
|
+
irregularResult: parseBoolean(getText("./bhrgtcom:irregularResult")),
|
|
457
|
+
determinationSteps,
|
|
458
|
+
};
|
|
459
|
+
}
|
|
460
|
+
/**
|
|
461
|
+
* Parse saturated permeability determination (Hydraulic conductivity test) from XML node
|
|
462
|
+
*/
|
|
463
|
+
function parseSaturatedPermeabilityDetermination(node, adapter, namespaces) {
|
|
464
|
+
const detNode = findChildElement(node, "./bhrgtcom:SaturatedPermeabilityDetermination", adapter, namespaces);
|
|
465
|
+
if (!detNode) {
|
|
466
|
+
return EMPTY_SATURATED_PERMEABILITY;
|
|
467
|
+
}
|
|
468
|
+
const getText = createXPathTextGetter(detNode, adapter, namespaces);
|
|
469
|
+
const saturatedPermeabilityAtSpecificDensity = extractArray(detNode, "./bhrgtcom:saturatedPermeabilityAtSpecificDensity", (_densityNode, getDensityText) => {
|
|
470
|
+
const dryVolumetricMassDensity = parseFloat(getDensityText("./bhrgtcom:dryVolumetricMassDensity"));
|
|
471
|
+
const saturatedPermeability = parseFloat(getDensityText("./bhrgtcom:saturatedPermeability"));
|
|
472
|
+
return dryVolumetricMassDensity !== null || saturatedPermeability !== null
|
|
473
|
+
? { dryVolumetricMassDensity, saturatedPermeability }
|
|
474
|
+
: null;
|
|
475
|
+
}, adapter, namespaces);
|
|
476
|
+
return {
|
|
477
|
+
determinationProcedure: getText("./bhrgtcom:determinationProcedure"),
|
|
478
|
+
determinationMethod: getText("./bhrgtcom:determinationMethod"),
|
|
479
|
+
specimenMade: parseBoolean(getText("./bhrgtcom:specimenMade")),
|
|
480
|
+
saturatedWithCO2: parseBoolean(getText("./bhrgtcom:saturatedWithCO2")),
|
|
481
|
+
verticallyDetermined: parseBoolean(getText("./bhrgtcom:verticallyDetermined")),
|
|
482
|
+
currentDownwards: parseBoolean(getText("./bhrgtcom:currentDownwards")),
|
|
483
|
+
usedMedium: getText("./bhrgtcom:usedMedium"),
|
|
484
|
+
waterDegassed: parseBoolean(getText("./bhrgtcom:waterDegassed")),
|
|
485
|
+
temperature: parseFloat(getText("./bhrgtcom:temperature")),
|
|
486
|
+
maximumGradient: parseFloat(getText("./bhrgtcom:maximumGradient")),
|
|
487
|
+
saturatedPermeabilityAtSpecificDensity,
|
|
488
|
+
};
|
|
489
|
+
}
|
|
490
|
+
/**
|
|
491
|
+
* Parse shear stress change during loading determination (Triaxial/Direct shear test) from XML node
|
|
492
|
+
*
|
|
493
|
+
* This test can appear multiple times per interval, so this parser returns an array.
|
|
494
|
+
* Tests all stages of triaxial testing: saturation, consolidation, and loading.
|
|
495
|
+
*/
|
|
496
|
+
function parseShearStressChangeDuringLoadingDeterminations(node, adapter, namespaces) {
|
|
497
|
+
const nsResolver = createNamespaceResolver(namespaces);
|
|
498
|
+
// Find all shearStressChangeDuringLoadingDetermination elements
|
|
499
|
+
const detNodes = adapter.evaluateXPathAll(node, "./bhrgtcom:shearStressChangeDuringLoadingDetermination", nsResolver);
|
|
500
|
+
// If no tests found, return undefined (property won't be set on interval)
|
|
501
|
+
if (detNodes.length === 0) {
|
|
502
|
+
return undefined;
|
|
503
|
+
}
|
|
504
|
+
const determinations = [];
|
|
505
|
+
for (const detNode of detNodes) {
|
|
506
|
+
// Find the actual ShearStressChangeDuringLoadingDetermination child element
|
|
507
|
+
const actualDetNode = findChildElement(detNode, "./bhrgtcom:ShearStressChangeDuringLoadingDetermination", adapter, namespaces);
|
|
508
|
+
if (!actualDetNode) {
|
|
509
|
+
continue;
|
|
510
|
+
}
|
|
511
|
+
const getText = createXPathTextGetter(actualDetNode, adapter, namespaces);
|
|
512
|
+
// Parse main properties
|
|
513
|
+
const determination = {
|
|
514
|
+
determinationProcedure: getText("./bhrgtcom:determinationProcedure"),
|
|
515
|
+
determinationMethod: getText("./bhrgtcom:determinationMethod"),
|
|
516
|
+
specimenDisturbed: parseBoolean(getText("./bhrgtcom:specimenDisturbed")),
|
|
517
|
+
specimenTrimmed: parseBoolean(getText("./bhrgtcom:specimenTrimmed")),
|
|
518
|
+
sampleMoistness: getText("./bhrgtcom:sampleMoistness"),
|
|
519
|
+
beginDiameter: parseFloat(getText("./bhrgtcom:beginDiameter")),
|
|
520
|
+
beginHeight: parseFloat(getText("./bhrgtcom:beginHeight")),
|
|
521
|
+
topCapTiltable: parseBoolean(getText("./bhrgtcom:topCapTiltable")),
|
|
522
|
+
filterPaperUsed: parseBoolean(getText("./bhrgtcom:filterPaperUsed")),
|
|
523
|
+
drainageStripsUsed: parseBoolean(getText("./bhrgtcom:drainageStripsUsed")),
|
|
524
|
+
membraneSaturatedBefore: parseBoolean(getText("./bhrgtcom:membraneSaturatedBefore")),
|
|
525
|
+
apparatusDeformationApplied: parseBoolean(getText("./bhrgtcom:apparatusDeformationApplied")),
|
|
526
|
+
cellDeformationApplied: parseBoolean(getText("./bhrgtcom:cellDeformationApplied")),
|
|
527
|
+
stopCriterion: getText("./bhrgtcom:stopCriterion"),
|
|
528
|
+
};
|
|
529
|
+
// Parse membrane correction (optional nested object)
|
|
530
|
+
const membraneCorrectionNode = findChildElement(actualDetNode, "./bhrgtcom:membraneCorrection", adapter, namespaces);
|
|
531
|
+
if (membraneCorrectionNode) {
|
|
532
|
+
const getMembText = createXPathTextGetter(membraneCorrectionNode, adapter, namespaces);
|
|
533
|
+
determination.membraneCorrection = {
|
|
534
|
+
correctionMethod: getMembText("./bhrgtcom:correctionMethod"),
|
|
535
|
+
thickness: parseFloat(getMembText("./bhrgtcom:thickness")),
|
|
536
|
+
stiffnessClass: getMembText("./bhrgtcom:stiffnessClass"),
|
|
537
|
+
};
|
|
538
|
+
}
|
|
539
|
+
// Parse drainage strip correction (optional nested object)
|
|
540
|
+
const drainageStripNode = findChildElement(actualDetNode, "./bhrgtcom:drainageStripCorrection", adapter, namespaces);
|
|
541
|
+
if (drainageStripNode) {
|
|
542
|
+
const getDrainText = createXPathTextGetter(drainageStripNode, adapter, namespaces);
|
|
543
|
+
determination.drainageStripCorrection = {
|
|
544
|
+
correctionMethod: getDrainText("./bhrgtcom:correctionMethod"),
|
|
545
|
+
orientation: getDrainText("./bhrgtcom:orientation"),
|
|
546
|
+
coverage: getDrainText("./bhrgtcom:coverage"),
|
|
547
|
+
};
|
|
548
|
+
}
|
|
549
|
+
// Parse saturation stage (optional nested object)
|
|
550
|
+
const saturationNode = findChildElement(actualDetNode, "./bhrgtcom:saturationStageAtLoading", adapter, namespaces);
|
|
551
|
+
if (saturationNode) {
|
|
552
|
+
const getSatText = createXPathTextGetter(saturationNode, adapter, namespaces);
|
|
553
|
+
determination.saturationStageAtLoading = {
|
|
554
|
+
porousDiscWet: parseBoolean(getSatText("./bhrgtcom:porousDiscWet")),
|
|
555
|
+
porousDiscRough: parseBoolean(getSatText("./bhrgtcom:porousDiscRough")),
|
|
556
|
+
usedMedium: getSatText("./bhrgtcom:usedMedium"),
|
|
557
|
+
constantHeight: parseBoolean(getSatText("./bhrgtcom:constantHeight")),
|
|
558
|
+
cellPressureAutomaticallyControlled: parseBoolean(getSatText("./bhrgtcom:cellPressureAutomaticallyControlled")),
|
|
559
|
+
backPressure: parseFloat(getSatText("./bhrgtcom:backPressure")),
|
|
560
|
+
effectivePressure: parseFloat(getSatText("./bhrgtcom:effectivePressure")),
|
|
561
|
+
skemptonB_Coefficient: parseFloat(getSatText("./bhrgtcom:skemptonB_Coefficient")),
|
|
562
|
+
disturbanceInduced: parseBoolean(getSatText("./bhrgtcom:disturbanceInduced")),
|
|
563
|
+
};
|
|
564
|
+
}
|
|
565
|
+
// Parse consolidation stage (optional nested object with time-series data)
|
|
566
|
+
const consolidationNode = findChildElement(actualDetNode, "./bhrgtcom:consolidationStageAtLoading", adapter, namespaces);
|
|
567
|
+
if (consolidationNode) {
|
|
568
|
+
const getConsText = createXPathTextGetter(consolidationNode, adapter, namespaces);
|
|
569
|
+
// Parse volume change time series
|
|
570
|
+
const volumeChangeValuesNode = findChildElement(consolidationNode, "./bhrgtcom:volumeChangeDuringConsolidation/bhrgtcom:values", adapter, namespaces);
|
|
571
|
+
const volumeChangeDuringConsolidation = parseCSVRows(volumeChangeValuesNode?.textContent, (columns) => {
|
|
572
|
+
if (columns.length < 2)
|
|
573
|
+
return null;
|
|
574
|
+
const time = parseFloat(columns[0]);
|
|
575
|
+
const volumeChange = parseFloat(columns[1]);
|
|
576
|
+
return time !== null && volumeChange !== null
|
|
577
|
+
? { time, volumeChange }
|
|
578
|
+
: null;
|
|
579
|
+
});
|
|
580
|
+
determination.consolidationStageAtLoading = {
|
|
581
|
+
drainageTwoSided: parseBoolean(getConsText("./bhrgtcom:drainageTwoSided")),
|
|
582
|
+
consolidationMethod: getConsText("./bhrgtcom:consolidationMethod"),
|
|
583
|
+
verticalConsolidationStress: parseFloat(getConsText("./bhrgtcom:verticalConsolidationStress")),
|
|
584
|
+
horizontalConsolidationStress: parseFloat(getConsText("./bhrgtcom:horizontalConsolidationStress")),
|
|
585
|
+
verticalStrain: parseFloat(getConsText("./bhrgtcom:verticalStrain")),
|
|
586
|
+
lateralEarthPressureCoefficient: parseFloat(getConsText("./bhrgtcom:lateralEarthPressureCoefficient")),
|
|
587
|
+
volumeChangeDuringConsolidation,
|
|
588
|
+
};
|
|
589
|
+
}
|
|
590
|
+
// Parse load stage (optional nested object with time-series data)
|
|
591
|
+
const loadStageNode = findChildElement(actualDetNode, "./bhrgtcom:loadStage", adapter, namespaces);
|
|
592
|
+
if (loadStageNode) {
|
|
593
|
+
const getLoadText = createXPathTextGetter(loadStageNode, adapter, namespaces);
|
|
594
|
+
// Parse shear stress measurements time series (6 columns)
|
|
595
|
+
const shearStressValuesNode = findChildElement(loadStageNode, "./bhrgtcom:shearStressChangeDuringLoading/bhrgtcom:values", adapter, namespaces);
|
|
596
|
+
const shearStressChangeDuringLoading = parseCSVRows(shearStressValuesNode?.textContent, (columns) => {
|
|
597
|
+
if (columns.length < 4)
|
|
598
|
+
return null;
|
|
599
|
+
const time = parseFloat(columns[0]);
|
|
600
|
+
const axialStrain = parseFloat(columns[1]);
|
|
601
|
+
const deviatorStress = parseFloat(columns[2]);
|
|
602
|
+
const cellPressure = parseFloat(columns[3]);
|
|
603
|
+
// Columns 4 and 5 are optional (pore pressure and volume change)
|
|
604
|
+
// Handle NaN values (represented as "NaN" string in XML)
|
|
605
|
+
const porePressure = columns.length > 4 && columns[4] !== "NaN"
|
|
606
|
+
? parseFloat(columns[4])
|
|
607
|
+
: null;
|
|
608
|
+
const volumeChange = columns.length > 5 && columns[5] !== "NaN"
|
|
609
|
+
? parseFloat(columns[5])
|
|
610
|
+
: null;
|
|
611
|
+
return time !== null &&
|
|
612
|
+
axialStrain !== null &&
|
|
613
|
+
deviatorStress !== null &&
|
|
614
|
+
cellPressure !== null
|
|
615
|
+
? {
|
|
616
|
+
time,
|
|
617
|
+
axialStrain,
|
|
618
|
+
deviatorStress,
|
|
619
|
+
cellPressure,
|
|
620
|
+
porePressure,
|
|
621
|
+
volumeChange,
|
|
622
|
+
}
|
|
623
|
+
: null;
|
|
624
|
+
});
|
|
625
|
+
determination.loadStage = {
|
|
626
|
+
deformationRate: parseFloat(getLoadText("./bhrgtcom:deformationRate")),
|
|
627
|
+
specimenShape: getLoadText("./bhrgtcom:specimenShape"),
|
|
628
|
+
shearStressChangeDuringLoading,
|
|
629
|
+
};
|
|
630
|
+
}
|
|
631
|
+
determinations.push(determination);
|
|
632
|
+
}
|
|
633
|
+
return determinations;
|
|
634
|
+
}
|
|
635
|
+
/**
|
|
636
|
+
* Registry of all determination types to parse
|
|
637
|
+
*
|
|
638
|
+
* Each entry specifies the XPath to find the determination node,
|
|
639
|
+
* the property name to set on the interval, and the parser function to call.
|
|
640
|
+
*/
|
|
641
|
+
const DETERMINATION_CONFIGS = [
|
|
642
|
+
{
|
|
643
|
+
xpath: "./bhrgtcom:waterContentDetermination",
|
|
644
|
+
propertyName: "waterContentDetermination",
|
|
645
|
+
parser: parseWaterContentDetermination,
|
|
646
|
+
},
|
|
647
|
+
{
|
|
648
|
+
xpath: "./bhrgtcom:organicMatterContentDetermination",
|
|
649
|
+
propertyName: "organicMatterContentDetermination",
|
|
650
|
+
parser: parseOrganicMatterContentDetermination,
|
|
651
|
+
},
|
|
652
|
+
{
|
|
653
|
+
xpath: "./bhrgtcom:carbonateContentDetermination",
|
|
654
|
+
propertyName: "carbonateContentDetermination",
|
|
655
|
+
parser: parseCarbonateContentDetermination,
|
|
656
|
+
},
|
|
657
|
+
{
|
|
658
|
+
xpath: "./bhrgtcom:volumetricMassDensityDetermination",
|
|
659
|
+
propertyName: "volumetricMassDensityDetermination",
|
|
660
|
+
parser: parseVolumetricMassDensityDetermination,
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
xpath: "./bhrgtcom:volumetricMassDensityOfSolidsDetermination",
|
|
664
|
+
propertyName: "volumetricMassDensityOfSolidsDetermination",
|
|
665
|
+
parser: parseVolumetricMassDensityOfSolidsDetermination,
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
xpath: "./bhrgtcom:particleSizeDistributionDetermination",
|
|
669
|
+
propertyName: "particleSizeDistributionDetermination",
|
|
670
|
+
parser: parseParticleSizeDistributionDetermination,
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
xpath: "./bhrgtcom:consistencyLimitsDetermination",
|
|
674
|
+
propertyName: "consistencyLimitsDetermination",
|
|
675
|
+
parser: parseConsistencyLimitsDetermination,
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
xpath: "./bhrgtcom:settlementCharacteristicsDetermination",
|
|
679
|
+
propertyName: "settlementCharacteristicsDetermination",
|
|
680
|
+
parser: parseSettlementCharacteristicsDetermination,
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
xpath: "./bhrgtcom:saturatedPermeabilityDetermination",
|
|
684
|
+
propertyName: "saturatedPermeabilityDetermination",
|
|
685
|
+
parser: parseSaturatedPermeabilityDetermination,
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
// Special case: This determination can appear multiple times per interval
|
|
689
|
+
// Use '.' to pass the interval node so the parser can find all occurrences
|
|
690
|
+
xpath: ".",
|
|
691
|
+
propertyName: "shearStressChangeDuringLoadingDetermination",
|
|
692
|
+
parser: parseShearStressChangeDuringLoadingDeterminations,
|
|
693
|
+
},
|
|
694
|
+
];
|
|
695
|
+
/**
|
|
696
|
+
* Process borehole sample analysis data from boreholeSampleAnalysis element
|
|
697
|
+
*
|
|
698
|
+
* Extracts laboratory analysis data including all investigated intervals
|
|
699
|
+
* and their determination results.
|
|
700
|
+
*
|
|
701
|
+
* @param value - Not used (we work with the node directly)
|
|
702
|
+
* @param context - Resolver context containing the XML node and adapter
|
|
703
|
+
* @returns BoreholeSampleAnalysis object or undefined if not present
|
|
704
|
+
*/
|
|
705
|
+
export function processBoreholeSampleAnalysis(_value, context) {
|
|
706
|
+
const { element, adapter, namespaces } = context;
|
|
707
|
+
const nsResolver = createNamespaceResolver(namespaces);
|
|
708
|
+
// Find the boreholeSampleAnalysis element
|
|
709
|
+
const analysisNode = adapter.evaluateXPath(element, "./dsbhrgt:boreholeSampleAnalysis", nsResolver);
|
|
710
|
+
if (!analysisNode) {
|
|
711
|
+
return undefined;
|
|
712
|
+
}
|
|
713
|
+
// Extract analysis metadata
|
|
714
|
+
const analysisReportDateNode = adapter.evaluateXPath(analysisNode, "./bhrgtcom:analysisReportDate", nsResolver);
|
|
715
|
+
const analysisProcedureNode = adapter.evaluateXPath(analysisNode, "./bhrgtcom:analysisProcedure", nsResolver);
|
|
716
|
+
let analysisReportDate = null;
|
|
717
|
+
if (analysisReportDateNode?.textContent) {
|
|
718
|
+
const dateStr = analysisReportDateNode.textContent.trim();
|
|
719
|
+
try {
|
|
720
|
+
analysisReportDate = new Date(dateStr);
|
|
721
|
+
}
|
|
722
|
+
catch {
|
|
723
|
+
analysisReportDate = null;
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
const analysisProcedure = analysisProcedureNode?.textContent?.trim() || null;
|
|
727
|
+
// Find all investigated intervals
|
|
728
|
+
const intervalNodes = adapter.evaluateXPathAll(analysisNode, "./bhrgtcom:investigatedInterval", nsResolver);
|
|
729
|
+
const investigatedIntervals = [];
|
|
730
|
+
for (const intervalNode of intervalNodes) {
|
|
731
|
+
const getText = (xpath) => {
|
|
732
|
+
const n = adapter.evaluateXPath(intervalNode, xpath, nsResolver);
|
|
733
|
+
return getTextContent(n);
|
|
734
|
+
};
|
|
735
|
+
// Extract depth boundaries
|
|
736
|
+
const beginDepth = parseFloat(getText("./bhrgtcom:beginDepth")) ?? 0;
|
|
737
|
+
const endDepth = parseFloat(getText("./bhrgtcom:endDepth")) ?? 0;
|
|
738
|
+
// Extract metadata
|
|
739
|
+
const sampleQuality = getText("./bhrgtcom:sampleQuality");
|
|
740
|
+
const analysisType = getText("./bhrgtcom:analysisType");
|
|
741
|
+
// Extract determination flags
|
|
742
|
+
const waterContentDetermined = parseBoolean(getText("./bhrgtcom:waterContentDetermined"));
|
|
743
|
+
const organicMatterContentDetermined = parseBoolean(getText("./bhrgtcom:organicMatterContentDetermined"));
|
|
744
|
+
const carbonateContentDetermined = parseBoolean(getText("./bhrgtcom:carbonateContentDetermined"));
|
|
745
|
+
const volumetricMassDensityDetermined = parseBoolean(getText("./bhrgtcom:volumetricMassDensityDetermined"));
|
|
746
|
+
const volumetricMassDensitySolidsDetermined = parseBoolean(getText("./bhrgtcom:volumetricMassDensitySolidsDetermined"));
|
|
747
|
+
const described = parseBoolean(getText("./bhrgtcom:described"));
|
|
748
|
+
const interval = {
|
|
749
|
+
beginDepth,
|
|
750
|
+
endDepth,
|
|
751
|
+
sampleQuality,
|
|
752
|
+
analysisType,
|
|
753
|
+
waterContentDetermined,
|
|
754
|
+
organicMatterContentDetermined,
|
|
755
|
+
carbonateContentDetermined,
|
|
756
|
+
volumetricMassDensityDetermined,
|
|
757
|
+
volumetricMassDensitySolidsDetermined,
|
|
758
|
+
described,
|
|
759
|
+
};
|
|
760
|
+
// Parse all determinations using registry pattern
|
|
761
|
+
for (const config of DETERMINATION_CONFIGS) {
|
|
762
|
+
const detNode = adapter.evaluateXPath(intervalNode, config.xpath, nsResolver);
|
|
763
|
+
if (detNode) {
|
|
764
|
+
interval[config.propertyName] = config.parser(detNode, adapter, namespaces);
|
|
765
|
+
}
|
|
766
|
+
}
|
|
767
|
+
investigatedIntervals.push(interval);
|
|
768
|
+
}
|
|
769
|
+
return {
|
|
770
|
+
analysisReportDate,
|
|
771
|
+
analysisProcedure,
|
|
772
|
+
investigatedIntervals,
|
|
773
|
+
};
|
|
774
|
+
}
|
|
775
|
+
/**
|
|
776
|
+
* Process bored intervals from boring element
|
|
777
|
+
*
|
|
778
|
+
* Extracts array of bored intervals with technique and diameter.
|
|
779
|
+
*/
|
|
780
|
+
export function processBoredIntervals(_value, context) {
|
|
781
|
+
const { element, adapter, namespaces } = context;
|
|
782
|
+
const nsResolver = createNamespaceResolver(namespaces);
|
|
783
|
+
// Find all boredInterval elements within boring
|
|
784
|
+
const intervalNodes = adapter.evaluateXPathAll(element, "./dsbhrgt:boring/bhrgtcom:boredInterval", nsResolver);
|
|
785
|
+
const intervals = [];
|
|
786
|
+
for (const intervalNode of intervalNodes) {
|
|
787
|
+
const getText = createXPathTextGetter(intervalNode, adapter, namespaces);
|
|
788
|
+
const beginDepth = parseFloat(getText("./bhrgtcom:beginDepth"));
|
|
789
|
+
const endDepth = parseFloat(getText("./bhrgtcom:endDepth"));
|
|
790
|
+
if (beginDepth === null || endDepth === null)
|
|
791
|
+
continue;
|
|
792
|
+
intervals.push({
|
|
793
|
+
beginDepth,
|
|
794
|
+
endDepth,
|
|
795
|
+
boringTechnique: getText("./bhrgtcom:boringTechnique"),
|
|
796
|
+
boredDiameter: parseFloat(getText("./bhrgtcom:boredDiameter")),
|
|
797
|
+
});
|
|
798
|
+
}
|
|
799
|
+
return intervals;
|
|
800
|
+
}
|
|
801
|
+
/**
|
|
802
|
+
* Process sampled intervals from boring element
|
|
803
|
+
*
|
|
804
|
+
* Extracts array of sampled intervals with method, quality, and optional sampler details.
|
|
805
|
+
*/
|
|
806
|
+
export function processSampledIntervals(_value, context) {
|
|
807
|
+
const { element, adapter, namespaces } = context;
|
|
808
|
+
const nsResolver = createNamespaceResolver(namespaces);
|
|
809
|
+
// Find all sampledInterval elements within boring
|
|
810
|
+
const intervalNodes = adapter.evaluateXPathAll(element, "./dsbhrgt:boring/bhrgtcom:sampledInterval", nsResolver);
|
|
811
|
+
const intervals = [];
|
|
812
|
+
for (const intervalNode of intervalNodes) {
|
|
813
|
+
const getText = createXPathTextGetter(intervalNode, adapter, namespaces);
|
|
814
|
+
const beginDepth = parseFloat(getText("./bhrgtcom:beginDepth"));
|
|
815
|
+
const endDepth = parseFloat(getText("./bhrgtcom:endDepth"));
|
|
816
|
+
if (beginDepth === null || endDepth === null)
|
|
817
|
+
continue;
|
|
818
|
+
const interval = {
|
|
819
|
+
beginDepth,
|
|
820
|
+
endDepth,
|
|
821
|
+
preTreatment: getText("./bhrgtcom:preTreatment"),
|
|
822
|
+
samplingMethod: getText("./bhrgtcom:samplingMethod"),
|
|
823
|
+
samplingQuality: getText("./bhrgtcom:samplingQuality"),
|
|
824
|
+
orientatedSampled: parseJaNee(getText("./bhrgtcom:orientatedSampled")),
|
|
825
|
+
};
|
|
826
|
+
// Check for nested sampler element
|
|
827
|
+
const samplerNode = adapter.evaluateXPath(intervalNode, "./bhrgtcom:sampler", nsResolver);
|
|
828
|
+
if (samplerNode) {
|
|
829
|
+
const getSamplerText = createXPathTextGetter(samplerNode, adapter, namespaces);
|
|
830
|
+
const sampler = {
|
|
831
|
+
samplerType: getSamplerText("./bhrgtcom:samplerType"),
|
|
832
|
+
sampleContainerDiameter: parseFloat(getSamplerText("./bhrgtcom:sampleContainerDiameter")),
|
|
833
|
+
sampleContainerLength: parseFloat(getSamplerText("./bhrgtcom:sampleContainerLength")),
|
|
834
|
+
cuttingShoeInsideDiameter: parseFloat(getSamplerText("./bhrgtcom:cuttingShoeInsideDiameter")),
|
|
835
|
+
cuttingShoeOutsideDiameter: parseFloat(getSamplerText("./bhrgtcom:cuttingShoeOutsideDiameter")),
|
|
836
|
+
stockingUsed: parseJaNee(getSamplerText("./bhrgtcom:stockingUsed")),
|
|
837
|
+
rightAngledCuttingShoe: parseJaNee(getSamplerText("./bhrgtcom:rightAngledCuttingShoe")),
|
|
838
|
+
taperAngle: parseFloat(getSamplerText("./bhrgtcom:taperAngle")),
|
|
839
|
+
lubricationFluidUsed: parseJaNee(getSamplerText("./bhrgtcom:lubricationFluidUsed")),
|
|
840
|
+
coreCatcherPresent: parseJaNee(getSamplerText("./bhrgtcom:coreCatcherPresent")),
|
|
841
|
+
pistonPresent: parseJaNee(getSamplerText("./bhrgtcom:pistonPresent")),
|
|
842
|
+
};
|
|
843
|
+
interval.sampler = sampler;
|
|
844
|
+
}
|
|
845
|
+
intervals.push(interval);
|
|
846
|
+
}
|
|
847
|
+
return intervals;
|
|
848
|
+
}
|
|
849
|
+
/**
|
|
850
|
+
* Process completed intervals from boring element
|
|
851
|
+
*
|
|
852
|
+
* Extracts array of completed intervals with backfill information.
|
|
853
|
+
*/
|
|
854
|
+
export function processCompletedIntervals(_value, context) {
|
|
855
|
+
const { element, adapter, namespaces } = context;
|
|
856
|
+
const nsResolver = createNamespaceResolver(namespaces);
|
|
857
|
+
// Find all completedInterval elements within boring
|
|
858
|
+
const intervalNodes = adapter.evaluateXPathAll(element, "./dsbhrgt:boring/bhrgtcom:completedInterval", nsResolver);
|
|
859
|
+
const intervals = [];
|
|
860
|
+
for (const intervalNode of intervalNodes) {
|
|
861
|
+
const getText = createXPathTextGetter(intervalNode, adapter, namespaces);
|
|
862
|
+
const beginDepth = parseFloat(getText("./bhrgtcom:beginDepth"));
|
|
863
|
+
const endDepth = parseFloat(getText("./bhrgtcom:endDepth"));
|
|
864
|
+
if (beginDepth === null || endDepth === null)
|
|
865
|
+
continue;
|
|
866
|
+
intervals.push({
|
|
867
|
+
beginDepth,
|
|
868
|
+
endDepth,
|
|
869
|
+
permanentCasingPresent: parseJaNee(getText("./bhrgtcom:permanentCasingPresent")),
|
|
870
|
+
backfillMaterial: getText("./bhrgtcom:backfillMaterial"),
|
|
871
|
+
backfillMaterialWashed: parseJaNee(getText("./bhrgtcom:backfillMaterialWashed")),
|
|
872
|
+
backfillMaterialCertified: parseJaNee(getText("./bhrgtcom:backfillMaterialCertified")),
|
|
873
|
+
});
|
|
874
|
+
}
|
|
875
|
+
return intervals;
|
|
876
|
+
}
|
|
877
|
+
/**
|
|
878
|
+
* Process not described intervals from boreholeSampleDescription element
|
|
879
|
+
*
|
|
880
|
+
* Extracts array of intervals that were not described and the reason.
|
|
881
|
+
*/
|
|
882
|
+
export function processNotDescribedIntervals(_value, context) {
|
|
883
|
+
const { element, adapter, namespaces } = context;
|
|
884
|
+
const nsResolver = createNamespaceResolver(namespaces);
|
|
885
|
+
// Find all notDescribedInterval elements
|
|
886
|
+
const intervalNodes = adapter.evaluateXPathAll(element, "./dsbhrgt:boreholeSampleDescription/bhrgtcom:descriptiveBoreholeLog/bhrgtcom:notDescribedInterval", nsResolver);
|
|
887
|
+
const intervals = [];
|
|
888
|
+
for (const intervalNode of intervalNodes) {
|
|
889
|
+
const getText = createXPathTextGetter(intervalNode, adapter, namespaces);
|
|
890
|
+
const beginDepth = parseFloat(getText("./bhrgtcom:beginDepth"));
|
|
891
|
+
const endDepth = parseFloat(getText("./bhrgtcom:endDepth"));
|
|
892
|
+
if (beginDepth === null || endDepth === null)
|
|
893
|
+
continue;
|
|
894
|
+
intervals.push({
|
|
895
|
+
beginDepth,
|
|
896
|
+
endDepth,
|
|
897
|
+
noDescriptionReason: getText("./bhrgtcom:noDescriptionReason"),
|
|
898
|
+
});
|
|
899
|
+
}
|
|
900
|
+
return intervals;
|
|
901
|
+
}
|
|
902
|
+
/**
|
|
903
|
+
* Process registration history from document element
|
|
904
|
+
*
|
|
905
|
+
* Extracts BRO registration history information.
|
|
906
|
+
*/
|
|
907
|
+
export function processRegistrationHistory(_value, context) {
|
|
908
|
+
const { element, adapter, namespaces } = context;
|
|
909
|
+
const nsResolver = createNamespaceResolver(namespaces);
|
|
910
|
+
// Find registrationHistory element (in default namespace dsbhrgt)
|
|
911
|
+
const historyNode = adapter.evaluateXPath(element, "./dsbhrgt:registrationHistory", nsResolver);
|
|
912
|
+
if (!historyNode)
|
|
913
|
+
return null;
|
|
914
|
+
const getText = createXPathTextGetter(historyNode, adapter, namespaces);
|
|
915
|
+
// Parse dates
|
|
916
|
+
const objectRegistrationTimeStr = getText("./brocom:objectRegistrationTime");
|
|
917
|
+
const registrationCompletionTimeStr = getText("./brocom:registrationCompletionTime");
|
|
918
|
+
return {
|
|
919
|
+
objectRegistrationTime: objectRegistrationTimeStr ? new Date(objectRegistrationTimeStr) : null,
|
|
920
|
+
registrationStatus: getText("./brocom:registrationStatus"),
|
|
921
|
+
registrationCompletionTime: registrationCompletionTimeStr ? new Date(registrationCompletionTimeStr) : null,
|
|
922
|
+
corrected: parseJaNee(getText("./brocom:corrected")),
|
|
923
|
+
underReview: parseJaNee(getText("./brocom:underReview")),
|
|
924
|
+
deregistered: parseJaNee(getText("./brocom:deregistered")),
|
|
925
|
+
reregistered: parseJaNee(getText("./brocom:reregistered")),
|
|
926
|
+
};
|
|
927
|
+
}
|
|
928
|
+
/**
|
|
929
|
+
* Process report history from document element
|
|
930
|
+
*
|
|
931
|
+
* Extracts report history including intermediate events.
|
|
932
|
+
*/
|
|
933
|
+
export function processReportHistory(_value, context) {
|
|
934
|
+
const { element, adapter, namespaces } = context;
|
|
935
|
+
const nsResolver = createNamespaceResolver(namespaces);
|
|
936
|
+
// Find reportHistory element (in default namespace dsbhrgt)
|
|
937
|
+
const historyNode = adapter.evaluateXPath(element, "./dsbhrgt:reportHistory", nsResolver);
|
|
938
|
+
if (!historyNode)
|
|
939
|
+
return null;
|
|
940
|
+
const getText = createXPathTextGetter(historyNode, adapter, namespaces);
|
|
941
|
+
// Parse dates - these elements are in the default namespace (no prefix)
|
|
942
|
+
const reportStartDateStr = getText("./dsbhrgt:reportStartDate/brocom:date");
|
|
943
|
+
const reportEndDateStr = getText("./dsbhrgt:reportEndDate/brocom:date");
|
|
944
|
+
// Find intermediate events (in default namespace)
|
|
945
|
+
const eventNodes = adapter.evaluateXPathAll(historyNode, "./dsbhrgt:intermediateEvent", nsResolver);
|
|
946
|
+
const intermediateEvents = [];
|
|
947
|
+
for (const eventNode of eventNodes) {
|
|
948
|
+
const getEventText = createXPathTextGetter(eventNode, adapter, namespaces);
|
|
949
|
+
const eventDateStr = getEventText("./dsbhrgt:eventDate/brocom:date");
|
|
950
|
+
intermediateEvents.push({
|
|
951
|
+
eventName: getEventText("./dsbhrgt:eventName"),
|
|
952
|
+
eventDate: eventDateStr ? new Date(eventDateStr) : null,
|
|
953
|
+
});
|
|
954
|
+
}
|
|
955
|
+
return {
|
|
956
|
+
reportStartDate: reportStartDateStr ? new Date(reportStartDateStr) : null,
|
|
957
|
+
reportEndDate: reportEndDateStr ? new Date(reportEndDateStr) : null,
|
|
958
|
+
intermediateEvents,
|
|
959
|
+
};
|
|
960
|
+
}
|
|
961
|
+
//# sourceMappingURL=bore-resolvers.js.map
|