MTBLSORT(1)
π MTBLSORT(1) β the mTblSort glow-up π
okay so bestie, welcome to mTblSort, a lil Montage tool that sorts a table on numeric values. that's it. that's the whole personality. she's simple, she's efficient, she's lowkey carrying your whole pipeline. π
β¨ NAME β¨
mTblSort β sorts a table on numeric values. no cap.
πΈ SYNOPSIS πΈ
mTblSort [-d] in.tbl colname out.tbl
π¦ DESCRIPTION π¦
Sorts a table on numeric values. literally just that. she takes your table, she takes a column name, she sorts, she writes it back out. the column has to be numeric though β she is NOT doing string collation for you, that's a different girl. π
π OPTIONS π
-dβ turns on debugging. she gets chatty. useful when you're like "why is this not working" and you need her to tell you.
π ARGUMENTS π
in.tblβ path to the input table. the table you're feeding her.colnameβ name of the column to sort on. heads up bestie: the column must contain numeric values. if it's a string column she's gonna be real upset about it.out.tblβ path to the output table. where the sorted version lands.
β RESULT β
[struct stat="OK", count=nrows]
where nrows is the number of rows in the table. cute, right? she tells you how many rows she handled. main character behaviour. π
π₯ MESSAGES π₯
OKβ[struct stat="OK", count=nrows]β she did it, she ate, no crumbs.ERRORβCannot allocate memory for dataβ she ran out of room to think. πERRORβCannot open input fileβ can't find/read your input, bestie.ERRORβCannot open output fileβ can't write your output. check your path/permissions fr fr.ERRORβTable file open failed for [in.tbl]β the table file open failed for that specific file.ERRORβTable file does not have fixed-length recordsβ she needs fixed-length records and yours are not that. she's not flexible about this. πERRORβTable does not contain column [colname]β that column is simply not in the table. vibe check failed.
π EXAMPLES π
$ mTblSort images.tbl ra ra_sorted.tbl
[struct stat="OK", count=5, nmatches=3]
ra_sorted.tbl is now sorted on the column "ra". slay. β¨
π BUGS π
okay so these are the known issues, and I need you to actually read them, not just skim, because some of these are the kind of thing that ruins your whole day.
- The drizzle algorithm has been implemented but has not been tested in this release. (not me telling you it's untested. it's right there. she's out here untested. π« )
- If a header template contains carriage returns (i.e., created/modified on a Windows machine), the
cfitsiolibrary will be unable to read it properly, resulting in the error:[struct stat="ERROR", status=207, msg="illegal character in keyword"]. so likeβ¦ windows line endings are the enemy. always have been. π - It is best for the background correction algorithms if the area described in the header template completely encloses all of the input images in their entirety. If parts of input images are "chopped off" by the header template, the background correction will be affected. We recommend you use an expanded header for the reprojection and background modeling steps, returning to the originally desired header size for the final coaddition. The default background matching assumes that there are no non-linear background variations in the individual images (and therefore in the overlap differences). If there is any uncertainty in this regard, it is safer to turn on the "level only" background matching (the
-lflag inmBgModel).
π COPYRIGHT π
2001-2015 California Institute of Technology, Pasadena, California
If your research uses Montage, please include the following acknowledgement: "This research made use of Montage. It is funded by the National Science Foundation under Grant Number ACI-1440620, and was previously funded by the National Aeronautics and Space Administration's Earth Science Technology Office, Computation Technologies Project, under Cooperative Agreement Number NCC5-626 between NASA and the California Institute of Technology."
The Montage distribution includes an adaptation of the MOPEX algorithm developed at the Spitzer Science Center.
and that's the whole page bestie!! πβ¨ this was Montage 5, dated Dec 2016 β thanks for reading all the way to the bottom, you're literally the bestie of all time π«Άππ¦
π¦ where this page comes from
- debian bookworm: montage 6.0+dfsg-7+b8 Β· BSD-3-Clause
- debian trixie: montage 6.1+dfsg-1+b1 Β· BSD-3-Clause
- ubuntu jammy: montage 6.0+dfsg-7build5 Β· BSD-3-Clause
- ubuntu noble: montage 6.0+dfsg-9 Β· BSD-3-Clause
- ubuntu questing: montage 6.1+dfsg-2
- ubuntu resolute: montage 6.1+dfsg-2build2 Β· BSD-3-Clause
- ubuntu stonking: montage 6.1+dfsg-2build2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms