STAC-VALID(1)

πŸ“¦ version 4.5.2, in ubuntu stonking

πŸ’– STAC-VALID(1) πŸ’–

okay bestie, gather round, because stac-valid is genuinely one of my fave little tools and you're gonna be obsessed. it's a User Command. it lives in section 1 of the manual. and its whole entire job?? validate STAC files ✨ that's it. that's the girl.

no cap, she's the vibe check your STAC objects have been begging for.


✨ NAME ✨

stac-valid β€” Validate STAC files πŸ’…

like literally, that's what she does. you hand her a STAC file, she tells you if it's valid or if it's giving chaos.


πŸ¦‹ SYNOPSIS πŸ¦‹

stac-valid [OPTIONS] STAC_FILE

so it's the command, then some optional little OPTIONS if you're feeling fancy, then the STAC_FILE you want checked. that's the whole shape of it, periodt.


πŸŽ€ OPTIONS πŸŽ€

ngl there are a LOT of these and every single one matters, so we're doing them all. no skipping. i will not let you skip.

  • --core β€” validates the core stac object only, no extensions involved. just the main character, no entourage.
  • --extensions β€” flips it: validates extensions only. the entourage, no main character.
  • --links β€” additionally validates links. ⚠️ heads up bestie, this only works with default mode. it's not a standalone thing, she needs the default mode to ride with.
  • --assets β€” additionally validates assets. same deal, only works with default mode. don't try to run her solo.
  • -c, --custom TEXT β€” validates against a custom schema. the schema can be a local filepath OR a remote schema, your call. TEXT is the placeholder for whatever you're passing in. 🫢
  • -r, --recursive β€” recursively validates all related stac objects. she will go down the rabbit hole and back, fr fr.
  • -m, --max-depth INTEGER β€” the maximum depth she'll traverse when recursing. omit this argument and you get full recursion, like, all the way down, no brakes. also: it's ignored if recursive == False. so if you're not recursing, this one's just sitting there, ignored, minding her own business. πŸ’€
  • --item-collection β€” validates item collection response. can be combined with --pages. defaults to one page.
  • -p, --pages INTEGER β€” maximum number of pages to validate via --itemcollection. defaults to one page. (yes, that's --itemcollection exactly as written in the original, i'm not touching it, i'm just the messenger πŸ’…)
  • -v, --verbose β€” enables verbose output for recursive mode. she'll tell you everything, and honestly? iconic of her.
  • --no_output β€” do not print output to console. silent mode. she's quiet but she's still working, i promise.
  • --log_file TEXT β€” saves the full recursive output to a log file. it takes a local filepath, so tell her where to put it. πŸ“„
  • --version β€” show the version and exit. quick lil peek, then she's out. πŸ‘‘
  • --help β€” show this message and exit. your girl always explains herself. 🌸

πŸ’œ a tiny lil sign-off πŸ’œ

this page is for stac-valid, version 3.3.1, dated August 2023. she's been slaying since then and she has not stopped. πŸ¦‹βœ¨

now go validate something, bestie, you got this πŸ’–

πŸ“¦ where this page comes from