NASA KSC lightning observations Source Code

Browse the implementation files for NASA KSC lightning observations.
observations.json json
{
  "format": "toolio.nasa-ksc-lightning-example",
  "formatVersion": 1,
  "datasetId": "weather/nasa-ksc-lightning-example",
  "datasetVersion": "2026-08-27.1",
  "retrievedAt": "2026-08-28T09:53:22Z",
  "source": {
    "title": "KSC Weather Archive: Lightning Strikes",
    "url": "https://kscweather.ksc.nasa.gov/wxarchive/LightningStrikes",
    "endpoint": "https://kscweather.ksc.nasa.gov/wxarchive/LightningStrikes/GetLightningStrikes",
    "query": {
      "centerLatitude": 28.590444823928774,
      "centerLongitude": -80.6512609897713,
      "radiusMeters": 9260,
      "startUtc": "2026-08-27T00:00:00Z",
      "endUtc": "2026-08-27T23:59:59Z"
    },
    "warning": "NASA states that users are responsible for validating the data contents for accuracy and suitability for their intended use."
  },
  "observations": {
    "kind": "toolio/table",
    "version": 1,
    "schema": {
      "fields": [
        {
          "id": "timestamp",
          "label": "Time (UTC)",
          "nullable": false,
          "dataType": {
            "kind": "timestamp",
            "unit": "microsecond",
            "timezone": "UTC"
          }
        },
        {
          "id": "latitude",
          "label": "Latitude",
          "nullable": false,
          "dataType": {
            "kind": "float",
            "bits": 64
          },
          "semanticType": "latitude",
          "unit": "degree"
        },
        {
          "id": "longitude",
          "label": "Longitude",
          "nullable": false,
          "dataType": {
            "kind": "float",
            "bits": 64
          },
          "semanticType": "longitude",
          "unit": "degree"
        },
        {
          "id": "signal-strength",
          "label": "Polarity / strength",
          "nullable": false,
          "dataType": {
            "kind": "float",
            "bits": 64
          },
          "unit": "kA"
        },
        {
          "id": "polarity",
          "label": "Polarity",
          "nullable": false,
          "dataType": {
            "kind": "string"
          },
          "semanticType": "category"
        },
        {
          "id": "semi-major-axis",
          "label": "Semi-major axis",
          "nullable": false,
          "dataType": {
            "kind": "float",
            "bits": 64
          },
          "unit": "km"
        },
        {
          "id": "semi-minor-axis",
          "label": "Semi-minor axis",
          "nullable": false,
          "dataType": {
            "kind": "float",
            "bits": 64
          },
          "unit": "km"
        },
        {
          "id": "ellipse-angle",
          "label": "Ellipse angle",
          "nullable": false,
          "dataType": {
            "kind": "float",
            "bits": 64
          },
          "unit": "degree"
        },
        {
          "id": "distance",
          "label": "Distance from query center",
          "nullable": false,
          "dataType": {
            "kind": "float",
            "bits": 64
          },
          "unit": "m"
        },
        {
          "id": "source-id",
          "label": "NASA source ID",
          "nullable": false,
          "dataType": {
            "kind": "integer",
            "bits": 64,
            "signed": false
          }
        }
      ]
    },
    "rows": [
      [
        "2026-08-27T20:32:01.9678236Z",
        28.554167,
        -80.712222,
        -20.4,
        "negative",
        0.1,
        0.1,
        339,
        7199.087,
        146681340
      ],
      [
        "2026-08-27T20:32:01.9700783Z",
        28.545,
        -80.725,
        -7.1,
        "negative",
        0.3,
        0.1,
        339,
        8807.1111,
        146681341
      ],
      [
        "2026-08-27T20:32:01.9700794Z",
        28.542222,
        -80.722778,
        -6.6,
        "negative",
        0.1,
        0.1,
        330,
        8815.0995,
        146681342
      ],
      [
        "2026-08-27T20:35:28.6402601Z",
        28.571111,
        -80.741111,
        -22.2,
        "negative",
        0.1,
        0.1,
        341,
        9043.0903,
        146681543
      ],
      [
        "2026-08-27T20:35:28.7776160Z",
        28.571389,
        -80.741389,
        -8.8,
        "negative",
        0.1,
        0.1,
        338,
        9062.1822,
        146681544
      ],
      [
        "2026-08-27T20:43:33.9152173Z",
        28.604167,
        -80.735833,
        -23.9,
        "negative",
        0.1,
        0.1,
        339,
        8405.9568,
        146682099
      ],
      [
        "2026-08-27T20:43:34.0002580Z",
        28.604444,
        -80.736944,
        -26.8,
        "negative",
        0.1,
        0.1,
        288,
        8518.3362,
        146682100
      ],
      [
        "2026-08-27T20:43:34.0588611Z",
        28.604444,
        -80.736667,
        -10.5,
        "negative",
        0.1,
        0.1,
        330,
        8491.7208,
        146682101
      ],
      [
        "2026-08-27T20:43:34.1654068Z",
        28.604444,
        -80.736667,
        -9.2,
        "negative",
        0.1,
        0.1,
        329,
        8491.7208,
        146682102
      ],
      [
        "2026-08-27T20:43:34.2091394Z",
        28.604722,
        -80.736667,
        -9.6,
        "negative",
        0.1,
        0.1,
        332,
        8497.4438,
        146682103
      ],
      [
        "2026-08-27T20:43:34.2359200Z",
        28.604444,
        -80.736667,
        -8,
        "negative",
        0.1,
        0.1,
        332,
        8491.7208,
        146682104
      ],
      [
        "2026-08-27T20:43:34.2648127Z",
        28.604444,
        -80.736944,
        -10.6,
        "negative",
        0.1,
        0.1,
        333,
        8518.3362,
        146682105
      ],
      [
        "2026-08-27T20:43:34.2987157Z",
        28.604722,
        -80.736389,
        -15.2,
        "negative",
        0.1,
        0.1,
        335,
        8470.7534,
        146682106
      ],
      [
        "2026-08-27T20:43:34.3420422Z",
        28.604444,
        -80.736667,
        -5.2,
        "negative",
        0.1,
        0.1,
        334,
        8491.7208,
        146682107
      ],
      [
        "2026-08-27T20:43:34.4857036Z",
        28.604444,
        -80.736667,
        -3.7,
        "negative",
        0.1,
        0.1,
        334,
        8491.7208,
        146682108
      ],
      [
        "2026-08-27T20:43:34.5687108Z",
        28.604444,
        -80.736667,
        -5.1,
        "negative",
        0.1,
        0.1,
        335,
        8491.7208,
        146682109
      ],
      [
        "2026-08-27T20:43:34.6060953Z",
        28.604722,
        -80.736667,
        -6.2,
        "negative",
        0.1,
        0.1,
        332,
        8497.4438,
        146682110
      ],
      [
        "2026-08-27T20:45:28.6686725Z",
        28.597778,
        -80.745,
        -16,
        "negative",
        0.1,
        0.1,
        351,
        9198.5445,
        146682246
      ],
      [
        "2026-08-27T20:48:06.3926651Z",
        28.600278,
        -80.743333,
        -14.2,
        "negative",
        0.1,
        0.1,
        348,
        9065.5356,
        146682446
      ],
      [
        "2026-08-27T20:48:06.4485623Z",
        28.600278,
        -80.743611,
        -5,
        "negative",
        0.1,
        0.1,
        341,
        9092.5094,
        146682447
      ],
      [
        "2026-08-27T20:50:18.6231184Z",
        28.603889,
        -80.739722,
        -29.2,
        "negative",
        0.1,
        0.1,
        339,
        8774.6873,
        146682587
      ],
      [
        "2026-08-27T20:50:18.6404487Z",
        28.603889,
        -80.739722,
        -4.5,
        "negative",
        0.1,
        0.1,
        341,
        8774.6873,
        146682588
      ],
      [
        "2026-08-27T20:50:18.9077751Z",
        28.604722,
        -80.738611,
        -37.9,
        "negative",
        0.1,
        0.1,
        47,
        8684.1679,
        146682589
      ],
      [
        "2026-08-27T20:50:19.0083327Z",
        28.603889,
        -80.739722,
        -18.4,
        "negative",
        0.1,
        0.1,
        335,
        8774.6873,
        146682590
      ],
      [
        "2026-08-27T20:50:19.0171740Z",
        28.603889,
        -80.739722,
        -5.1,
        "negative",
        0.1,
        0.1,
        339,
        8774.6873,
        146682591
      ],
      [
        "2026-08-27T20:50:19.0637296Z",
        28.603889,
        -80.739722,
        -11.1,
        "negative",
        0.1,
        0.1,
        329,
        8774.6873,
        146682592
      ],
      [
        "2026-08-27T20:50:19.2886474Z",
        28.604444,
        -80.740556,
        -18.3,
        "negative",
        0.1,
        0.1,
        272,
        8865.6468,
        146682593
      ],
      [
        "2026-08-27T20:50:19.4486551Z",
        28.603889,
        -80.739444,
        -9.5,
        "negative",
        0.1,
        0.1,
        338,
        8747.9152,
        146682594
      ],
      [
        "2026-08-27T20:51:12.7714283Z",
        28.610278,
        -80.74,
        -66.8,
        "negative",
        0.1,
        0.1,
        357,
        8949.6269,
        146682623
      ],
      [
        "2026-08-27T20:51:12.8121196Z",
        28.61,
        -80.740278,
        -48.8,
        "negative",
        0.1,
        0.1,
        343,
        8968.4096,
        146682624
      ],
      [
        "2026-08-27T20:51:12.8370291Z",
        28.610278,
        -80.740556,
        -19.9,
        "negative",
        0.1,
        0.1,
        331,
        9002.2987,
        146682625
      ],
      [
        "2026-08-27T20:51:13.0305504Z",
        28.61,
        -80.74,
        -17.9,
        "negative",
        0.1,
        0.1,
        338,
        8942.0539,
        146682626
      ],
      [
        "2026-08-27T20:51:13.2883609Z",
        28.61,
        -80.740556,
        -5.2,
        "negative",
        0.1,
        0.1,
        337,
        8994.7702,
        146682627
      ],
      [
        "2026-08-27T20:52:01.5062794Z",
        28.608056,
        -80.738889,
        -75.5,
        "negative",
        0.1,
        0.1,
        335,
        8786.0461,
        146682678
      ],
      [
        "2026-08-27T20:53:12.4143813Z",
        28.583611,
        -80.620833,
        -22.4,
        "negative",
        0.1,
        0.1,
        41,
        3070.0438,
        146682756
      ],
      [
        "2026-08-27T20:54:09.5247082Z",
        28.607222,
        -80.707778,
        -58.4,
        "negative",
        0.1,
        0.1,
        64,
        5831.0289,
        146682818
      ],
      [
        "2026-08-27T20:54:09.6025978Z",
        28.622222,
        -80.706667,
        -5.8,
        "negative",
        0.1,
        0.1,
        289,
        6467.9357,
        146682819
      ],
      [
        "2026-08-27T20:54:09.8647767Z",
        28.608333,
        -80.706944,
        -29.2,
        "negative",
        0.1,
        0.1,
        344,
        5795.1664,
        146682820
      ],
      [
        "2026-08-27T20:54:09.8899148Z",
        28.608056,
        -80.708611,
        -9.8,
        "negative",
        0.1,
        0.1,
        9,
        5938.1928,
        146682821
      ],
      [
        "2026-08-27T20:54:10.2364504Z",
        28.608333,
        -80.707222,
        -14,
        "negative",
        0.1,
        0.1,
        337,
        5820.6904,
        146682823
      ],
      [
        "2026-08-27T20:54:10.3356134Z",
        28.609167,
        -80.706389,
        -15.7,
        "negative",
        0.1,
        0.1,
        296,
        5777.076,
        146682825
      ],
      [
        "2026-08-27T20:54:10.3356136Z",
        28.608611,
        -80.707778,
        -14.9,
        "negative",
        0.3,
        0.1,
        59,
        5882.343,
        146682826
      ],
      [
        "2026-08-27T20:54:10.3356138Z",
        28.608611,
        -80.704722,
        -16.1,
        "negative",
        0.1,
        0.1,
        313,
        5602.8046,
        146682827
      ],
      [
        "2026-08-27T20:54:10.5054826Z",
        28.608333,
        -80.707222,
        -8.2,
        "negative",
        0.1,
        0.1,
        329,
        5820.6904,
        146682829
      ],
      [
        "2026-08-27T20:55:31.1253354Z",
        28.616944,
        -80.703611,
        -59.1,
        "negative",
        0.1,
        0.1,
        344,
        5905.816,
        146682888
      ],
      [
        "2026-08-27T20:55:31.1507046Z",
        28.616667,
        -80.703611,
        -14.2,
        "negative",
        0.1,
        0.1,
        292,
        5890.4804,
        146682889
      ],
      [
        "2026-08-27T20:55:31.1702729Z",
        28.617222,
        -80.703611,
        -25.6,
        "negative",
        0.1,
        0.1,
        296,
        5921.3283,
        146682890
      ],
      [
        "2026-08-27T20:55:31.1702731Z",
        28.616667,
        -80.703333,
        -25.1,
        "negative",
        0.1,
        0.1,
        54,
        5866.8968,
        146682891
      ],
      [
        "2026-08-27T20:55:31.1927644Z",
        28.616667,
        -80.703611,
        -16.8,
        "negative",
        0.1,
        0.1,
        346,
        5890.4804,
        146682892
      ],
      [
        "2026-08-27T20:55:31.2551839Z",
        28.615278,
        -80.711944,
        -25.8,
        "negative",
        0.1,
        0.1,
        299,
        6543.4179,
        146682893
      ],
      [
        "2026-08-27T20:55:31.2793596Z",
        28.607222,
        -80.708611,
        -1.8,
        "negative",
        0.2,
        0.1,
        338,
        5908.213,
        146682894
      ],
      [
        "2026-08-27T20:55:31.2821855Z",
        28.616944,
        -80.703056,
        -17.6,
        "negative",
        0.1,
        0.1,
        293,
        5858.8877,
        146682895
      ],
      [
        "2026-08-27T20:55:31.3600305Z",
        28.615556,
        -80.705833,
        -55.6,
        "negative",
        0.7,
        0.1,
        329,
        6021.6817,
        146682896
      ],
      [
        "2026-08-27T20:55:31.4214856Z",
        28.6175,
        -80.703611,
        -42.5,
        "negative",
        0.1,
        0.1,
        288,
        5936.9615,
        146682897
      ],
      [
        "2026-08-27T20:55:31.4723519Z",
        28.616667,
        -80.703056,
        -14,
        "negative",
        0.1,
        0.1,
        331,
        5843.4289,
        146682898
      ],
      [
        "2026-08-27T20:55:31.5114740Z",
        28.616944,
        -80.703611,
        -5.6,
        "negative",
        0.1,
        0.1,
        290,
        5905.816,
        146682899
      ],
      [
        "2026-08-27T20:55:31.6855768Z",
        28.616944,
        -80.703333,
        -8,
        "negative",
        0.1,
        0.1,
        291,
        5882.2938,
        146682900
      ],
      [
        "2026-08-27T20:57:16.3705284Z",
        28.566944,
        -80.603889,
        -19.9,
        "negative",
        0.1,
        0.1,
        16,
        5318.7767,
        146682944
      ],
      [
        "2026-08-27T20:58:30.6490515Z",
        28.637222,
        -80.684444,
        -38.8,
        "negative",
        0.1,
        0.1,
        342,
        6134.3828,
        146683003
      ],
      [
        "2026-08-27T20:58:30.6689684Z",
        28.636944,
        -80.684444,
        -5.9,
        "negative",
        0.1,
        0.1,
        85,
        6108.1375,
        146683004
      ],
      [
        "2026-08-27T20:58:30.9304603Z",
        28.638333,
        -80.681667,
        -2.1,
        "negative",
        0.4,
        0.1,
        27,
        6103.0712,
        146683005
      ],
      [
        "2026-08-27T20:58:30.9310174Z",
        28.636944,
        -80.685278,
        -28.6,
        "negative",
        0.1,
        0.1,
        78,
        6151.794,
        146683006
      ],
      [
        "2026-08-27T20:58:30.9310176Z",
        28.635556,
        -80.685833,
        -29,
        "negative",
        0.2,
        0.1,
        14,
        6052.4825,
        146683007
      ],
      [
        "2026-08-27T20:58:30.9544726Z",
        28.636667,
        -80.685,
        -9.5,
        "negative",
        0.1,
        0.1,
        278,
        6111.1733,
        146683008
      ],
      [
        "2026-08-27T21:00:56.5170458Z",
        28.620833,
        -80.712222,
        8.8,
        "positive",
        0.1,
        0.1,
        278,
        6851.1881,
        146683104
      ],
      [
        "2026-08-27T21:09:40.2712452Z",
        28.563889,
        -80.604722,
        -10.2,
        "negative",
        0.1,
        0.1,
        46,
        5425.6283,
        146683466
      ],
      [
        "2026-08-27T21:09:40.4820617Z",
        28.555556,
        -80.605556,
        -15.5,
        "negative",
        0.1,
        0.1,
        17,
        5920.1998,
        146683468
      ],
      [
        "2026-08-27T21:09:40.7954058Z",
        28.555556,
        -80.605278,
        -24.1,
        "negative",
        0.1,
        0.1,
        87,
        5940.7387,
        146683475
      ],
      [
        "2026-08-27T21:09:40.8902140Z",
        28.555833,
        -80.605,
        -14.7,
        "negative",
        0.1,
        0.1,
        46,
        5941.2828,
        146683476
      ],
      [
        "2026-08-27T21:09:41.0501146Z",
        28.555556,
        -80.605833,
        -14.8,
        "negative",
        0.1,
        0.1,
        17,
        5899.7883,
        146683479
      ],
      [
        "2026-08-27T21:09:41.2569598Z",
        28.555,
        -80.605278,
        -5.1,
        "negative",
        0.1,
        0.1,
        16,
        5981.3945,
        146683480
      ],
      [
        "2026-08-27T21:13:52.0029175Z",
        28.6175,
        -80.684722,
        -9.9,
        "negative",
        0.1,
        0.1,
        285,
        4445.8139,
        146683613
      ],
      [
        "2026-08-27T21:13:52.1671613Z",
        28.623889,
        -80.6875,
        -12.5,
        "negative",
        0.1,
        0.1,
        21,
        5138.4697,
        146683614
      ],
      [
        "2026-08-27T21:13:52.1924413Z",
        28.623611,
        -80.687222,
        -9.4,
        "negative",
        0.1,
        0.1,
        28,
        5097.3254,
        146683615
      ],
      [
        "2026-08-27T21:14:08.4660070Z",
        28.578056,
        -80.670833,
        -9.8,
        "negative",
        0.1,
        0.1,
        25,
        2358.4424,
        146683630
      ],
      [
        "2026-08-27T21:14:08.4674445Z",
        28.578611,
        -80.653611,
        -2.3,
        "negative",
        0.4,
        0.1,
        8,
        1337.212,
        146683631
      ],
      [
        "2026-08-27T21:14:08.5769130Z",
        28.5775,
        -80.669722,
        -32.3,
        "negative",
        0.1,
        0.1,
        1,
        2309.3416,
        146683632
      ],
      [
        "2026-08-27T21:14:08.6302971Z",
        28.576667,
        -80.669167,
        -1.4,
        "negative",
        0.1,
        0.1,
        90,
        2327.2445,
        146683633
      ],
      [
        "2026-08-27T21:14:08.6343110Z",
        28.5775,
        -80.670278,
        -4.7,
        "negative",
        0.1,
        0.1,
        57,
        2352.0568,
        146683634
      ],
      [
        "2026-08-27T21:14:08.7622942Z",
        28.577222,
        -80.669722,
        -12.2,
        "negative",
        0.1,
        0.1,
        23,
        2328.7796,
        146683635
      ],
      [
        "2026-08-27T21:14:08.7859607Z",
        28.5775,
        -80.669444,
        -12,
        "negative",
        0.1,
        0.1,
        7,
        2288.1691,
        146683636
      ],
      [
        "2026-08-27T21:14:08.8245143Z",
        28.577222,
        -80.669722,
        -11.4,
        "negative",
        0.1,
        0.1,
        23,
        2328.7796,
        146683637
      ],
      [
        "2026-08-27T21:14:08.9295007Z",
        28.576944,
        -80.67,
        -5.4,
        "negative",
        0.1,
        0.1,
        33,
        2369.41,
        146683638
      ],
      [
        "2026-08-27T21:33:10.6423073Z",
        28.607778,
        -80.629444,
        37.4,
        "positive",
        0.1,
        0.1,
        14,
        2875.7488,
        146684137
      ]
    ],
    "metadata": {
      "source": "NASA Kennedy Space Center Weather Archive",
      "timezone": "UTC"
    }
  },
  "intervalCounts": {
    "kind": "toolio/table",
    "version": 1,
    "schema": {
      "fields": [
        {
          "id": "interval",
          "label": "Ten-minute interval (UTC)",
          "nullable": false,
          "dataType": {
            "kind": "timestamp",
            "unit": "second",
            "timezone": "UTC"
          }
        },
        {
          "id": "total",
          "label": "All observations",
          "nullable": false,
          "dataType": {
            "kind": "integer",
            "bits": 32,
            "signed": false
          },
          "unit": "observation"
        },
        {
          "id": "negative",
          "label": "Negative polarity",
          "nullable": false,
          "dataType": {
            "kind": "integer",
            "bits": 32,
            "signed": false
          },
          "unit": "observation"
        },
        {
          "id": "positive",
          "label": "Positive polarity",
          "nullable": false,
          "dataType": {
            "kind": "integer",
            "bits": 32,
            "signed": false
          },
          "unit": "observation"
        }
      ]
    },
    "rows": [
      [
        "2026-08-27T20:30:00Z",
        5,
        5,
        0
      ],
      [
        "2026-08-27T20:40:00Z",
        15,
        15,
        0
      ],
      [
        "2026-08-27T20:50:00Z",
        44,
        44,
        0
      ],
      [
        "2026-08-27T21:00:00Z",
        7,
        6,
        1
      ],
      [
        "2026-08-27T21:10:00Z",
        12,
        12,
        0
      ],
      [
        "2026-08-27T21:30:00Z",
        1,
        0,
        1
      ]
    ]
  },
  "tableSpec": {
    "kind": "toolio/table-spec",
    "version": 1,
    "title": "Lightning strike observations",
    "caption": "NASA KSC lightning observations returned by the fixed example query.",
    "columns": [
      {
        "field": "timestamp",
        "label": "Time (UTC)"
      },
      {
        "field": "signal-strength",
        "label": "Strength (kA)",
        "align": "right"
      },
      {
        "field": "polarity"
      },
      {
        "field": "latitude",
        "align": "right"
      },
      {
        "field": "longitude",
        "align": "right"
      },
      {
        "field": "distance",
        "label": "Distance (m)",
        "align": "right"
      }
    ],
    "options": {
      "pageSize": 20,
      "stickyHeader": true,
      "striped": true
    }
  },
  "mapSpec": {
    "kind": "toolio/map-spec",
    "version": 1,
    "type": "points",
    "title": "Lightning observations near Kennedy Space Center",
    "summary": "Locations of the lightning observations returned by the fixed NASA KSC query.",
    "encoding": {
      "latitude": {
        "field": "latitude",
        "label": "Latitude"
      },
      "longitude": {
        "field": "longitude",
        "label": "Longitude"
      },
      "color": {
        "field": "polarity",
        "label": "Polarity"
      },
      "tooltip": [
        {
          "field": "timestamp",
          "label": "Time (UTC)"
        },
        {
          "field": "signal-strength",
          "label": "Strength (kA)"
        },
        {
          "field": "polarity",
          "label": "Polarity"
        }
      ]
    },
    "legend": {
      "visible": true,
      "title": "Polarity",
      "position": "bottom"
    },
    "options": {
      "basemap": "streets",
      "cluster": false,
      "fit": "data",
      "padding": 40
    }
  },
  "chartSpec": {
    "kind": "toolio/chart-spec",
    "version": 1,
    "type": "bar",
    "title": "Lightning observations by ten-minute interval",
    "summary": "Counts of lightning observations returned near the KSC archive query center on August 27, 2026.",
    "encoding": {
      "x": {
        "field": "interval",
        "label": "Time (UTC)"
      },
      "y": {
        "field": "total",
        "label": "Observations"
      }
    },
    "axes": {
      "x": {
        "title": "Ten-minute interval (UTC)"
      },
      "y": {
        "title": "Number of observations",
        "grid": true
      }
    },
    "options": {
      "orientation": "vertical",
      "showValues": true
    }
  }
}

Description

Browse the implementation files for NASA KSC lightning observations.

References

  1. Tool.io on GitHub
  2. Tool.io TypeScript tools library

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies