~ubuntu-branches/debian/jessie/eso-midas/jessie

« back to all changes in this revision

Viewing changes to contrib/lyman/src/curslyman.for

  • Committer: Package Import Robot
  • Author(s): Ole Streicher
  • Date: 2014-04-22 14:44:58 UTC
  • Revision ID: package-import@ubuntu.com-20140422144458-okiwi1assxkkiz39
Tags: upstream-13.09pl1.2+dfsg
ImportĀ upstreamĀ versionĀ 13.09pl1.2+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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)
 
4
C
 
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.
 
9
C
 
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.
 
14
C
 
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, 
 
18
C MA 02139, USA.
 
19
C
 
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 
 
26
C                       GERMANY
 
27
C===========================================================================
 
28
C
 
29
 
 
30
      program plotlyman
 
31
      
 
32
      implicit none
 
33
      include 'MID_REL_INCL:fit_var.inc'
 
34
      
 
35
                                ! copies of keywords coming from line
 
36
      character*80 SPESYS,SESSYS,sjunk
 
37
 
 
38
 
 
39
      integer ist,i,ijk,icur,iok
 
40
      real xdum,ydum,z,vel
 
41
 
 
42
        INTEGER MADRID(1)
 
43
        INCLUDE 'MID_INCLUDE:ST_DEF.INC'
 
44
 
 
45
        COMMON/VMR/MADRID
 
46
 
 
47
        INCLUDE 'MID_INCLUDE:ST_DAT.INC'
 
48
 
 
49
C!!!!!!!
 
50
C     MIDAS SET-UP
 
51
C!!!!!!!
 
52
      call STSPRO('fitlyman')
 
53
      
 
54
      call STKRDC('SPECTAB',1,1,80,i,SPESYS,ijk,ijk,iok)
 
55
      if (iok.ne.0) then
 
56
         call ErrMsg('Error in reading keywords: check context..')
 
57
         call STSEPI() 
 
58
         stop
 
59
      end if   
 
60
      call STKRDC('SESSNAM',1,1,80,i,SESSYS,ijk,ijk,iok)
 
61
      if (iok.ne.0) then
 
62
         call ErrMsg('Error in reading keywords: check context..')
 
63
         call STSEPI() 
 
64
         stop
 
65
      end if   
 
66
 
 
67
 
 
68
 
 
69
      
 
70
C!!!!!!!
 
71
C     Inizializzazione programma
 
72
C!!!!!!!
 
73
      if (SESSYS.ne.'NULL') then
 
74
         i=index(SESSYS,' ')
 
75
         sjunk=SESSYS(1:i-1)//PARTBL
 
76
      else
 
77
         sjunk=PARTBL
 
78
      end if
 
79
      call rsetup(sjunk,ist)  ! read set-up 
 
80
 
 
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
 
84
      end if
 
85
 
 
86
      i_grap = .true.
 
87
      call GetXCr(xdum,ydum,z,vel,icur)
 
88
 
 
89
      call STSEPI()
 
90
 
 
91
      end
 
92
      
 
93
 
 
94
 
 
95
 
 
96
 
 
97
 
 
98
 
 
99
 
 
100
 
 
101