Skip to content

Datum Imports Preview Staged

Preview the datum generated by a staged datum import job.

Note

This command will only work for jobs in the Staged state.

Usage

s10k datum imports preview-staged
    -j=<jobId>
    [-mode=<displayMode>]

Options

Option Long Version Description
-j= --job-id= the ID of the job to preview the datum for
-mode= --display-mode= the format to display the data as, one of CSV, JSON, or PRETTY; defaults to PRETTY

Output

A sample of datum from the start of the staged datum import resoruce.

Examples

s10k datum imports preview-staged --job-id 49a2f730-0000-0000-0000-233d085c799a

You can use imp instead of imports and preview instead of preview-staged:

s10k datum imp preview --job-id 49a2f730-0000-0000-0000-233d085c799a
+----------------------+------+-----------+--------------------+------------+-----------------+
| Timestamp            | Kind | Object ID | Source ID          | irradiance | irradianceHours |
+----------------------+------+-----------+--------------------+------------+-----------------+
| 2026-06-03T14:40:00Z |    n |      1052 | /BLD1/S1/SY2/PYR/1 |        151 |             151 |
+----------------------+------+-----------+--------------------+------------+-----------------+
| 2026-06-03T14:45:00Z |    n |      1052 | /BLD1/S1/SY2/PYR/1 |        159 |          164.25 |
+----------------------+------+-----------+--------------------+------------+-----------------+
| 2026-06-03T14:50:00Z |    n |      1052 | /BLD1/S1/SY2/PYR/1 |        161 |          177.67 |
+----------------------+------+-----------+--------------------+------------+-----------------+
| 2026-06-03T14:55:00Z |    n |      1052 | /BLD1/S1/SY2/PYR/1 |        168 |          191.67 |
+----------------------+------+-----------+--------------------+------------+-----------------+
| 2026-06-03T15:00:00Z |    n |      1052 | /BLD1/S1/SY2/PYR/1 |        180 |          206.67 |
+----------------------+------+-----------+--------------------+------------+-----------------+
Timestamp,Kind,Object ID,Source ID,irradiance,irradianceHours
2026-06-03T14:40:00Z,n,1052,/BLD1/S1/SY2/PYR/1,151,151
2026-06-03T14:45:00Z,n,1052,/BLD1/S1/SY2/PYR/1,159,164.25
2026-06-03T14:50:00Z,n,1052,/BLD1/S1/SY2/PYR/1,161,177.67
2026-06-03T14:55:00Z,n,1052,/BLD1/S1/SY2/PYR/1,168,191.67
2026-06-03T15:00:00Z,n,1052,/BLD1/S1/SY2/PYR/1,180,206.67
[
  {
    "created": "2026-06-03 14:40:00Z",
    "nodeId": 1052,
    "sourceId": "/BLD1/S1/SY2/PYR/1",
    "i": {
      "irradiance": 151
    },
    "a": {
      "irradianceHours": 151
    }
  },
  {
    "created": "2026-06-03 14:45:00Z",
    "nodeId": 1052,
    "sourceId": "/BLD1/S1/SY2/PYR/1",
    "i": {
      "irradiance": 159
    },
    "a": {
      "irradianceHours": 164.25
    }
  },
  {
    "created": "2026-06-03 14:50:00Z",
    "nodeId": 1052,
    "sourceId": "/BLD1/S1/SY2/PYR/1",
    "i": {
      "irradiance": 161
    },
    "a": {
      "irradianceHours": 177.67
    }
  },
  {
    "created": "2026-06-03 14:55:00Z",
    "nodeId": 1052,
    "sourceId": "/BLD1/S1/SY2/PYR/1",
    "i": {
      "irradiance": 168
    },
    "a": {
      "irradianceHours": 191.67
    }
  },
  {
    "created": "2026-06-03 15:00:00Z",
    "nodeId": 1052,
    "sourceId": "/BLD1/S1/SY2/PYR/1",
    "i": {
      "irradiance": 180
    },
    "a": {
      "irradianceHours": 206.67
    }
  }
]