Commit 844a8f37 authored by Niall McDaid's avatar Niall McDaid
Browse files

Print updated well log for user

parent 36a8a534
...@@ -91,7 +91,12 @@ class WellLogService: ...@@ -91,7 +91,12 @@ class WellLogService:
enriched_welllog_record = self.recognize_log_family(welllog_record.to_record(), data_partition_id) enriched_welllog_record = self.recognize_log_family(welllog_record.to_record(), data_partition_id)
logger.info("Updating existing well log record with recognized curve families.") logger.info("Updating existing well log record with recognized curve families.")
self._client.post_welllog(enriched_welllog_record) welllog_ids = self._client.post_welllog(enriched_welllog_record)
wellbore_service = WellBoreService()
welllog_id = wellbore_service._safe_get_first_record(welllog_ids)
welllog_record = self._client.get_welllog_record(welllog_id)
logger.info(json.dumps(welllog_record.get_raw_data(), indent=4, sort_keys=True))
def ingest_welllog_data(self, input_path: str, welllog_id: str) -> None: def ingest_welllog_data(self, input_path: str, welllog_id: str) -> None:
""" """
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment