capella-console-wizardο
Starting with capella-console-client>=0.8.0 this package ships with an interactive wizard-like CLI
Installationο
$ pip install capella-console-client[wizard]
Note: For ZSH shells the brackets need to be escaped or full package name quoted:
$ pip install "capella-console-client[wizard]" or pip install capella-console-client\[wizard\]
capella-console-wizard --help
Configureο
$ capella-console-wizard configure
2021-10-07 15:01:22,936 - π°οΈ Capella π - INFO - let's get you all setup using capella-console-wizard:
2021-10-07 15:01:22,936 - π°οΈ Capella π - INFO - Press Ctrl + C anytime to quit
? Console API key: ****************************************************************
updated API key for Capella Console
? Specify the default location for downloads and .json STAC exports: (press <tab>) /data/stuff/things/here/
updated default output path for .json STAC exports
? Specify the order of search filters to be used in searches: console UI filters on top
updated order of search filters to be used in searches
? Which STAC item fields would you like to display in the search results table? done (9 selections)
updated fields that to will be displayed in search results table
? Speciy default limit to be used in searches (can be overridden at search time): 100
updated default search limit to 100
Workflowsο
capella-console-wizard exposes common interactive workflows (search, order, download, cancel tasking requests).
The following sections describe a subset of those
Interactive searchο
Interactively search through Capella Consoleβs STAC (Spatio Temporal Asset Catalog)
$ capella-console-wizard workflows search
you will be prompted for search 1 to many search filter (e.g. datetime , bbox, product_type)
? What are you looking for today? (Use arrow keys to move, <space> to select, <a> to toggle, <i> to invert)
β bbox
β billable_area
β center_frequency
β collect_id
β collections
β constellation
Β» β datetime
β frequency_band
β ids
β incidence_angle
β instrument_mode
β instruments
β limit
β look_angle
β looks_azimuth
β looks_equivalent_number
β looks_range
β observation_direction
β orbit_state
β orbital_plane
β pixel_spacing_azimuth
β pixel_spacing_range
β platform
β polarizations
β product_type
β resolution_azimuth
β resolution_ground_range
β resolution_range
β squint_angle
Checkoutο
Interactively search, order and download products.
$ capella-console-wizard workflows checkout
? What would you like to do? (Use arrow keys)
new search
use previously saved search results
Β» provide a collect id
provide a taskingrequest id
select existing order
Given collect id
? provide a collect id: <collect_id>
? product type(s): (Use arrow keys to move, <space> to select, <a> to toggle, <i> to invert)
β SLC
β GEO
β SICD
Β» β GEC
β SIDD
β CPHD
? asset type: (Use arrow keys to move, <space> to select, <a> to toggle, <i> to invert)
Β» β all
β raster
β metadata
β thumbnail
? download location: /Users/thomas.beyer/data/new_stuff
2021-11-17 14:00:53,144 - π°οΈ Capella π - INFO - searching catalog with payload {'query': {'capella:collect_id': {'in': ['<collect_id>']}, 'sar:product_type': {'in': ['GEO', 'GEC']}}}
2021-11-17 14:00:53,145 - π°οΈ Capella π - INFO - page 1 (0 - 500)
2021-11-17 14:00:53,477 - π°οΈ Capella π - INFO - found 2 STAC items
2021-11-17 14:00:54,461 - π°οΈ Capella π - INFO - reviewing order for <stac_id_1>, <stac_id_2>
2021-11-17 14:00:56,197 - π°οΈ Capella π - INFO - submitting order for <stac_id_1>, <stac_id_2>
2021-11-17 14:00:58,106 - π°οΈ Capella π - INFO - successfully submitted order <order_id>
2021-11-17 14:00:58,106 - π°οΈ Capella π - INFO - getting presigned assets for order <order_id>
2021-11-17 14:00:59,541 - π°οΈ Capella π - INFO - downloading 2 products
2021-11-17 14:00:59,541 - π°οΈ Capella π - INFO - filtering by product_types: GEO, GEC
2021-11-17 14:00:59,542 - π°οΈ Capella π - INFO - downloading product <stac_id_1> to /Users/thomas.beyer/data/new_stuff/<stac_id_1>
2021-11-17 14:00:59,542 - π°οΈ Capella π - INFO - Only including assets HH, VV
2021-11-17 14:00:59,543 - π°οΈ Capella π - INFO - downloading product <stac_id_2> to /Users/thomas.beyer/data/new_stuff/<stac_id_2>
2021-11-17 14:00:59,543 - π°οΈ Capella π - INFO - Only including assets HH, VV
...
? Want to open any product directories? Yes
? select which product directories you want to open done (2 selections)
New search
? What would you like to do? new search
? Select your search filters: done (2 selections)
? collections [=]: capella-open-data
? limit [=]: 1
2021-11-17 14:10:53,289 - π°οΈ Capella π - INFO - searching catalog with payload {'collections': ['capella-open-data'], 'limit': 1, 'query': {'constellation': {'eq': 'capella'}}}
2021-11-17 14:10:53,289 - π°οΈ Capella π - INFO - page 1 (0 - 1)
2021-11-17 14:10:53,473 - π°οΈ Capella π - INFO - Using https://0r1mdcwa5c.execute-api.us-west-2.amazonaws.com/prod/search for searches
2021-11-17 14:10:53,637 - π°οΈ Capella π - INFO - found 1 STAC item
βββββββ€ββββββββββββββββββββββββββββββββββββββββββββββββββββββ€ββββββββββββββββββββ€βββββββββββββββββ€βββββββββββββββββββββββββββββ€ββββββββββββββββββββ€ββββββββββββββββββ
β # β id β instrument_mode β product_type β datetime β incidence_angle β polarizations β
βββββββͺββββββββββββββββββββββββββββββββββββββββββββββββββββββͺββββββββββββββββββββͺβββββββββββββββββͺβββββββββββββββββββββββββββββͺββββββββββββββββββββͺββββββββββββββββββ‘
β 1 β CAPELLA_C05_SP_SLC_HH_20211020065916_20211020065918 β spotlight β SLC β 2021-10-20T06:59:17.374865 β 27.3 β ['HH'] β
βββββββ§ββββββββββββββββββββββββββββββββββββββββββββββββββββββ§ββββββββββββββββββββ§βββββββββββββββββ§βββββββββββββββββββββββββββββ§ββββββββββββββββββββ§ββββββββββββββββββ
? Anything you'd like to do now? refine search
Refining
{"collections": [["=", ["capella-open-data"]]], "limit": [["=", 1]]}
? Select your search filters: done (2 selections)
? collections [=]: ['capella-open-data']
? limit [=]: 2
2021-11-17 14:11:05,597 - π°οΈ Capella π - INFO - searching catalog with payload {'collections': ['capella-open-data'], 'limit': 2, 'query': {'constellation': {'eq': 'capella'}}}
2021-11-17 14:11:05,597 - π°οΈ Capella π - INFO - page 1 (0 - 2)
2021-11-17 14:11:05,759 - π°οΈ Capella π - INFO - found 2 STAC items
βββββββ€ββββββββββββββββββββββββββββββββββββββββββββββββββββββ€ββββββββββββββββββββ€βββββββββββββββββ€βββββββββββββββββββββββββββββ€βββββββββββββββββββββ€ββββββββββββββββββ
β # β id β instrument_mode β product_type β datetime β incidence_angle β polarizations β
βββββββͺββββββββββββββββββββββββββββββββββββββββββββββββββββββͺββββββββββββββββββββͺβββββββββββββββββͺβββββββββββββββββββββββββββββͺβββββββββββββββββββββͺββββββββββββββββββ‘
β 1 β CAPELLA_C05_SP_SLC_HH_20211020065916_20211020065918 β spotlight β SLC β 2021-10-20T06:59:17.374865 β 27.3 β ['HH'] β
βββββββΌββββββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββΌβββββββββββββββββΌβββββββββββββββββββββββββββββΌβββββββββββββββββββββΌββββββββββββββββββ€
β 2 β CAPELLA_C05_SP_GEC_HH_20211020065906_20211020065928 β spotlight β GEC β 2021-10-20T06:59:17.374849 β 27.3 β ['HH'] β
βββββββ§ββββββββββββββββββββββββββββββββββββββββββββββββββββββ§ββββββββββββββββββββ§βββββββββββββββββ§βββββββββββββββββββββββββββββ§βββββββββββββββββββββ§ββββββββββββββββββ
? Anything you'd like to do now? continue
? asset type: [thumbnail]
? download location: /Users/thomas.beyer/data/new_stuff
2021-11-17 14:11:12,876 - π°οΈ Capella π - INFO - reviewing order for CAPELLA_C05_SP_SLC_HH_20211020065916_20211020065918, CAPELLA_C05_SP_GEC_HH_20211020065906_20211020065928
2021-11-17 14:11:14,565 - π°οΈ Capella π - INFO - submitting order for CAPELLA_C05_SP_SLC_HH_20211020065916_20211020065918, CAPELLA_C05_SP_GEC_HH_20211020065906_20211020065928
2021-11-17 14:11:16,409 - π°οΈ Capella π - INFO - successfully submitted order 48128100-47f3-11ec-8308-5bb8546cd9f5
2021-11-17 14:11:16,409 - π°οΈ Capella π - INFO - getting presigned assets for order 48128100-47f3-11ec-8308-5bb8546cd9f5
2021-11-17 14:11:17,845 - π°οΈ Capella π - INFO - downloading 2 products
2021-11-17 14:11:17,846 - π°οΈ Capella π - INFO - downloading product CAPELLA_C05_SP_SLC_HH_20211020065916_20211020065918 to /Users/thomas.beyer/data/new_stuff/CAPELLA_C05_SP_SLC_HH_20211020065916_20211020065918
2021-11-17 14:11:17,846 - π°οΈ Capella π - INFO - Only including assets thumbnail
2021-11-17 14:11:17,847 - π°οΈ Capella π - INFO - downloading product CAPELLA_C05_SP_GEC_HH_20211020065906_20211020065928 to /Users/thomas.beyer/data/new_stuff/CAPELLA_C05_SP_GEC_HH_20211020065906_20211020065928
2021-11-17 14:11:17,847 - π°οΈ Capella π - INFO - Only including assets thumbnail
2021-11-17 14:11:18,125 - π°οΈ Capella π - INFO - downloading to /Users/thomas.beyer/data/new_stuff/CAPELLA_C05_SP_SLC_HH_20211020065916_20211020065918/CAPELLA_C05_SP_GEO_HH_20211020065906_20211020065928_thumb.png (382.4 KiB)
2021-11-17 14:11:18,175 - π°οΈ Capella π - INFO - downloading to /Users/thomas.beyer/data/new_stuff/CAPELLA_C05_SP_GEC_HH_20211020065906_20211020065928/CAPELLA_C05_SP_GEO_HH_20211020065906_20211020065928_thumb.png (382.4 KiB)
2021-11-17 14:11:18,365 - π°οΈ Capella π - INFO - successfully downloaded to /Users/thomas.beyer/data/new_stuff/CAPELLA_C05_SP_GEC_HH_20211020065906_20211020065928/CAPELLA_C05_SP_GEO_HH_20211020065906_20211020065928_thumb.png
2021-11-17 14:11:18,365 - π°οΈ Capella π - INFO - successfully downloaded to /Users/thomas.beyer/data/new_stuff/CAPELLA_C05_SP_SLC_HH_20211020065916_20211020065918/CAPELLA_C05_SP_GEO_HH_20211020065906_20211020065928_thumb.png
? Do you want to open any product directories? No
Update tasking requestsο
$ capella-console-wizard tasks update
users with elevated permissions will be prompted to select who theyβd like to update tasking requests for
? Update tasking requests of ? (Use arrow keys)
Β» current user
by tasking request ID
current organization (requires elevated perms)
admin (requires elevated perms)
current user: tasking requests of current user will be searched
by tasking request ID: one or more tasking request IDs (UUIDs) will be prompted
current organization: tasking requests of current userβs org will be searched (requires elevated permissions)
admin: user_id / org_id will be prompted in previous step and used for search (requires elevated permissions)
After selecting scope, matching tasking requests are fetched and presented as a checkbox:
? Update tasking requests of ? current user
2026-02-16 14:39:42,023 - π°οΈ Capella π - INFO - searching tasking requests with payload ...
2026-02-16 14:39:42,813 - π°οΈ Capella π - INFO - found 5 tasking requests matching search query
? Which tasking request? done (2 selections)
Select which fields to update (multi-select):
? Which fields to update? (Use arrow keys to move, <space> to select, <a> to toggle, <i> to invert)
Β» β name
β description
β custom attribute 1
β custom attribute 2
β product types
Each selected field is then prompted individually:
? new name: updated tasking request name
A confirmation prompt summarises the pending changes before any API call is made:
? Apply the following updates:
name: 'updated tasking request name'
to 2 tasking request(s):
- aaaaaaaa-b2ca-4a44-9362-0304025e149f
- bbbbbbbb-b2ca-4a44-9362-0304025e149f
Yes
ββββββββββββββββββββββββββββββββββββββββ€βββββββββββ€βββββββββββββββββββββββββββββββ
β tasking request id β status β name β
ββββββββββββββββββββββββββββββββββββββββͺβββββββββββͺβββββββββββββββββββββββββββββββ‘
β aaaaaaaa-b2ca-4a44-9362-0304025e149f β β
β updated tasking request name β
ββββββββββββββββββββββββββββββββββββββββΌβββββββββββΌβββββββββββββββββββββββββββββββ€
β bbbbbbbb-b2ca-4a44-9362-0304025e149f β β
β updated tasking request name β
ββββββββββββββββββββββββββββββββββββββββ§βββββββββββ§βββββββββββββββββββββββββββββββ
Cancel tasking requestsο
$ capella-console-wizard tasks cancel
users with elevated permissions will be prompted to select who theyβd like to cancel tasking requests for
? Cancel tasking requests of ? (Use arrow keys)
Β» current user
by tasking request ID
current organization (requires elevated perms)
admin (requires elevated perms)
current user: cancelable tasking requests of current user will be searched
by tasking request ID: one or more tasking request IDs (UUIDs) will be prompted
current organization: cancelable tasking requests of current userβs org will be searched (requires elevated permissions)
admin: user_id / org_id will be prompted in previous step and used for search (requires elevated permissions)
? Cancel tasking requests of ? current organization (requires elevated perms)
2026-02-16 14:39:42,023 - π°οΈ Capella π - INFO - searching tasking requests with payload {'query': {'includeRepeatingTasks': {'eq': False}, 'organizationIds': ['2d98e85f-8c4b-4089-9faf-781277dd9282'], 'lastStatusCode': ['received', 'review', 'submitted', 'active', 'accepted']}}
2026-02-16 14:39:42,813 - π°οΈ Capella π - INFO - found 18 tasking requests matching search query
? Which tasking request? done (3 selections)
? Please confirm you'd like to cancel the following tasking requests (cancelation charges might apply):
- aaaaaaaa-b2ca-4a44-9362-0304025e149f
- bbbbbbbb-b2ca-4a44-9362-0304025e149f
- cccccccc-b2ca-4a44-9362-0304025e149f
Yes
ββββββββββββββββββββββββββββββββββββββββ€ββββββββββββββββββ
β tasking request id β cancel status β
ββββββββββββββββββββββββββββββββββββββββͺββββββββββββββββββ‘
β aaaaaaaa-b2ca-4a44-9362-0304025e149f β β
β
ββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββ€
β bbbbbbbb-b2ca-4a44-9362-0304025e149f β β
β
ββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββ€
β cccccccc-b2ca-4a44-9362-0304025e149f β β
β
ββββββββββββββββββββββββββββββββββββββββ§ββββββββββββββββββ
Update repeat requestsο
$ capella-console-wizard repeats update
users with elevated permissions will be prompted to select who theyβd like to update repeat requests for
? Update repeat requests of ? (Use arrow keys)
Β» current user
by repeat request ID
current organization (requires elevated perms)
admin (requires elevated perms)
current user: repeat requests of current user will be searched
by repeat request ID: one or more repeat request IDs (UUIDs) will be prompted
current organization: repeat requests of current userβs org will be searched (requires elevated permissions)
admin: user_id / org_id will be prompted in previous step and used for search (requires elevated permissions)
After selecting scope, matching repeat requests are fetched and presented as a checkbox:
? Update repeat requests of ? current user
2026-02-16 14:39:42,023 - π°οΈ Capella π - INFO - searching repeat requests with payload ...
2026-02-16 14:39:42,813 - π°οΈ Capella π - INFO - found 3 repeat requests matching search query
? Which repeat request? done (1 selection)
Select which fields to update (multi-select):
? Which fields to update? (Use arrow keys to move, <space> to select, <a> to toggle, <i> to invert)
Β» β name
β description
β custom attribute 1
β custom attribute 2
β product types
Each selected field is then prompted individually:
? new name: updated repeat request name
A confirmation prompt summarises the pending changes before any API call is made:
? Apply the following updates:
name: 'updated repeat request name'
to 1 repeat request(s):
- aaaaaaaa-b2ca-4a44-9362-0304025e149f
Yes
ββββββββββββββββββββββββββββββββββββββββ€βββββββββββ€ββββββββββββββββββββββββββββββ
β repeat request id β status β name β
ββββββββββββββββββββββββββββββββββββββββͺβββββββββββͺββββββββββββββββββββββββββββββ‘
β aaaaaaaa-b2ca-4a44-9362-0304025e149f β β
β updated repeat request name β
ββββββββββββββββββββββββββββββββββββββββ§βββββββββββ§ββββββββββββββββββββββββββββββ