geolib.models.dsheetpiling.dsheetpiling_validator

Classes

DSheetPilingValidator(ds)

Validator for DSheetpiling internal structure.

class geolib.models.dsheetpiling.dsheetpiling_validator.DSheetPilingValidator(ds)

Validator for DSheetpiling internal structure.

Raises:

ValueError – When the internal datastructure is not valid including a message why.

Has access to self.ds from parent class. Will run all is_valid_ functions to check for validity.

is_valid_soil_profiles()

All soils in soil profiles should be defined in the soil collection

Return type:

bool

is_valid_stages()

When adding stages, some values are populated with None. These should be replaced before serializing.

Return type:

bool