IBM R3M8 - Failure to ingest Wellbore data from WITSML source

Reported by @epeysson .

From Airflow log, we see the following as reason of failure.

"Missing referential id: {
'opendes:reference-data--VerticalMeasurementType:TotalDepth:', 
'opendes:reference-data--VerticalMeasurementPath:MeasuredDepth:', 
'opendes:reference-data--VerticalMeasurementPath:TrueVerticalDepth:',

Input source Etienne-Wellbore.xml After some investigation, it was determined that OSDU Reference value convention has changed to use code instead.

reference-data--VerticalMeasurementType:TD instead of TotalDepth.

reference-data--VerticalMeasurementPath:TVD instead of TrueVerticalDepth

reference-data--VerticalMeasurementPath:MD instead of MeasuredDepth

One possible solution is to change code for such changes.

Another alternative can be to hold field mapping in some configuration file so that it is easy to handle this kind of change in the future.

For other data types (Well, Marker, Log, Trajectory, Tubular), there will be potentially other mismatches too.

Copying to @janas712 for her input on the subject

Also adding @gehrmann for his awareness

cc - @ChrisZhang , @chad , @Keith_Wall for information

Edited by Debasis Chatterjee