GENERIC(1)
π GENERIC(1) β the IRAF commands girlies π
okay so bestie, welcome to the IRAF commands corner of the manual, section 1, and today's main character is mkiraf. she's not flashy but she is foundational, iykyk π«Ά
β¨ NAME β¨
mkiraf β Setup the IRAF environment for a user πΈ
β¨ SYNOPSIS β¨
mkiraf [-d|--default] [-i|--init] [-n|--noinit] [-c|--copy] [-q|--quiet]
β¨ DESCRIPTION β¨
okay so what does she actually do?? she creates the parameter directory, the image directory and the cache directory so you can use them with the IRAF CL, and if you want, she'll also make you a lil local copy of the IRAF CL startup file login.cl. iconic behavior honestly π
inside IRAF CL, these directories answer to the names uparm$, imdir$, and cache$. yes they have cute little $ names. that's just how they are. π
so here's the tea on where things land: if you do not pass the -d|--default flag, the parameter directory uparm gets created in the local directory, which means your parameter storage is local. but β plot twist β if there's no local parameter directory hanging around, then a general user-specific parameter storage over in ${HOME}/.iraf/uparm is what gets used instead. meanwhile the image directory imdir and the cache directory cache are always created in ${HOME}/.iraf/. no exceptions, no discussion, that's just the vibe β¨
β¨ OPTIONS β¨
-d,--defaultβ makes theuparfile live in the user-specific directory${HOME}/.irafinstead of the local directory. the homebody option fr π-i,--initβ initializes an emptyuparmdirectory, which means it removes your old parameter settings. if you give neither-i|--initnor-n|--noinit, the command will just ask you whether theupardirectory should be initialized. she's polite like that π-n,--noinitβ does not initialize theuparmdirectory if it already exists, so your old parameter settings stay safe and sound. and again: if neither-i|--initnor-n|--noinitis given, the command asks whether theupardirectory should be initialized. same energy, opposite answer π-c,--copyβ creates a copy of thelogin.clfile in the local directory, or (if you gave the-d|--defaultflag) in the directory${HOME}/.iraf. heads up bestie: these copies are only needed if local changes shall be applied. no unnecessary dupe files, we're not doing that π-q,--quietβ suppresses output messages. shhh. silent mode. π€«
β¨ BUGS β¨
okay so this is the part where we hold hands and sigh together: IRAF should use XDG conform user directories in ${HOME}/.cache, ${HOME}/.local and ${HOME}/.config. that's it, that's the note. π
β¨ SEE ALSO β¨
β¨ AUTHOR β¨
Created by Ole Streicher for the IRAF community π
and that's the whole page, bestie!! this one came from IRAF 2.17.1, dated April 2023, and it lives in the GENERIC(1) slot. go set up that environment, you're gonna slay πππ¦
π¦ where this page comes from
- debian trixie: iraf 2.18.1-2 Β· IRAF
- ubuntu noble: iraf 2.17.1-5build3 Β· IRAF
- ubuntu questing: iraf 2.18.1-2
- ubuntu resolute: iraf 2.18.1-2build1 Β· IRAF
- ubuntu stonking: iraf 2.18.1-2build1 Β· IRAF
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms