Skip to main content

Geostatistics Compute Tasks

Version: 0.0.1

K-Nearest Neighbors

POST
/compute/orgs/{org_id}/geostat/knn

For more information, please read the guide

Request

Path parameters

The organisation identifier

Body parameters
type"geoscience-object-reference"
Default: "geoscience-object-reference"

key of the attribute you want to save/retrieve the data to/from.

A Geoscience object:

  • Pointset_V1_0_1
  • Pointset_V1_1_0
  • Pointset_V1_2_0
  • Pointset_V1_3_0
  • DownholeIntervals_V1_0_1
  • DownholeIntervals_V1_1_0
  • DownholeIntervals_V1_2_0
  • DownholeIntervals_V1_3_0

A Geoscience object:

  • ContinuousAttribute
type"element"
Default: "element"

The attribute path that contains the values to be processed. It must contain the full path and the filter e.g:

  • /cell_attributes/@name=attr-name
  • /locations/attributes/@name=attr-name
type"geoscience-object-reference"
Default: "geoscience-object-reference"

key of the attribute you want to save/retrieve the data to/from.

A Geoscience object:

  • Pointset_V1_0_1
  • Pointset_V1_1_0
  • Pointset_V1_2_0
  • Pointset_V1_3_0
  • DownholeIntervals_V1_0_1
  • DownholeIntervals_V1_1_0
  • DownholeIntervals_V1_2_0
  • DownholeIntervals_V1_3_0
  • Regular3DGrid_V1_0_1
  • Regular3DGrid_V1_1_0
  • Regular3DGrid_V1_2_0
  • Regular3DGrid_V1_3_0
  • RegularMasked3DGrid_V1_0_1
  • RegularMasked3DGrid_V1_1_0
  • RegularMasked3DGrid_V1_2_0
  • RegularMasked3DGrid_V1_3_0

A Geoscience object:

  • ContinuousAttribute
type"element"
Default: "element"

The attribute path that contains the values to be processed. It must contain the full path and the filter e.g:

  • /cell_attributes/@name=attr-name
  • /locations/attributes/@name=attr-name
max-samplesinteger
Required

Range: >= 1

majornumber
Required
semi_majornumber
Required
minornumber
Required
dip_azimuthnumber
Required
dipnumber
Required
pitchnumber
Required
{
"source": {
"type": "geoscience-object-reference",
"key": "string",
"object_reference": "string",
"object_element": [
{
"type": "element",
"path": "string"
}
]
},
"target": {
"type": "geoscience-object-reference",
"key": "string",
"object_reference": "string",
"object_element": [
{
"type": "element",
"path": "string"
}
]
},
"neighborhood": {
"max-samples": 0,
"anisotropy": {
"ellipsoid_ranges": {
"major": 0,
"semi_major": 0,
"minor": 0
},
"rotation": {
"dip_azimuth": 0,
"dip": 0,
"pitch": 0
}
}
}
}

Responses

200

The task result returned by the Compute API Result endpoint when the task is done

Concise summary of the completed job

Modified geoscience object

type"geoscience-object-reference"
Default: "geoscience-object-reference"

key of the attribute you want to save/retrieve the data to/from.

object_referencestring
object_elementarray | null
{
"message": "string",
"object_modified": {
"type": "geoscience-object-reference",
"key": "string",
"object_reference": "string",
"object_element": [
{
"type": "element",
"path": "string"
}
]
}
}

303

303 response, see Compute API Execute Task documentation for more details