FORTRAN Generation
(/./ftp/cats/J/A_AS/130/541)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_AS/130/541 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/A+AS/130/541      Co II oscillator strengths                  (Raassen+ 1998)
*================================================================================
*Calculated oscillator strengths of singly ionized Cobalt
*       Raassen A.J.J., Pickering J.C., Uylings P.H.M.
*      <Astron. Astrophys. Suppl. Ser. 130, 541 (1998)>
*      =1998A&AS..130..541R      (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! log(gf) values for the 3d^8^+3d^7^ 4s-->3d^7^ 4p
                                electric dipole (E1) transitions

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

      real*8        lambda      ! (0.1nm) Wavelength
      real*8        loggf       ! log(gf) value
      real*4        Jf          ! J-value final state
      real*8        Ef          ! (cm-1) Energy value final state
      character*1   n_Ef        ! [*] Indication known/unknown
      character*10  Lf          ! Leading term final state
      real*4        Ji          ! J-value initial state
      real*8        Ei          ! (cm-1) Energy value initial state
      character*1   n_Ei        ! [*] Indication known/unknown
      character*10  Li          ! Leading term initial state

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

C  Declarations for 'table7.dat'	! A-values for the forbidden lines

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

      real*8        lambda_1    ! (0.1nm) Wavelength
      real*4        A_M1        ! (s-1) ? A-value (M1)
      real*4        A_E2        ! (s-1) ? A-value (E2)
      real*4        Jf_1        ! J-value final state
      real*8        Ef_1        ! (cm-1) Energy value final state
      character*1   n_Ef_1      ! [*] Indication known/unknown
      character*10  Lf_1        ! Leading term final state
      real*4        Ji_1        ! J-value initial state
      real*8        Ei_1        ! (cm-1) Energy value initial state
      character*1   n_Ei_1      ! [*] Indication known/unknown
      character*10  Li_1        ! Leading term initial state

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

C  Loading file 'table2.dat'	! log(gf) values for the 3d^8^+3d^7^ 4s-->3d^7^ 4p
*                                electric dipole (E1) transitions

C  Format for file interpretation

    1 format(
     +  1X,F11.3,1X,F11.5,1X,F4.1,1X,F10.2,A1,1X,A10,1X,F4.1,1X,F10.2,
     +  A1,1X,A10)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,12168
        read(1,'(A80)')ar__
        read(ar__,1)lambda,loggf,Jf,Ef,n_Ef,Lf,Ji,Ei,n_Ei,Li
c    ..............Just test output...........
        write(6,1)lambda,loggf,Jf,Ef,n_Ef,Lf,Ji,Ei,n_Ei,Li
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table7.dat'	! A-values for the forbidden lines

C  Format for file interpretation

    2 format(
     +  1X,F11.3,1X,E7.2,3X,E7.2,3X,F4.1,1X,F10.2,A1,1X,A10,1X,F4.1,
     +  1X,F10.2,A1,1X,A10)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table7.dat')
      write(6,*) '....Loading file: table7.dat'
      do i__=1,434
        read(1,'(A109)')ar__1
        read(ar__1,2)
     +  lambda_1,A_M1,A_E2,Jf_1,Ef_1,n_Ef_1,Lf_1,Ji_1,Ei_1,n_Ei_1,Li_1
        if(ar__1(14:20) .EQ. '') A_M1 = rNULL__
        if(ar__1(24:30) .EQ. '') A_E2 = rNULL__
c    ..............Just test output...........
        write(6,2)
     +  lambda_1,A_M1,A_E2,Jf_1,Ef_1,n_Ef_1,Lf_1,Ji_1,Ei_1,n_Ei_1,Li_1
c    .......End.of.Just test output...........
      end do
      close(1)

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