Scroll to navigation

pymoctool() pymoctool()

NAME

pymoctool - manipulate Multi-Order Coverage maps

SYNOPSIS

pymoctool [INPUT] [COMMAND [FILE]] [--output OUTPUT]

DESCRIPTION

pymoctool can be used to manupulate Multi-Order Coverage (MOC) tools for the Virtual Observatory. It is a command-line tool and can handle files encoded as FITS, JSON, or ASCII. The tool maintains builds up a MOC stack using union, intersection and subtraction, with the pipeline processed in the order it is passed on the command-line.

Internally pymoctool uses and exposes the the PyMOC library found in the python-pymoc Debian package.

COMMANDS

Render a circles using the flood-fill method on top of the MOC stack. The input text file should be whitespace records containing either RA+Dec pairs or Lat+Lon pairs.
Show top-level help
Set new identifier for MOC stack
Display information about the MOC stack
Intersect another MOC with the existing MOC stack
Set new name for the MOC stack
Set the maximum depth order of a MOC in the range 0-29
Output filename MOC
Project and render the MOC as a flattened all-sky map
Subtract the a MOC from the existing MOC stack
Show the backend PyMOC library version number

Detailed help for individuals commands can be found with pymoctool --help COMMAND

EXAMPLES

Load foo.fits then convert and the save a copy to foo.json perform a union merge with a text-format MOC called bar.txt and save the result both.fits

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.