PYMOCTOOL(1)
π pymoctool β manipulate Multi-Order Coverage maps π
okay bestie, welcome to the pymoctool manual page β¨ it's a section-1 command, it's cute, it's chaotic, let's get into it π«Ά
πΈ SYNOPSIS πΈ
pymoctool [INPUT] [COMMAND [FILE]] [--output OUTPUT]
π¦ DESCRIPTION π¦
so basically pymoctool is your girl for manipulating Multi-Order Coverage (MOC) tools for the Virtual Observatory π« It's a command-line tool, and it handles files encoded as FITS, JSON, or ASCII β no cap, all three π
The tool builds up a MOC stack using union, intersection and subtraction, and the pipeline gets processed in the order it's passed on the command-line. Order matters, babes, it's giving "read it in order or perish" π
Internally, pymoctool uses and exposes the PyMOC library found in the python-pymoc Debian package π
β¨ COMMANDS β¨
--catalog coords.txt [order NN] [radius NN]β renders circles using the flood-fill method on top of the MOC stack π¨ Your input text file should be whitespace records containing either RA+Dec pairs or Lat+Lon pairs, fr fr.--help,-hβ shows the top-level help π bestie needs a lil guidance sometimes.--idβ sets a new identifier for the MOC stack π·οΈ--info,-iβ displays information about the MOC stack π spill the tea.--intersectionβ intersects another MOC with the existing MOC stack π§©--nameβ sets a new name for the MOC stack π--normalize 0-29β sets the maximum depth order of a MOC, in the range 0-29 π--output,-oβ output filename MOC π€--plotβ projects and renders the MOC as a flattened all-sky map π iconic behaviour honestly.--subtractβ subtracts a MOC from the existing MOC stack β--versionβ shows the backend PyMOC library version number π’
Detailed help for individual commands can be found with pymoctool --help COMMAND β yes bestie, there's a whole help tree, go explore π§
π EXAMPLES π
pymoctool foo.fits --output foo.json bar.txt --output both.fits
what this does: loads foo.fits, then converts and saves a copy to foo.json, then performs a union merge with a text-format MOC called bar.txt, and saves the result to both.fits πΎβ¨ slay, honestly.
π AUTHORS π
pymoctool and PyMOC were written by Graham Bell, with support from the Science and Technology Facilities Council, and the East Asian Obsevatory π
This manual page was written for the Debian Project by Paul Sladen, with support from the German Astronomical Virtual Observatory (GAVO) at the University of Heidelberg π
and that's the whole pymoctool page, bestie β part of the manual, straight from the source, no version bump or date stamp on this one, just the humble pymoctool page name holding it down π«Ά k bye, go make some MOCs π
πΈ
π¦ where this page comes from
- debian bookworm: pymoctool 0.5.0-5 Β· GPL-3.0-or-later
- debian trixie: pymoctool 0.5.2-2 Β· GPL-3.0-or-later
- ubuntu jammy: pymoctool 0.5.0-5 Β· GPL-3.0-or-later
- ubuntu noble: pymoctool 0.5.0-5 Β· GPL-3.0-or-later
- ubuntu questing: pymoctool 0.5.2-2
- ubuntu resolute: pymoctool 0.5.2-3 Β· GPL-3.0-or-later
- ubuntu stonking: pymoctool 0.5.2-3 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms