mHdr - Online in the Cloud

This is the command mHdr that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


mHdr - Connect to the IRSA service to create a header template

SYNOPSIS


mHdr [-s system] [-e equinox] [-h height] [-p pixsize] [-r rotation] object|location width
outfile

DESCRIPTION


Connects to the IRSA service HdrTemplate to create a header template based on a location,
size, resolution and rotation.

OPTIONS


-s system

Specify a coordinate system. Can be one of:

"equatorial" or "eq" (default)
"ecliptic" or "ec"
"galactic" or "ga"
"supergalactic" or "sgal"

-e equinox

Specify an equinox. Default is 2000.0

-h height
Height (y-axis) of area in degrees. Default is equal to width

-p pixsize
Size of a pixel (in arcsec); default is 1

-r rotation
Rotation of image; default is 0

ARGUMENTS


object|location
Object string or coordinate location; should be in quotes if there are any spaces
or special characters.

width Width (x-axis) of area

outfile
Path to output header template

RESULT


[struct stat="OK", count=header-lines]

MESSAGES


OK [struct stat="OK", count=header-lines]

ERROR Can't open output file outfile

ERROR location parameter required

ERROR width parameter required

ERROR Invalid object/coordinates

ERROR Couldn't find host irsa.ipac.caltech.edu

ERROR Couldn't create socket

ERROR irsa.ipac.caltech.edu: connect failed

EXAMPLES


If a user wants to create a mosaic centered on m31, 1 degree on each side, the first step
is to create a header template that describes the desired mosaic:

mHdr "10.68469 +41.26904" 1 m31.hdr
[struct stat="OK", count=16]

Now m31.hdr can be used by other Montage modules to generate a mosaic.

Use mHdr online using onworks.net services



Latest Linux & Windows online programs