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_base
depth_to_top
location_uid
project_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_uid
project_uid
sample_uid
class LocationSchema
Section titled “class LocationSchema”Attributes
Section titled “Attributes”depth_to_base
easting
ground_level_elevation
location_source_id
location_uid
northing
project_uid
class LonLatHeightSchema
Section titled “class LonLatHeightSchema”Attributes
Section titled “Attributes”egm2008_ground_level_height
latitude
location_uid
longitude
project_uid
class ProjectSchema
Section titled “class ProjectSchema”Attributes
Section titled “Attributes”horizontal_crs
horizontal_crs_wkt
project_uid
vertical_crs
vertical_crs_wkt
class SampleSchema
Section titled “class SampleSchema”Attributes
Section titled “Attributes”sample_source_id
sample_uid