CASACORE-UPDATE-TAI_UTC(1)

✨ casacore-update-tai_utc β€” bestie edition ✨

okay so this is a page from the CASACORE manual, and it's about casacore-update-tai_utc, a lil utility that keeps your leap-second lore up to date. sit down, grab a boba, we're doing timekeeping 🫢


🌈 NAME 🌈

casacore-update-tai_utc β€” bestie, this is the one that updates the casacore TAI_UTC table straight from tzdata. yes. the whole vibe. πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

casacore-update-tai_utc [options]

that's it. that's the whole thing. options go in, table comes out. iconic. ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea β˜•: casacore-update-tai_utc creates the Casacore TAI_UTC data table using info from tzdata. no cap, it just builds it for you.

and if that data table already exists? then it gets overwritten β€” but ONLY if two things line up:

  • it has the correct type and subtype, AND
  • the NTP timestamp was changed

both. both need to be true. it's giving selective. it's giving boundaries. we love that for it. πŸ™ˆ


πŸ’– OPTIONS πŸ’–

  • -h, --help β€” shows this help message and then dips. exit. done. πŸ‘‹
  • -i INPUT_FILE, --input-file INPUT_FILE β€” the leap_second input data file. default is literally /usr/share/zoneinfo/leap-seconds.list if you don't say otherwise πŸ“
  • -o OUTPUT_PATH, --output-path OUTPUT_PATH β€” where the output database goes. default is /var/lib/casacore/data/TAI_UTC, periodt πŸ’…
  • -f, --force β€” the chaotic option 😭 it overwrites the database even if it has another (sub)type, or even if the NTP timestamp is the same. yes, even then. it does not care. it does not read the room. use with intention bestie πŸ”₯
lowkey important: -f means what it says. it will overwrite regardless of the (sub)type and regardless of whether the NTP timestamp changed. no takebacks. πŸ’€

πŸ‘‘ AUTHOR πŸ‘‘

Ole Streicher β€” olebole@debian.org πŸ’œ


that's the whole page bestie, you're officially caught up on leap seconds and main character timekeeping energy 🧚🌸

this was casacore-update-tai_utc from CASACORE, dated October 2016, and the footer said CASACORE-UPDATE-TAI_UTC(1) β€” so yeah, go update that table. slay. β­πŸŒˆπŸ’–