Skip to content

OLD_4. prosEO CLI: command [orbit]

Katharina Bassler edited this page May 30, 2023 · 1 revision

The command orbit gives the ability to the users to manage orbits for a given spacecraft. The users are able to create, update, delete orbits and see the orbits that they have created.

Syntax

The syntax for the orbit command and its sub-commands is available here.

Sub-command: show

The sub-command show gives the ability to the users to retrieve and see all the orbits that exist for the mission they are logged-in. The users need to provide the spacecraft code in order to retrieve a list of orbits for it.

Apart from that, the users have the option to provide an orbit range, in order to see only some orbits as needed, by providing the orbit numbers.

Note: There may be multiple spacecraft for a given mission.

Use cases

The first use case shows the users retrieving the list of orbits for a specific spacecraft. The list is long, and as such only one orbit is shown:

prosEO (NM4T)> orbit show NM4T_Spacecraft_1
---
- id: 8072
  version: 1
  missionCode: "NM4T"
  spacecraftCode: "NM4T_Spacecraft_1"
  orbitNumber: 1236
  startTime: "2020-09-01T16:02:00.000000"
  stopTime: "2020-09-01T18:02:00.000000"
(...)

The second use case shows the user retrieving an orbit range, with only the first and last orbits shown in the example:

prosEO (NM4T)> orbit show --from=1234 --to=3003 NM4T_Spacecraft_1
---
- id: 8068
  version: 2
  missionCode: "NM4T"
  spacecraftCode: "NM4T_Spacecraft_1"
  orbitNumber: 1234
  startTime: "2020-09-01T12:00:00.000000"
  stopTime: "2020-09-01T14:00:01.123400"
(...)
- id: 8087
  version: 1
  missionCode: "NM4T"
  spacecraftCode: "NM4T_Spacecraft_1"
  orbitNumber: 3003
  startTime: "2019-11-04T14:03:30.500000"
  stopTime: "2019-11-04T15:44:40.600000"

Sub-command: create

Clone this wiki locally