The astrocat Tcl command is also used to access image servers. For example, the following code retrieves an image file from the DSS server:
astrocat cat cat open dss@eso set filename [cat getimage -pos {3:19:48 +41:30:39} -width 10 -height 10]
To retrieve and image, you typically need to specify the position as a name or in world coordinates and a width and height for the image. This is the default, however, for some image servers, the search arguments may be different. The entry in the catalog config file determines which options may be used for a given catalog or image server. The table below summarizes the options for the getimage subcommand. Some options may not make sense with all image servers:
The return value from the getimage subcommand is the name of a temporary file holding the FITS image for the requested area. The file should be copied if necessary, since it will be overwritten by subsequent calls to getimage .
Please send questions or comments to abrighto@eso.org@eso.org.
Copyright © 1998 ESO - European Southern Observatory