Transformer - Extend Trajectory Ingestion to Support DDMS
If a Wellbore Trajectory has been inserted using the Wellbore DDMS, then GCZ needs a new ingestion pattern to support Trajectory Curves from the DDMS, as there will be no Datasets
array to hit the CSV directly.
Here is the new outlined process (DRAFT):
- If WellboreTrajectory record possesses a
DDMSDatasets
array that has a length greater than 0 - Use the DDMS to retrieve the necessary Trajectory station columns:
- GET
https://{{WELLBORE_DDMS_HOST}}/ddms/v3/wellboretrajectories/[WELLBORE_TRAJECTORY_ID]/data?curves=[CSV_OF_CURVE_NAMES]
- CSV_OF_CURVE_NAMES example:
MD,INCL,AZIM_TN,TVD
- CSV_OF_CURVE_NAMES can be parsed from AvailableTrajectoryStationProperties:
-
TrajectoryStationPropertyTypeID
can serve as hint as to what column represents
-
- CSV_OF_CURVE_NAMES example:
- GET
AvailableTrajectoryStationProperties
"AvailableTrajectoryStationProperties": [
{
"Name": "MD",
"StationPropertyUnitID": "opendes:reference-data--UnitOfMeasure:m:",
"TrajectoryStationPropertyTypeID": "opendes:reference-data--TrajectoryStationPropertyType:MD:"
},
{
"Name": "INCL",
"StationPropertyUnitID": "opendes:reference-data--UnitOfMeasure:dega:",
"TrajectoryStationPropertyTypeID": "opendes:reference-data--TrajectoryStationPropertyType:Inclination:"
},
{
"Name": "AZIM_TN",
"StationPropertyUnitID": "opendes:reference-data--UnitOfMeasure:dega:",
"TrajectoryStationPropertyTypeID": "opendes:reference-data--TrajectoryStationPropertyType:AzimuthTN:"
},
{
"Name": "TVD",
"StationPropertyUnitID": "opendes:reference-data--UnitOfMeasure:m:",
"TrajectoryStationPropertyTypeID": "opendes:reference-data--TrajectoryStationPropertyType:TVD:"
}
]
- Use response curves in normal Trajectory Conversion process
Edited by Levi Remington