STAC-CLIENT(1)
π¦ STAC-CLIENT β section 1 of the manual, bestie π¦
okay so first things first, the page you're reading is STAC-CLIENT(1) β that's the stac-client manual page, section 1, the user commands one. And it's literally a tool for working with SpatioTemporal Asset Catalog (STAC) APIs. Spatio-temporal! Say it with me. Slay. πΈ
β¨ NAME β¨
stac-client β the tool for working with SpatioTemporal Asset Catalog (STAC) APIs. That's the whole vibe. That's the mission. π
π DESCRIPTION π
Okay so here's the top-level situation. The usage is:
usage: stac-client [-h] [--version] {collections,search} ...
It's STAC Client. That's the description, short and sweet, main character energy only.
π positional arguments π
{collections,search}β pick your fighter.
And what do those fighters do, you ask? Let me tell you:
collectionsβ Get all collections in this Catalog. Every single one. Collect them like PokΓ©mon. π₯searchβ Perform new search of items. Fresh search, new items, let's go.
π§ options π§
-h,--helpβ show this help message and exit. The classic. The icon. The one you run first every time, no cap.--versionβ Print version and exit. She tells you who she is and then she leaves. Queen behavior. π
π DESCRIPTION π β the collections era
Now we get into the collections subcommand, and here's her usage:
usage: stac-client collections [-h] [--logging LOGGING]
[--headers [HEADERS ...]]
[--add-conforms-to
[{CORE,COLLECTIONS,FEATURES,ITEM_SEARCH,CONTEXT,FIELDS,SORT,QUERY,FILTER}
...]] [--remove-conforms-to
[{CORE,COLLECTIONS,FEATURES,ITEM_SEARCH,CONTEXT,FIELDS,SORT,QUERY,FILTER}
...]] [--clear-conforms-to] [--error
[{no-conforms-to,does-not-conform-to,missing-link,fallback-to-pystac}
...]] [--ignore
[{no-conforms-to,does-not-conform-to,missing-link,fallback-to-pystac}
...]] [--save SAVE] url
ik it looks like a lot but we're gonna walk through every single crumb of it, don't worry π«Ά
π positional arguments π
urlβ Root Catalog URL. You gotta tell her where the catalog lives, bestie. It's the whole point.
π options π
-h,--helpβ show this help message and exit. hi bestie π--logging LOGGINGβ set your log level:DEBUG,INFO,WARN,ERROR,CRITICAL. Default isINFO. So if you want the gossip (DEBUG) you gotta ask for it.--headers [HEADERS ...]β Additional request headers, asKEY=VALUEpairs. Default:None. Little extras you send along with the request. π--add-conforms-to [{CORE,COLLECTIONS,FEATURES,ITEM_SEARCH,CONTEXT,FIELDS,SORT,QUERY,FILTER} ...]β Specify conformance classes to add to client. Default:None. She's manifesting extra capabilities. β¨--remove-conforms-to [{CORE,COLLECTIONS,FEATURES,ITEM_SEARCH,CONTEXT,FIELDS,SORT,QUERY,FILTER} ...]β Specify conformance classes to remove from client. Default:None. And she can un-manifest them too. It's giving editing the timeline.--clear-conforms-toβ fr fr the original page just lists this one with no description attached, so I'm not gonna make one up. She's mysterious. She's simply there. π
β οΈ warnings behavior β οΈ
--error [{no-conforms-to,does-not-conform-to,missing-link,fallback-to-pystac} ...]β Error on allstac-clientwarnings or specific warnings. Default:None. Choose violence, bestie. π₯--ignore [{no-conforms-to,does-not-conform-to,missing-link,fallback-to-pystac} ...]β Ignore allstac-clientwarnings or specific warnings. Default:None. Or choose β¨ peace β¨ and simply not perceive them.
π output options π
--save SAVEβ Filename to save collections to. Default:None. So she can put the collections in a little jar and keep them forever. π
π₯ DESCRIPTION π₯ β the search era
And now the big one, the search subcommand. Her usage:
usage: stac-client search [-h] [--logging LOGGING] [--headers [HEADERS
...]]
[--add-conforms-to
[{CORE,COLLECTIONS,FEATURES,ITEM_SEARCH,CONTEXT,FIELDS,SORT,QUERY,FILTER}
...]]
[--remove-conforms-to
[{CORE,COLLECTIONS,FEATURES,ITEM_SEARCH,CONTEXT,FIELDS,SORT,QUERY,FILTER}
...]] [--clear-conforms-to] [-c [COLLECTIONS ...]] [--ids [IDS
...]] [--bbox BBOX BBOX BBOX BBOX] [--intersects INTERSECTS]
[--datetime DATETIME] [--query [QUERY ...]] [-q [Q ...]]
[--filter FILTER] [--filter-lang FILTER_LANG] [--sortby [SORTBY
...]] [--fields [FIELDS ...]] [--limit LIMIT] [--max-items
MAX_ITEMS] [--method METHOD] [--error
[{no-conforms-to,does-not-conform-to,missing-link,fallback-to-pystac}
...]] [--ignore
[{no-conforms-to,does-not-conform-to,missing-link,fallback-to-pystac}
...]] [--matched] [--save SAVE] url
yes it's long. no we're not skipping any of it. let's go π¦
π positional arguments π
urlβ Root Catalog URL. Same energy as before: tell her where the catalog is.
π options π
-h,--helpβ show this help message and exit.--logging LOGGINGβDEBUG,INFO,WARN,ERROR,CRITICAL. Default:INFO.--headers [HEADERS ...]β Additional request headers (KEY=VALUEpairs). Default:None.--add-conforms-to [{CORE,COLLECTIONS,FEATURES,ITEM_SEARCH,CONTEXT,FIELDS,SORT,QUERY,FILTER} ...]β Specify conformance classes to add to client. Default:None.--remove-conforms-to [{CORE,COLLECTIONS,FEATURES,ITEM_SEARCH,CONTEXT,FIELDS,SORT,QUERY,FILTER} ...]β Specify conformance classes to remove from client. Default:None.--clear-conforms-toβ again, the original gives no description here, so no invented lore from me. just a little guy standing there. π
π search options π
-c [COLLECTIONS ...],--collections [COLLECTIONS ...]β One or more collection IDs. Default:None.--ids [IDS ...]β One or more Item IDs. It ignores other parameters, so know that when you use it. Default:None.--bbox BBOX BBOX BBOX BBOXβ Bounding box, in the ordermin lon, min lat, max lon, max lat. Yes, four values. Yes, all of them. Default:None.--intersects INTERSECTSβ GeoJSON Feature or geometry (file or string). Default:None.--datetime DATETIMEβ Single datetime or begin and end datetime (e.g.,2017-01-01/2017-02-15). Default:None.--query [QUERY ...]β Query properties of formKEY=VALUE(>=,<=,=,<>,>,<supported). Default:None.-q [Q ...]β DEPRECATED. Use--queryinstead. Query properties of formKEY=VALUE(<,>,<=,>=,=supported). Default:None. Babygirl this one is deprecated, ok? the new one is right there. use the new one. π«Ά--filter FILTERβ Filter on queryables using language specified infilter-langparameter. Default:None.--filter-lang FILTER_LANGβ Filter language used within the filter parameter. Default:cql2-json.--sortby [SORTBY ...]β Sort by fields. Default:None.--fields [FIELDS ...]β Control what fields get returned. Default:None. Pick and choose. Curate your feed. β¨--limit LIMITβ Page size limit. Default:None.--max-items MAX_ITEMSβ Max items to retrieve from search. Default:None.--method METHODβGETorPOST. Default:POST.
β οΈ warnings behavior β οΈ
--error [{no-conforms-to,does-not-conform-to,missing-link,fallback-to-pystac} ...]β Error on allstac-clientwarnings or specific warnings. Default:None.--ignore [{no-conforms-to,does-not-conform-to,missing-link,fallback-to-pystac} ...]β Ignore allstac-clientwarnings or specific warnings. Default:None.
π output options π
--matchedβ Print number matched. Default:False.--save SAVEβ Filename to save Item collection to. Default:None.
lowkey the whole page is just: point her at a URL, tell her what you want, and she handles it. highkey iconic. π
okay that's the whole thing, bestie, every flag, every default, every conformance class, nothing skipped, nothing invented, we ate and left no crumbs π
this has been stac-client version 0.7.3, from August 2023 β mwah, take care of her, bye bestie ππ
π¦
π¦ where this page comes from
- debian trixie: stac-client 0.8.6-1 Β· Apache-2.0
- ubuntu noble: stac-client 0.7.6-1 Β· Apache-2.0
- ubuntu questing: stac-client 0.8.6-1
- ubuntu resolute: stac-client 0.9.0-1 Β· Apache-2.0
- ubuntu stonking: stac-client 0.9.0-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms