MWD STD Basic: WITS data streaming

MWD STD WITS micro-service automatically streams static surveys and continuous inclination from the rig. To run the WITS micro-service, wits_config.json must be configured. If wits_config.json is missing, then run and close mwdstd_wits.exe. The service will create config. Then you must edit this file.

1. Enter the IP address and port to which WITS transmits data:

“app”: { “host”: “localhost“, “port”: 6789 }

2. Enter the MWD STD backend URL and credentials of the FE assigned to the well:

“mwdstd”: { “url”: “http:// http://app.website.com/api/“, “auth”: { “login”: “user_name“, “password”: “user_password }

3. Configure static survey WITS format. Set record IDs for time, date, survey depth, and 6-axis; set formats for time and date:

“survey”: { “time”: { “time”: { “tag”: “0706“, “format”: “HHmmss }, “date”: { “tag”: “0705“, “format”: “YYMMDD } }, “md”: “0708“, “gx”: “0722“, “gy”: “0723“, “gz”: “0724“, “bx”: “0725“, “by”: “0726“, “bz”: “0727 }

4. Configure continuous inclination(CI) WITS format. Set record IDs for CI depth and CI value:

“ci”: { “md”: “0118“, “inc”: “0116 }

5. Configure survey units (acceleration: mgn, m/s^2, gn, mgn; angle: deg; length: m, ft; magnetic induction: nT, uT, mT, gauss):

“units”: { “acceleration”: “mgn“, “angle”: “deg“, “length”: “m“, “magind”: “nT” }

6. Map D&I module axis: gaxes are accelerometers; maxes are magnetometers; X: lateral left direction, Y: high side direction, Z: downhole direction. If you need to invert an axis, change false value to true in the corresponded section gaxesi or maxesi:

“axis_mapping”: { “gaxes”: [ “X“, “Y“, “Z” ], “maxes”: [ “X“, “Y“, “Z” ], “gaxesi”: [ false, false, false ], “maxesi”: [ false, false, false ] }

After setup of the config file, you need to start mwdstd_wits.exe. If there is no WITS data on the assigned IP-address, the service will listen and wait.

When data are being transferring, you will see the following:

The service has a buffer.json buffer file. The service collects continuous inclination data into the file and sends it when a static survey is received. If there is no connection to the MWD STD server, both static and continuous data are accumulated in this file; when the connection is restored, the data will be transferred. If you are starting the WITS service for the first time, make sure the buffer is empty.

If you click inside the WITS service console, the service will be paused. To restore the service, press the Enter button.

< Back | Forward >