From 4cae60ca0dd890753ca9d7fd54e1e0db0c4ea0be Mon Sep 17 00:00:00 2001 From: Zabamund Date: Sun, 18 Aug 2019 14:26:43 +0200 Subject: [PATCH] change to json section format --- wellpathpy/header.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/wellpathpy/header.py b/wellpathpy/header.py index de604bc..3a05baf 100644 --- a/wellpathpy/header.py +++ b/wellpathpy/header.py @@ -9,15 +9,18 @@ def read_header_json(fname): Parameters ---------- - fname: str, + fname: str path to a json file the json file should have the following format: - {"datum": "kb", + + { + "datum": "kb", "elevation_units": "m", "elevation": 100.0, "surface_coordinates_units": "m", "surface_easting": 1000.0, - "surface_northing": 2000.0} + "surface_northing": 2000.0 + } datum: str usually one of kb, dfe, rt