Function: IRSERVER_SCAN Purpose: Accesses IRAS server data of the specified type for the specified scan(s) Category: IRAS, SYSTEM File: irserver.c Author: A.R.W. de Jonge Use: INTEGER IRSERVER_SCAN ( SOP, Input integer(*) ATT, Input integer(*) COUNT, Input integer INSTRUMENT ) Input character*(*) IRSERVER_SCAN A non-negative number indicates that the call was successfull. This number is equivalent to the MTID returned by a succesfull call to MTOPEN, see MTOPEN.DC2. It must be used in successive calls to the fits or mtio routines. A negative number denotes one of the following errors: -1 Illegal INSTRUMENT -2 Cannot allocate and use disk space SOP Array with SOP numbers of requested scans. ATT Array with ATT numbers of requested scans. COUNT Number of scans requested. For each scan I, the array elements SOP(I) and ATT(I) uniquely identify a scan. The data set for that scan, as identified further by INSTRUMENT, are put into the dataset. INSTRUMENT One of the possible instrument names for IRAS data, as described in IRCC_INSTRNAME.DC2, eg. 'AO b1', 'survey b2', etc. A call to IRSERVER_OPEN replaces an MTOPEN when accessing IRAS data on an IRAS data server. The resulting MTID identifies a disk-space containing (references to or copies of) the requested IRAS data, in a read-only form compatible with the MTIODEV interface. The user should call IRSERVER_CLOSE to destroy the scratch disk space claimed by these utilities. Related Docs: irserver.dc2, irserver_close.dc2 mtiodev.dc2, mtopen.dc2, fts_io.dc2 ircc_const.dc2, ircc_instrname.dc2 Updates: Jul 13, 1993: AdJ Added irserver_scan