Skip to main content

Location-wise summary

An ensemble is an attribute where every location has multiple equiprobable values. The location-wise summary task computes summary statistics (min, max, mean, and variance) of all the values at each location, and saves each statistic as a geoscience object attribute.

Parameters

Example

For more information, see the location-wise summary API reference.

Request

requests.post(
"https://{hub}.api.seequent.com/compute/orgs/{org_id}/geostatistics/location-wise-summary",
headers={"Authorization": "Bearer {token}"},
json={
"parameters": {
"source": {
"object": "https://{hub}.api.seequent.com/geoscience-object/orgs/{org_id}/workspaces/{workspace_id}/objects/path/my-grid.json",
"attribute": "locations.attributes[?name=='my-attribute']",
},
"target": {
"object": "https://{hub}.api.seequent.com/geoscience-object/orgs/{org_id}/workspaces/{workspace_id}/objects/path/my-grid.json",
},
},
},
)

Result

{
"message": "Location-wise summary statistics computed.",
"object_modified": {
"type": "geoscience-object-reference",
"object_reference": "https://{hub}.api.seequent.com/geoscience-object/orgs/{org_id}/workspaces/{workspace_id}/objects/path/my-grid.json",
"object_element": [
{
"type": "element",
"path": "/cell_attributes/@name=min",
},
{
"type": "element",
"path": "/cell_attributes/@name=max",
},
{
"type": "element",
"path": "/cell_attributes/@name=mean",
},
{
"type": "element",
"path": "/cell_attributes/@name=variance",
},
],
},
}

Tips

  • The source and target can use the same object, but they don't have to.
  • The task computes four summary statistics: minimum, maximum, mean, and variance of the ensemble values at each location.

What is the reason for your feedback?