net.atmowx.getStationHistory

atmowx.net

Documentation

Time series for one station. bucket=raw returns individual readings (capped at 5000 points; narrow the range or coarsen the bucket on RangeTooLarge). hour/day buckets return UTC-aligned min/avg/max (sum for precipitation). No auth.

main query

Time series for one station. bucket=raw returns individual readings (capped at 5000 points; narrow the range or coarsen the bucket on RangeTooLarge). hour/day buckets return UTC-aligned min/avg/max (sum for precipitation). No auth.

Parameters

bucket string Optional

No description available.

from string datetime Required

An RFC 3339 formatted timestamp.

station string at-uri Required

AT-URI of the net.atmowx.station record.

to string datetime Required

An RFC 3339 formatted timestamp.

Output

Encodingapplication/json
bucket string Required

No description available.

series array Required

No description available.

station stringat-uri Required

An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).

Errors

StationNotFound No indexed station with that AT-URI.
RangeTooLarge raw bucket over 5000 points; narrow the range or use hour/day.
InvalidBucket bucket must be raw, hour, or day.
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://api.bsky.social)
Parameters
An RFC 3339 formatted timestamp.
AT-URI of the net.atmowx.station record.
An RFC 3339 formatted timestamp.
View raw schema
{
  "type": "query",
  "errors": [
    {
      "name": "StationNotFound",
      "description": "No indexed station with that AT-URI."
    },
    {
      "name": "RangeTooLarge",
      "description": "raw bucket over 5000 points; narrow the range or use hour/day."
    },
    {
      "name": "InvalidBucket",
      "description": "bucket must be raw, hour, or day."
    }
  ],
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "station",
        "bucket",
        "series"
      ],
      "properties": {
        "bucket": {
          "type": "string"
        },
        "series": {
          "type": "array",
          "items": {
            "ref": "net.atmowx.getStationHistory#series",
            "type": "ref"
          }
        },
        "station": {
          "type": "string",
          "format": "at-uri"
        }
      }
    },
    "encoding": "application/json"
  },
  "parameters": {
    "type": "params",
    "required": [
      "station",
      "from",
      "to"
    ],
    "properties": {
      "to": {
        "type": "string",
        "format": "datetime"
      },
      "from": {
        "type": "string",
        "format": "datetime"
      },
      "bucket": {
        "type": "string",
        "default": "raw",
        "knownValues": [
          "raw",
          "hour",
          "day"
        ]
      },
      "station": {
        "type": "string",
        "format": "at-uri",
        "description": "AT-URI of the net.atmowx.station record."
      }
    }
  },
  "description": "Time series for one station. bucket=raw returns individual readings (capped at 5000 points; narrow the range or coarsen the bucket on RangeTooLarge). hour/day buckets return UTC-aligned min/avg/max (sum for precipitation). No auth."
}
point object

No description available.

Properties

time string datetime Required

Reading time (raw) or UTC bucket start (hour/day).

View raw schema
{
  "type": "object",
  "required": [
    "time"
  ],
  "properties": {
    "avg": {
      "ref": "net.atmowx.defs#quantity",
      "type": "ref"
    },
    "max": {
      "ref": "net.atmowx.defs#quantity",
      "type": "ref"
    },
    "min": {
      "ref": "net.atmowx.defs#quantity",
      "type": "ref"
    },
    "sum": {
      "ref": "net.atmowx.defs#quantity",
      "type": "ref",
      "description": "Precipitation buckets report sum instead of min/avg/max."
    },
    "time": {
      "type": "string",
      "format": "datetime",
      "description": "Reading time (raw) or UTC bucket start (hour/day)."
    },
    "value": {
      "ref": "net.atmowx.defs#quantity",
      "type": "ref",
      "description": "Present for bucket=raw."
    }
  }
}
series object

One measured parameter's series. The parameter set is open: additional parameters may be served later without a schema change.

Properties

parameter string Required

No description available.

maxLength: 128 bytes
Known values: temperature, dewPoint, relativeHumidity, pressureSeaLevel, windSpeed, windGust, precipitationRate, precipitationDay, solarIrradiance, uvIndex, pm1, pm25, pm10, ozone, no2, so2, co
unit string Required

SI unit name, e.g. celsius, hectopascal, metersPerSecond, millimeters, percent, wattsPerSquareMeter.

maxLength: 64 bytes
View raw schema
{
  "type": "object",
  "required": [
    "parameter",
    "unit",
    "points"
  ],
  "properties": {
    "unit": {
      "type": "string",
      "maxLength": 64,
      "description": "SI unit name, e.g. celsius, hectopascal, metersPerSecond, millimeters, percent, wattsPerSquareMeter."
    },
    "points": {
      "type": "array",
      "items": {
        "ref": "net.atmowx.getStationHistory#point",
        "type": "ref"
      }
    },
    "parameter": {
      "type": "string",
      "maxLength": 128,
      "knownValues": [
        "temperature",
        "dewPoint",
        "relativeHumidity",
        "pressureSeaLevel",
        "windSpeed",
        "windGust",
        "precipitationRate",
        "precipitationDay",
        "solarIrradiance",
        "uvIndex",
        "pm1",
        "pm25",
        "pm10",
        "ozone",
        "no2",
        "so2",
        "co"
      ]
    }
  },
  "description": "One measured parameter's series. The parameter set is open: additional parameters may be served later without a schema change."
}

Lexicon Garden

@