bedrock_ge.gi.schemas
pandera schemas for Bedrock GI data. Base schemas refer to schemas that have no calculated GIS geometry or values.
Classes
Section titled “Classes”class BedrockGIDatabase
Section titled “class BedrockGIDatabase”Attributes
Section titled “Attributes”model_config
class BedrockGIGeospatialDatabase
Section titled “class BedrockGIGeospatialDatabase”Attributes
Section titled “Attributes”model_config
class InSituTestSchema
Section titled “class InSituTestSchema”Attributes
Section titled “Attributes”depth_to_basedepth_to_toplocation_uidproject_uid
Methods
Section titled “Methods”depth_column_completeness
Section titled “depth_column_completeness”top_above_base
Section titled “top_above_base”If either column is missing, this check passes (nothing to compare). If both columns are present, the check fails if any row has depth_to_top > depth_to_base.
Parameters:
| Parameter | Type | Default | Description |
|---|---|---|---|
df | <class 'pandas.core.frame.DataFrame'> |
Returns:
Type: <class 'pandas.core.series.Series'>
pd.Series: pandas.Series of bools indicating successful checks.
class LabTestSchema
Section titled “class LabTestSchema”Attributes
Section titled “Attributes”location_uidproject_uidsample_uid
class LocationSchema
Section titled “class LocationSchema”Attributes
Section titled “Attributes”depth_to_baseeastingground_level_elevationlocation_source_idlocation_uidnorthingproject_uid
class LonLatHeightSchema
Section titled “class LonLatHeightSchema”Attributes
Section titled “Attributes”egm2008_ground_level_heightlatitudelocation_uidlongitudeproject_uid
class ProjectSchema
Section titled “class ProjectSchema”Attributes
Section titled “Attributes”horizontal_crshorizontal_crs_wktproject_uidvertical_crsvertical_crs_wkt
class SampleSchema
Section titled “class SampleSchema”Attributes
Section titled “Attributes”sample_source_idsample_uid