Conversion of standardized ReadMe file for
file /./ftp/cats/J/MNRAS/394/21 into FORTRAN code for loading all data files into arrays.
Note that special values are assigned to unknown or unspecified
numbers (also called NULL numbers);
when necessary, the coordinate components making up the right ascension
and declination are converted into floating-point numbers
representing these angles in degrees.
program load_ReadMe
C=============================================================================
C F77-compliant program generated by readme2f_1.5, on 2013-May-22
C=============================================================================
* This code was generated from the ReadMe file documenting a catalogue
* according to the "Standard for Documentation of Astronomical Catalogues"
* currently in use by the Astronomical Data Centers (CDS, ADC, A&A)
* (see full documentation at URL http://vizier.u-strasbg.fr/doc/catstd.htx)
* Please report problems or questions to
C=============================================================================
implicit none
* Unspecified or NULL values, generally corresponding to blank columns,
* are assigned one of the following special values:
* rNULL__ for unknown or NULL floating-point values
* iNULL__ for unknown or NULL integer values
real*4 rNULL__
integer*4 iNULL__
parameter (rNULL__=-1.e37) ! NULL real number
parameter (iNULL__=-2147483647) ! NULL int number
C=============================================================================
Cat. J/MNRAS/394/21 Multi-epoch spectroscopy of SN 1994W (Dessart+, 2009)
*================================================================================
*SN 1994W: an interacting supernova or two interacting shells ?
* Dessart L., Hillier D.J., Gezari S., Basa S., Matheson T.
* <Mon. Not. R. Astron. Soc., 394, 21-37 (2009)>
* =2009MNRAS.394...21D
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1.dat' ! Line list for model used to match observations
on 1994 September 1
integer*4 nr__
parameter (nr__=133) ! Number of records
character*88 ar__ ! Full-size record
real*8 lambda (nr__) ! (0.1nm) Wavelength
real*4 Wlambda (nr__) ! (0.1nm) Line width
character*6 Ion (nr__) ! Species (element and ionisation stage)
character*65 Trans (nr__) ! Transition (upper level - lower level)
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! Line list for model used to match observations
on 1994 September 9
integer*4 nr__1
parameter (nr__1=147) ! Number of records
character*88 ar__1 ! Full-size record
real*8 lambda_1 (nr__1) ! (0.1nm) Wavelength
real*4 Wlambda_1 (nr__1) ! (0.1nm) Line width
character*6 Ion_1 (nr__1) ! Species (element and ionisation stage)
character*65 Trans_1 (nr__1) ! Transition (upper level - lower level)
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table3.dat' ! Line list for model used to match observations
on 1994 October 1
integer*4 nr__2
parameter (nr__2=328) ! Number of records
character*88 ar__2 ! Full-size record
real*8 lambda_2 (nr__2) ! (0.1nm) Wavelength
real*4 Wlambda_2 (nr__2) ! (0.1nm) Line width
character*6 Ion_2 (nr__2) ! Species (element and ionisation stage)
character*65 Trans_2 (nr__2) ! Transition (upper level - lower level)
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table4.dat' ! Line list for model used to match observations
on 1994 October 11
integer*4 nr__3
parameter (nr__3=250) ! Number of records
character*88 ar__3 ! Full-size record
real*8 lambda_3 (nr__3) ! (0.1nm) Wavelength
real*4 Wlambda_3 (nr__3) ! (0.1nm) Line width
character*6 Ion_3 (nr__3) ! Species (element and ionisation stage)
character*65 Trans_3 (nr__3) ! Transition (upper level - lower level)
C=============================================================================
C Loading file 'table1.dat' ! Line list for model used to match observations
* on 1994 September 1
C Format for file interpretation
1 format(F7.1,1X,F5.1,1X,A6,3X,A65)
C Effective file loading
open(unit=1,file='table1.dat', status='old')
write(6,*) '....Loading file: table1.dat'
do i__=1,133
read(1,'(A88)')ar__
read(ar__,1)lambda(i__),Wlambda(i__),Ion(i__),Trans(i__)
c ..............Just test output...........
write(6,1)lambda(i__),Wlambda(i__),Ion(i__),Trans(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table2.dat' ! Line list for model used to match observations
* on 1994 September 9
C Format for file interpretation
2 format(F7.1,1X,F5.1,1X,A6,3X,A65)
C Effective file loading
open(unit=1,file='table2.dat', status='old')
write(6,*) '....Loading file: table2.dat'
do i__=1,147
read(1,'(A88)')ar__1
read(ar__1,2)
+ lambda_1(i__),Wlambda_1(i__),Ion_1(i__),Trans_1(i__)
c ..............Just test output...........
write(6,2)
+ lambda_1(i__),Wlambda_1(i__),Ion_1(i__),Trans_1(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table3.dat' ! Line list for model used to match observations
* on 1994 October 1
C Format for file interpretation
3 format(F7.1,1X,F5.1,1X,A6,3X,A65)
C Effective file loading
open(unit=1,file='table3.dat', status='old')
write(6,*) '....Loading file: table3.dat'
do i__=1,328
read(1,'(A88)')ar__2
read(ar__2,3)
+ lambda_2(i__),Wlambda_2(i__),Ion_2(i__),Trans_2(i__)
c ..............Just test output...........
write(6,3)
+ lambda_2(i__),Wlambda_2(i__),Ion_2(i__),Trans_2(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table4.dat' ! Line list for model used to match observations
* on 1994 October 11
C Format for file interpretation
4 format(F7.1,1X,F5.1,1X,A6,3X,A65)
C Effective file loading
open(unit=1,file='table4.dat', status='old')
write(6,*) '....Loading file: table4.dat'
do i__=1,250
read(1,'(A88)')ar__3
read(ar__3,4)
+ lambda_3(i__),Wlambda_3(i__),Ion_3(i__),Trans_3(i__)
c ..............Just test output...........
write(6,4)
+ lambda_3(i__),Wlambda_3(i__),Ion_3(i__),Trans_3(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end