1
C @(#)curslyman.for 19.1 (ESO-IPG) 02/25/03 13:28:03
2
C===========================================================================
3
C Copyright (C) 1995 European Southern Observatory (ESO)
5
C This program is free software; you can redistribute it and/or
6
C modify it under the terms of the GNU General Public License as
7
C published by the Free Software Foundation; either version 2 of
8
C the License, or (at your option) any later version.
10
C This program is distributed in the hope that it will be useful,
11
C but WITHOUT ANY WARRANTY; without even the implied warranty of
12
C MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
C GNU General Public License for more details.
15
C You should have received a copy of the GNU General Public
16
C License along with this program; if not, write to the Free
17
C Software Foundation, Inc., 675 Massachusetss Ave, Cambridge,
20
C Corresponding concerning ESO-MIDAS should be addressed as follows:
21
C Internet e-mail: midas@eso.org
22
C Postal address: European Southern Observatory
23
C Data Management Division
24
C Karl-Schwarzschild-Strasse 2
25
C D 85748 Garching bei Muenchen
27
C===========================================================================
33
include 'MID_REL_INCL:fit_var.inc'
35
! copies of keywords coming from line
36
character*80 SPESYS,SESSYS,sjunk
39
integer ist,i,ijk,icur,iok
43
INCLUDE 'MID_INCLUDE:ST_DEF.INC'
47
INCLUDE 'MID_INCLUDE:ST_DAT.INC'
52
call STSPRO('fitlyman')
54
call STKRDC('SPECTAB',1,1,80,i,SPESYS,ijk,ijk,iok)
56
call ErrMsg('Error in reading keywords: check context..')
60
call STKRDC('SESSNAM',1,1,80,i,SESSYS,ijk,ijk,iok)
62
call ErrMsg('Error in reading keywords: check context..')
71
C Inizializzazione programma
73
if (SESSYS.ne.'NULL') then
75
sjunk=SESSYS(1:i-1)//PARTBL
79
call rsetup(sjunk,ist) ! read set-up
81
if (ist.ne.0) then ! on error, default values
82
call ErrMsg('Error in reading set-up: run FIT/LYMAN again')
83
! copy syskeys into variables
87
call GetXCr(xdum,ydum,z,vel,icur)