mHdr1
Connect to the irsa service to create a header template
Usage
mHdr {[-s
system]
[-e
equinox]
[-h
height]
[-p
pixsize]
[-r
rotation]
[-t
2mass-band]
object | location
width
outfile}
Overview
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
-
-t 2mass-band -
If the data is 2MASS, the correct MAGZP will be added to the header.
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.
Releases
5 releases since Debian 9 (Stretch); the text changed 1 time.
-t since Debian 10 (Buster).