Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Product overview

Soil moisture observations describe current conditions but do not indicate whether those conditions are typical or extreme. Soil moisture anomaly products provide this context by comparing current observations with long-term climatological records.

Anomalies are computed as the difference between a short-term (rolling window) median and a long-term (climatological) median for the same calendar period.


Anomaly types

TypeAPI valueDescriptionUnit
DifferencediffAbsolute difference between the short-term and long-term medianm³/m³
Percentile rankprankPercentile rank of the current value within the climatological distributionpercentile (0–100)

Climatological reference periods

ReferenceAPI valueDescription
10-year10yBased on the preceding 10 years of data
30-year30yBased on the preceding 30 years of data

Aggregation windows

WindowAPI valueDescription
7-day rollingr7dayRolling 7-day median
30-day rollingr30dayRolling 30-day median

Available anomaly products

Anomalies are available for all standard, NRT, and forecast products:

When querying anomalies, the parameters anom_type, clim_ref, and clim_window must be provided alongside the product name.


Anomaly netCDF4 structure

Anomaly netCDF files contain a single data variable instead of the standard soil moisture variable:

VariableDescriptionDimsTypeFill valueScale factorUnit
diffDifference between long- and short-term soil moisture medians(y, x)int16-99990.005m³/m³
yLatitude coordinate(y)float64NaN—degrees_north
xLongitude coordinate(x)float64NaN—degrees_east
spatial_refCoordinate reference system()int64———

Additional global attributes

AttributeExample value
description“Soil moisture anomaly difference with respect to 30y climatological reference, aggregated over a ‘r7day’ time window.”
sourceD-MSSM v02.00
data_levelL4
feedstandard

Anomaly JSON (point API) response

Example (d-mssm-anom, diff, r7day, 30y):

{
  "data": [
    {
      "location": {
        "coordinates": {
          "lat": 14.0,
          "lon": 100.5
        }
      },
      "times": {
        "valid_time": "2026-02-10 12:00:00"
      },
      "values": {
        "lat": 14.0,
        "lon": 100.5,
        "diff": -0.045,
        "feed": "standard"
      }
    }
  ],
  "meta": {
    "message": null
  }
}

Anomaly file naming

Anomaly files embed the type, window, and reference period in the product name:

smi.YYYYMMDD.t12z.<resolution>.d-mssm-anom-<anom_type>-<clim_window>-<clim_ref>.<region>.vMAmi.nc

Where:

Example: smi.20260210.t12z.6000m.d-mssm-anom-diff-r7day-30y.global.v0200.nc


Further details: Introducing Spire’s Soil Moisture Insights: Anomalies & Contextual Intelligence