Location-wise summary
An ensemble is an attribute where every location has multiple equiprobable values. The location-wise summary task computes summary statistics that consider all the values at each location. Those statistics are the minimum, maximum, mean, and variance. The task saves each statistic as a geoscience object attribute.
Parameters
source
(geoscience object reference)- A geoscience object reference that points to a multi-dimensional continuous attribute inside a regular-3d-grid or regular-masked-3d-grid object. This is the ensemble you want to aggregate.
target
(geoscience object reference)- A geoscience object reference that tells the task where to save the result. It must point to a regular-3d-grid or regular-masked-3d-grid object. The task will save one attribute to that object for each statistic. They will be named "min", "max", "mean", and "variance".
Example
Request
requests.post(
"https://{hub}.api.seequent.com/compute/orgs/{org_id}/geostat/location-wise-summary",
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-grid.json",
"object_element": [
{
"type": "element",
"path": "/cell_attributes/@name=my-ensemble",
},
],
},
"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",
},
},
},
)
Result
{
"message": "Location-wise summary completed.",
"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.