CREATE_SHAPE...FROM_SCHEDULE(1)

okay bestie, sit down, hydrate, and let's talk about CREATE_SHAPE...FROM_SCHEDULE(1) β€” she lives in the User Commands section of the manual and she's here to turn your satellite schedule into shapefiles. no cap. πŸ’–


✨ NAME ✨

create_shapefiles_from_schedule β€” create shapefiles for each Pass outline form XML schedule files πŸ›°οΈ


πŸ’… DESCRIPTION πŸ’…

So here's the vibe: you open the XML file with the scheduled satellite pass plan, and you create shapefiles for each Pass outline, assuming the instrument as provided in the INSTRUMENTS dictionary. that's the whole gig. she eats every time. πŸ“

the usage is literally this, character for character, don't @ me:

create_shapefiles_from_schedule [-h] [-l LOG_CONFIG] -s [LIST_OF_SATELLITES ...] -t TLE_FILEPATH -x XML_FILEPATH [-o OUTPUT_DIR] [-v]

πŸŽ€ options: πŸŽ€

  • -h, --help β€” show this help message and exit. the classic. the icon. 🫢
  • -l, --log-config LOG_CONFIG β€” log config file to use instead of the standard logging. you're swapping in your own logging setup, main character energy only. ✨
  • -s, --satellites [LIST_OF_SATELLITES ...] β€” and bestie, the description here fr fr says "Complete file path to the TLE file to use." yes, for the satellites option. that's what the page says, i'm just the messenger. πŸ’€ iykyk.
  • -t, --tle_filename TLE_FILEPATH β€” complete file path to the TLE file to use. the actual TLE one. πŸ›°οΈ
  • -x, --xml_filename XML_FILEPATH β€” complete path to the XML satellite schedule file. πŸ—‚οΈ
  • -o, --output_dir OUTPUT_DIR β€” and the description for this one says "Complete path to the XML satellite schedule file." again β€” that's literally what the page says, no editing from me. copy-paste era, we respect it. πŸ™ˆ
  • -v, --verbose β€” verbosity (between 1 and 2 occurrences with more leading to more verbose logging). WARN=0, INFO=1, DEBUG=2. this is overridden by the log config file if specified. so if you passed -l, that config is running the show, periodt. πŸ‘‘

lowkey the whole game is: -t gives her the TLE, -x gives her the XML, and she hands you shapefiles for every Pass outline. -s, -o and -v are there doing their thing too. that's it, that's the page. 🌈

and that's a wrap, gorgeous β€” this one's from create_shapefiles_from_schedul..., dated January 2025, and yes the footer really does clip her name like that. iconic. slay, bye. πŸŽ€πŸ’–βœ¨

πŸ“¦ where this page comes from