FORTRAN Generation
(/./ftp/cats/J/PASP/115/1280)

Conversion of standardized ReadMe file for file /./ftp/cats/J/PASP/115/1280 into FORTRAN code for reading data files line by line.

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.81 (2015-09-23), on 2024-Mar-28
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__=--2147483648.)  	! NULL real number
      parameter  (iNULL__=(-2147483647-1))	! NULL int  number
      integer    idig			! testing NULL number

C=============================================================================
Cat. J/PASP/115/1280    Classifications of SN host galaxies   (van den Bergh+, 2003)
*================================================================================
*Classifications of the host galaxies of supernovae, set II.
*    van den Bergh S., Li W., Filippenko A.V.
*   <Publ. Astron. Soc. Pac. 115, 1280 (2003)>
*   =2003PASP..115.1280V
C=============================================================================

C  Internal variables

      integer*4 i__

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table1.dat'	! Classifications of SN host galaxies

      integer*4 nr__
      parameter (nr__=231)	! Number of records
      character*70 ar__   	! Full-size record

      character*6   SN          ! Supernova name
      character*12  Galaxy      ! Host galaxy name
      character*15  DDOType     ! DDO type
      character*15  SNType      ! SN type
      integer*4     Vel         ! (km/s) ? Velocity
      character*4   Rem         ! Remarks (1)
*Note (1): Remarks as follows:
*      1 = edge-on
*      2 = tides
*      3 = compact, high surface brightness
*      4 = merger
*      5 = ring
*      6 = galaxy too faint to classify
*      7 = possibly two nuclei
*      8 = SN 2003A is probably in the Sb galaxy U5904, even though it is
*          closer to the E4 galaxy U5907
*      9 = in a compact cluster
*     10 = SN 2003H occurs halfway between two Sc galaxies, either of which
*          could be the host galaxy

C=============================================================================

C  Loading file 'table1.dat'	! Classifications of SN host galaxies

C  Format for file interpretation

    1 format(A6,2X,A12,4X,A15,3X,A15,1X,I5,3X,A4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,231
        read(1,'(A70)')ar__
        read(ar__,1)SN,Galaxy,DDOType,SNType,Vel,Rem
        if(ar__(59:63) .EQ. '') Vel = iNULL__
c    ..............Just test output...........
        write(6,1)SN,Galaxy,DDOType,SNType,Vel,Rem
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================
      stop
      end