FORTRAN Generation
(/./ftp/cats/J/AZh/88/342)

Conversion of standardized ReadMe file for file /./ftp/cats/J/AZh/88/342 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-Apr-18
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/AZh/88/342   Star-forming regions in NGC 5585 and IC 1525    (Bruevich+, 2011)
*================================================================================
*Star-forming regions in the ring galaxies NGC 5585 and IC 1525.
*    Bruevich V.V., Gusev A.S., Guslyakova S.A.
*    <Astron. Zh. 88, 342 (2011)>
*    =2011AZh....88..342B
*    =2011ARep...55..310B
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! Photometric parameters of the SFRs

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

      character*8   Galaxy      ! Galaxy name (NGC 5585 or IC 1525) (G1)
      integer*4     Seq         ! Sequential number within Galaxy
      real*4        Xoff        ! (arcsec) Offset along E or W
      character*1   n_Xoff      ! [EW] Orientation of Xoff
      real*4        Yoff        ! (arcsec) Yoffet along N or S
      character*1   n_Yoff      ! [NS] Orientation of Yoff
      real*4        U_B         ! (mag) Johnson U-B colour index
      real*4        e_U_B       ! (mag) rms uncertainty on U-B
      real*4        B_V         ! (mag) Johnson B-V colour index
      real*4        e_B_V       ! (mag) rms uncertainty on B-V
      real*4        V_R         ! (mag) ? Johnson-Cousins V-R colour index
      real*4        e_V_R       ! (mag) ? rms uncertainty on V-R
      real*4        V_I         ! (mag) ? Johnson-Cousins V-I colour index
      real*4        e_V_I       ! (mag) ? rms uncertainty on V-I
      character*4   Struct      ! Structure (1)
      integer*4     OName       ! ? Other sequential number
      integer*4     r_OName     ! ? Reference for OName (2)
      integer*4     OName2      ! ? Other sequential number
      integer*4     r_OName2    ! ? Reference for OName (2)
*Note (1): Structure codes as follows:
*    dbl = double object
*    dif = diffuse profile
*    ring = ring structure
*    st = Star-like profile
*Note (2): References as follows:
*     6 = Kennicutt, 1988ApJ...334..144K, <[K88] NGC 5585 N>
*     8 = Larsen, 2004A&A...416..537L, <[L2004] n5585-NNNN>
*     9 = Matonick & Fesen, 1997ApJS..112...49M, <[MF97] NGC 5585 N>

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

C  Declarations for 'table3.dat'	! Physical parameters of the SFRs

      integer*4 nr__1
      parameter (nr__1=63)	! Number of records
      character*47 ar__1  	! Full-size record

      character*8   Galaxy_1    ! Galaxy name (NGC 5585 or IC 1525) (G1)
      integer*4     Seq_1       ! Sequential number within Galaxy
      real*4        r           ! (kpc) Deprojected distance from galaxy center
      integer*4     d           ! (pc) Diameter
      character*1   l_logt      ! Limit flag on logt
      real*4        logt        ! ([yr]) Logarithmic age
      character*1   u_logt      ! [)] Uncertainty flag on logt
      real*4        e_logt      ! ([yr]) ? rms uncertainty on logt
      character*3   Mod         ! [I/E ] Star-formation model (1)
      character*1   l_AV        ! Limit flag on AV
      real*4        AV          ! (mag) Internal extinction
      real*4        e_AV        ! (mag) ? rms uncertainty on AV
*Note (1): I denotes instantaneous and E extended star formation.

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

C  Loading file 'table2.dat'	! Photometric parameters of the SFRs

C  Format for file interpretation

    1 format(
     +  A8,1X,I2,1X,F4.1,A1,1X,F4.1,A1,1X,F5.2,1X,F4.2,1X,F5.2,1X,
     +  F4.2,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,A4,1X,I3,2X,I1,2X,I3,
     +  2X,I1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,63
        read(1,'(A88)')ar__
        read(ar__,1)
     +  Galaxy,Seq,Xoff,n_Xoff,Yoff,n_Yoff,U_B,e_U_B,B_V,e_B_V,V_R,
     +  e_V_R,V_I,e_V_I,Struct,OName,r_OName,OName2,r_OName2
        if(ar__(47:51) .EQ. '') V_R = rNULL__
        if(ar__(53:56) .EQ. '') e_V_R = rNULL__
        if(ar__(58:62) .EQ. '') V_I = rNULL__
        if(ar__(64:67) .EQ. '') e_V_I = rNULL__
        if(ar__(74:76) .EQ. '') OName = iNULL__
        if(ar__(79:79) .EQ. '') r_OName = iNULL__
        if(ar__(82:84) .EQ. '') OName2 = iNULL__
        if(ar__(87:87) .EQ. '') r_OName2 = iNULL__
c    ..............Just test output...........
        write(6,1)
     +  Galaxy,Seq,Xoff,n_Xoff,Yoff,n_Yoff,U_B,e_U_B,B_V,e_B_V,V_R,
     +  e_V_R,V_I,e_V_I,Struct,OName,r_OName,OName2,r_OName2
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3.dat'	! Physical parameters of the SFRs

C  Format for file interpretation

    2 format(
     +  A8,1X,I2,1X,F5.2,1X,I3,1X,A1,F4.2,A1,F4.2,1X,A3,1X,A1,F4.2,1X,
     +  F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,63
        read(1,'(A47)')ar__1
        read(ar__1,2)
     +  Galaxy_1,Seq_1,r,d,l_logt,logt,u_logt,e_logt,Mod,l_AV,AV,e_AV
        if(ar__1(29:32) .EQ. '') e_logt = rNULL__
        if(ar__1(44:47) .EQ. '') e_AV = rNULL__
c    ..............Just test output...........
        write(6,2)
     +  Galaxy_1,Seq_1,r,d,l_logt,logt,u_logt,e_logt,Mod,l_AV,AV,e_AV
c    .......End.of.Just test output...........
      end do
      close(1)

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