Function: IRSERVER_OPEN Purpose: Accesses IRAS server data of the specified type for the specified area of sky. Category: IRAS, SYSTEM File: irserver.c Author: A.R.W. de Jonge Use: INTEGER IRSERVER_OPEN ( ECL_LON, Input real ECL_LAT, Input real RADIUS, Input real INSTRUMENT ) Input character*(*) IRSERVER_OPEN 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 ECL_LON Ecliptic longitude of the center of the search area, epoch 1983.5, radians. ECL_LAT Ecliptic latitude of the center of the search area, epoch 1983.5, radians. RADIUS Search radius in radians. Any scan which passes witin RADIUS from the specified center, will be included in the resulting 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: Feb 25, 1992: AdJ Bug (skips first file) repaired. Aug 23, 1991: AdJ Document created.