# Ordinary Kriging Spherical Covariance Unbiased Weight System

> Ordinary Kriging Spherical Covariance Unbiased Weight System is a paid API for AI agents from detect.halowerk.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-11-17).

Computes unbiased spatial prediction weights for ordinary kriging using a spherical covariance model at one or more query locations.

## Facts

- Endpoint: POST https://detect.halowerk.com/v1/F-TD2000-GEO-INDUSTRY-B005/ordinary-kriging-spherical-covariance-unbiased-weight-system?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ordinary-kriging-spherical-covariance-unbiased-weight-system-ab9c0b36
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-tG6SSIfP8o-kCSroRtL2

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability ordinary-kriging-spherical-covariance-unbiased-weight-system-ab9c0b36 -d '<json body>'
```

Example prompt: I have 5 soil sample sites with coordinates and measured nitrate concentrations — partial sill 3.2, range 500, nugget 0.1 — and I need unbiased ordinary kriging weights for two unsampled query points at [120, 340] and [200, 410] using a spherical covariance model.

## When to prefer this

Choose this endpoint when you need analytically correct, unbiased spatial prediction weights under the spherical covariance/variogram model specifically, as opposed to other variogram families (exponential, Gaussian, Matérn). It is well-suited for environmental, agricultural, or geological datasets where the spherical model is the established fit and you need the kriging system solved without implementing linear algebra yourself.

## Known failure modes

- Singular or near-singular covariance matrix when sites are coincident or too clustered — returns error or numerically unstable weights
- Range or nugget out of bounds [0.000001, 10000] — schema validation rejection
- Sites array and values array length mismatch — rejected by schema
- Query coordinates outside [-10000, 10000] bounds — schema validation rejection
- Fewer than 2 observation sites provided — schema validation rejection
- More than 24 sites or 32 query points — rejected by schema
- Payment not provided or insufficient USDC — x402 payment required error

## How this service works

Compute unbiased spatial prediction weights under an explicit covariance model.

## Output

Returns the unbiased ordinary kriging weight vector for each query location — one weight per observation site plus a Lagrange multiplier enforcing the unbiasedness constraint — derived from inverting the spherical covariance matrix assembled from the input sites, partial sill, range, and nugget parameters.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "artifact": {
   "type": "object",
   "required": [
    "kriging"
   ],
   "properties": {
    "kriging": {
     "type": "object",
     "required": [
      "data",
      "claim"
     ],
     "properties": {
      "data": {
       "type": "object",
       "required": [
        "sites",
        "values",
        "partial_sill",
        "range",
        "nugget",
        "queries"
       ],
       "properties": {
        "range": {
         "type": "number",
         "maximum": 10000,
         "minimum": 0.000001
        },
        "sites": {
         "type": "array",
         "items": {
          "type": "array",
          "items": {
           "type": "number",
           "maximum": 10000,
           "minimum": -10000
          },
          "maxItems": 2,
          "minItems": 2
         },
         "maxItems": 24,
         "minItems": 2
        },
        "nugget": {
         "type": "number",
         "maximum": 10000,
         "minimum": 0
        },
        "values": {
         "type": "array",
         "items": {
          "type": "number",
          "maximum": 10000,
          "minimum": -10000
         },
         "maxItems": 24,
         "minItems": 2
        },
        "queries": {
         "type": "array",
         "items": {
          "type": "array",
          "items": {
           "type": "number",
           "maximum": 10000,
           "minimum": -10000
          },
          "maxItems": 2,
          "minItems": 2
         },
         "maxItems": 32,
         "minItems": 1
        },
        "partial_sill": {
         "type": "number",
         "maximum": 10000,
         "minimum": 0.000001
        }
       },
       "additionalProperties": false
      },
      "claim": {}
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ordinary-kriging-spherical-covariance-unbiased-weight-system-ab9c0b36/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from detect.halowerk.com](https://www.zero.xyz/host/detect.halowerk.com/llms.txt)
