geost.bro.BroApi.get_objects#
- BroApi.get_objects(bro_ids: str | Iterable, object_type: str = 'CPT') Iterator [source]#
Return BRO objects as a generator containing element trees that can be parsed to a reader.
- Parameters:
bro_ids (Union[str, Iterable]) – Single BRO ID or Iterable of BRO ID’s
object_type (str, optional) – BRO object type. Can be CPT (Cone penetration tests), BHR-P (Soil cores), BHR-GT (Geotechnical cores), or BHR-G (Geological cores). By default “CPT”.
- Yields:
lxml._Element – Element tree containing data of the requested BRO object.
- Raises:
Warning – When a non-existing BRO ID was given.
Warning – When the server does not respond to the request (40x error).