National Weather Service

Resolve US gridpoints and read National Weather Service forecasts.

2 implemented operations

connector.yaml
points.readResolve a latitude and longitude to its NWS office and gridpoint.weather.read
national-weather-service points.readread#
  • LocalReadyThe runtime sends the operation's declared HTTP requests.
Runx scope
weather.read
Target
https://api.weather.gov/points
Local implementation
Declared HTTP requests: api.weather.gov
Inputs
Field and constraintsType / valuesRequired
latPattern: ^-?[0-9]{1,2}(\.[0-9]{1,4})?$stringYes
lonPattern: ^-?[0-9]{1,3}(\.[0-9]{1,4})?$stringYes

Required fields apply within their containing object. Unlisted fields are rejected.

Full input schema
{
  "type": "object",
  "required": [
    "lat",
    "lon"
  ],
  "properties": {
    "lat": {
      "type": "string",
      "pattern": "^-?[0-9]{1,2}(\\.[0-9]{1,4})?$"
    },
    "lon": {
      "type": "string",
      "pattern": "^-?[0-9]{1,3}(\\.[0-9]{1,4})?$"
    }
  },
  "additionalProperties": false
}

Result fields points

Operation digest sha256:2a8e5a92bff175120b2b31b3f58a53591311899d5e6834654f2d0aed4ac56a63Implementation sha256:8122bc139e053ffd1f097b751e64a102f09ffe50ac1bba5dc365621f26a90a09

forecast.readRead the forecast for one NWS office gridpoint.weather.read
national-weather-service forecast.readread#
  • LocalReadyThe runtime sends the operation's declared HTTP requests.
Runx scope
weather.read
Target
https://api.weather.gov/gridpoints
Local implementation
Declared HTTP requests: api.weather.gov
Inputs
Field and constraintsType / valuesRequired
grid_xPattern: ^[0-9]{1,3}$stringYes
grid_yPattern: ^[0-9]{1,3}$stringYes
officePattern: ^[A-Z]{3}$stringYes

Required fields apply within their containing object. Unlisted fields are rejected.

Full input schema
{
  "type": "object",
  "required": [
    "office",
    "grid_x",
    "grid_y"
  ],
  "properties": {
    "grid_x": {
      "type": "string",
      "pattern": "^[0-9]{1,3}$"
    },
    "grid_y": {
      "type": "string",
      "pattern": "^[0-9]{1,3}$"
    },
    "office": {
      "type": "string",
      "pattern": "^[A-Z]{3}$"
    }
  },
  "additionalProperties": false
}

Result fields forecast

Operation digest sha256:f408dc05dc7995a471623995e9a1351c8e9cfa29df01efd7103da495d9c502adImplementation sha256:756236e6272048425af0dea42e5c626461c6c273a8c6d52b4174109946b84c2d

Authentication

Commands here are for runx 0.11.1.

National Weather Service accepts no account at all.

No provider credential
No provider account or key is required. Runx still applies each operation’s declared scope and approval rules.

Authentication methods describe what the provider requires. They do not imply Runx supports every way the provider authenticates, and they do not grant access to your account.

Permissions

Each operation requires every Runx scope it declares. The account or key behind an instance must also reach the target on National Weather Service’s side; setting one up adds no National Weather Service permissions.

Skills that use National Weather Service