Caelus3,462 checksGitHubv0.26.0MIT
API Reference / phaseStratumKey · function

Function: phaseStratumKey()

function phaseStratumKey(scene, lonEast?): string;

Unsupervised horizon x season x longitude physical stratum key (EXP-007).

Returns <horizon>:<season>:lon<0..5> where:

  • horizon: "night" (< -6 deg) | "twilight" ([-6, +6] deg) | "day" (> +6 deg)
  • season: "mar_eq" | "jun_sol" | "sep_eq" | "dec_sol" (hemisphere-neutral)
  • lon<0..5>: 60-degree longitude sector (lon0..lon5, -180..+180E)

Parameters

ParameterType
sceneSceneGeometry
lonEast?number | null

Returns

string

Start building

Quickstart →