Skip to main content

Conditional turning bands

The conditional turning bands task runs a conditional block turning-bands simulation using an existing continuous distribution. Unlike the full conditional simulation task, this task takes a pre-computed distribution object (created by the continuous-distribution task) instead of computing one internally. The task creates a continuous ensemble attribute with the backtransformed simulation results. The ensemble has one column for each realization. You get to pick how many realizations the task does.

Parameters

  • source (geoscience object reference)
    • A geoscience object reference that points to a pointset object containing the source points used for conditioning the simulation.
  • source_attribute (attribute reference)
    • Reference to the numeric attribute on the source object containing the conditioning values.
  • target (geoscience object reference)
  • distribution (geoscience object reference)
  • variogram_model (geoscience object reference)
    • A geoscience object reference that points to a variogram object. This should be fitted to an experimental variogram of your composites.
  • neighborhood (object)
    • A search ellipse that the task will use for simulating and for kriging during the conditioning step.
    •   {
      "max_samples": 40,
      "min_samples": 1,
      "ellipsoid": {
      "ellipsoid_ranges": {
      "major": 70,
      "semi_major": 70,
      "minor": 5
      },
      "rotation": {
      "dip_azimuth": 0,
      "dip": 0,
      "pitch": 0
      }
      }
      }
  • block_discretization (object)
    • How many pieces you want to chop each grid cell into, in the x, y, and z directions. The task will simulate a value for each piece, then take their mean and assign that number to the cell.
    •   {
      "nx": 5,
      "ny": 5,
      "nz": 5
      }
  • number_of_lines (integer, optional)
    • How many lines to use for the turning-band simulation. Defaults to 500. Must be between 1 and 1000.
  • random_seed (integer, optional)
    • Seeds random number generation in the task. Defaults to 38239342.
  • realizations (integer, optional)
    • How many realizations you want to simulate. All realizations will be saved. Defaults to 1. Must be between 1 and 100.
  • kriging_method (string, optional)
    • The kriging method to use for the conditioning step. Can be either "simple" or "ordinary". Defaults to "simple".

Example

For more information, see the conditional turning bands API reference.

Request

requests.post(
"https://{hub}.api.seequent.com/compute/orgs/{org_id}/geostat/conditional-tbsim",
headers={"Authorization": "Bearer {token}"},
json={
"parameters": {
"source": {
"type": "geoscience-object-reference",
"object_reference": "https://{hub}.api.seequent.com/geoscience-object/orgs/{org_id}/workspaces/{workspace_id}/objects/path/my-pointset.json",
},
"source_attribute": "locations.attributes[0]",
"target": {
"type": "geoscience-object-reference",
"object_reference": "https://{hub}.api.seequent.com/geoscience-object/orgs/{org_id}/workspaces/{workspace_id}/objects/path/my-grid.json",
},
"distribution": {
"type": "geoscience-object-reference",
"object_reference": "https://{hub}.api.seequent.com/geoscience-object/orgs/{org_id}/workspaces/{workspace_id}/objects/path/my-distribution.json",
},
"variogram_model": {
"type": "geoscience-object-reference",
"object_reference": "https://{hub}.api.seequent.com/geoscience-object/orgs/{org_id}/workspaces/{workspace_id}/objects/path/my-variogram.json",
},
"neighborhood": {
"max_samples": 40,
"min_samples": 1,
"ellipsoid": {
"ellipsoid_ranges": {
"major": 70,
"semi_major": 70,
"minor": 5
},
"rotation": {
"dip_azimuth": 0,
"dip": 0,
"pitch": 0
}
}
},
"block_discretization": {
"nx": 5,
"ny": 5,
"nz": 5
},
"number_of_lines": 500,
"random_seed": 123,
"realizations": 10,
"kriging_method": "simple"
},
},
)

Result

{
"target": {
"name": "my-grid",
"reference": "https://{hub}.api.seequent.com/geoscience-object/orgs/{org_id}/workspaces/{workspace_id}/objects/{object_id}?version={version_id}",
"simulations": {
"name": "simulation-results",
"reference": "cell_attributes[0]"
}
}
}

Tips

  • This task requires a pre-computed distribution. Use the continuous-distribution task to create one first.
  • Using a block discretization of {nx: 1, ny: 1, nz: 1} is like doing a point simulation on the midpoint of each cell.
  • Higher values of number_of_lines produce more accurate results but take longer.

Was this page helpful?