Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/717/342 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-20
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/ApJ/717/342 Type Ibc SNe in disturbed galaxies (Habergham+, 2010)
*================================================================================
*Type Ibc supernovae in disturbed galaxies: evidence for a top-heavy initial mass
*function.
* Habergham S.M., Anderson J.P., James P.A.
* <Astrophys. J., 717, 342-347 (2010)>
* =2010ApJ...717..342H
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1.dat' ! Undisturbed host galaxy sample used in this analysis
integer*4 nr__
parameter (nr__=114) ! Number of records
character*36 ar__ ! Full-size record
character*12 Host (nr__) ! Host galaxy name
character*6 SN (nr__) ! Supernova identification
character*4 SN_t (nr__) ! Supernova type (II, IIL, IIP, IIn, Ib, Ic or Ib/c)
real*4 Fr_R (nr__) ! ? Fractional of R-band light within SN position
real*4 Fr_Ha (nr__) ! ? Fractional of H{alpha} light within SN position
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! Disturbed host galaxy sample used in this analysis
integer*4 nr__1
parameter (nr__1=64) ! Number of records
character*36 ar__1 ! Full-size record
character*12 Host_1 (nr__1) ! Host galaxy name
character*6 SN_1 (nr__1) ! Supernova identification
character*4 SN_t_1 (nr__1) ! Supernova type (II, IIL, IIP, IIn, Ib, Ic or Ib/c)
real*4 Fr_R_1 (nr__1) ! ? Fractional of R-band light within SN position
real*4 Fr_Ha_1 (nr__1) ! ? Fractional of H{alpha} light within SN position
C=============================================================================
C Loading file 'table1.dat' ! Undisturbed host galaxy sample used in this analysis
C Format for file interpretation
1 format(A12,1X,A6,1X,A4,1X,F5.3,1X,F5.3)
C Effective file loading
open(unit=1,file='table1.dat', status='old')
write(6,*) '....Loading file: table1.dat'
do i__=1,114
read(1,'(A36)')ar__
read(ar__,1)Host(i__),SN(i__),SN_t(i__),Fr_R(i__),Fr_Ha(i__)
if(ar__(26:30) .EQ. '') Fr_R(i__) = rNULL__
if(ar__(32:36) .EQ. '') Fr_Ha(i__) = rNULL__
c ..............Just test output...........
write(6,1)Host(i__),SN(i__),SN_t(i__),Fr_R(i__),Fr_Ha(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table2.dat' ! Disturbed host galaxy sample used in this analysis
C Format for file interpretation
2 format(A12,1X,A6,1X,A4,1X,F5.3,1X,F5.3)
C Effective file loading
open(unit=1,file='table2.dat', status='old')
write(6,*) '....Loading file: table2.dat'
do i__=1,64
read(1,'(A36)')ar__1
read(ar__1,2)
+ Host_1(i__),SN_1(i__),SN_t_1(i__),Fr_R_1(i__),Fr_Ha_1(i__)
if(ar__1(26:30) .EQ. '') Fr_R_1(i__) = rNULL__
if(ar__1(32:36) .EQ. '') Fr_Ha_1(i__) = rNULL__
c ..............Just test output...........
write(6,2)
+ Host_1(i__),SN_1(i__),SN_t_1(i__),Fr_R_1(i__),Fr_Ha_1(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end