Bit-depth of SkySat and PlanetScope assets, and where you can convert it

Native bit depth by asset

PlanetScope (PSScene)

Asset Native data type
ortho_analytic_4b 16-bit unsigned (UINT16)
ortho_analytic_4b_sr 16-bit unsigned (UINT16)
ortho_analytic_8b 16-bit unsigned (UINT16)
ortho_analytic_8b_sr 16-bit unsigned (UINT16)
ortho_udm2 8-bit unsigned (UINT8), 8 bands
ortho_visual 8-bit unsigned (UINT8)

SkySat (SkySatScene / SkySatCollect)

Asset Native data type
ortho_analytic 16-bit unsigned (UINT16)
ortho_analytic_sr 16-bit unsigned (UINT16)
ortho_panchromatic 16-bit unsigned (UINT16)
ortho_pansharpened 16-bit unsigned (UINT16)
ortho_analytic_udm2 8-bit unsigned (UINT8), 8 bands
ortho_visual 8-bit unsigned (UINT8)

Rule of thumb: analytic products are 16-bit; visual and UDM2 masks are 8-bit.

Bit-depth conversion by API

Data API — not supported

The Data API searches the catalog and activates/downloads assets in their native format. It does not convert pixel bit depth or data type. Use the Orders or Process API to change bit depth.

Orders API — supported (Band Math tool)

Set the output pixel type with the Band Math tool's pixel_type parameter. Valid values: Auto (default, same as input), 8U, 16U, 16S, 32R.

{
  "name": "psscene-to-8bit",
  "products": [
    { "item_ids": ["20260630_100542_51_2570"],
      "item_type": "PSScene",
      "product_bundle": "analytic_udm2" }
  ],
  "tools": [
    { "bandmath": { "b1": "b1", "b2": "b2", "b3": "b3", "b4": "b4", "pixel_type": "8U" } }
  ]
}

Note: the File Format tool changes container only (COG or NITF), not bit depth; the TOAR tool always outputs scaled 16-bit reflectance.

Process API — supported (evalscript output sampleType)

Set the output data type in the evalscript's setup() output. Options: AUTO (default), INT8, UINT8, INT16, UINT16, FLOAT32.

//VERSION=3
function setup() {
  return {
    input: ["B04","B03","B02"],
    output: { bands: 3, sampleType: "UINT8" }
  };
}
function evaluatePixel(s) {
  return [s.B04 * 255, s.B03 * 255, s.B02 * 255];
}

Quick reference

API Bit-depth conversion? How
Data API No native format only
Orders API Yes Band Math pixel_type (8U/16U/16S/32R)
Process API Yes evalscript output sampleType (AUTO/INT8/UINT8/INT16/UINT16/FLOAT32)
Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.