FORTRAN Generation
(/./ftp/cats/J/A_A/429/559)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/429/559 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-19
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+A/429/559       Diffuse Interstellar Bands in NGC 1448    (Sollerman+, 2005)
*================================================================================
*Diffuse Interstellar Bands in NGC 1448.
*    Sollerman J., Cox N., Mattila S., Ehrenfreund P., Kaper L., Leibundgut B.,
*    Lundqvist P.
*   <Astron. Astrophys. 429, 559 (2005)>
*   =2005A&A...429..559S
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table3.dat'	! VPFIT parameters

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

      character*8   Gal         ! Galaxy (MW for Milky Way or NGC 1448) (1)
      character*8   SN          ! SN designation
      character*4   Ion         ! Ion designation (2)
      integer*4     Comp        ! Component number
      real*8        Vel         ! (km/s) Velocity
      real*4        e_Vel       ! (km/s) rms uncertainty on Vel
      real*4        b           ! (km/s) ? Doppler parameter (3)
      real*4        e_b         ! (km/s) ? rms uncertainty on b
      real*4        logN        ! ([cm-2]) Column density
      real*4        e_logN      ! ([cm-2]) rms uncertainty on logN
      real*4        logNtot     ! ([cm-2]) Total column density of the ion summed over
*                                    the individual components
      real*4        e_logNtot   ! ([cm-2]) rms uncertainty on logNTot
      character*3   n_logNtot   ! Number of the components used for the total
*                                    column density, when not all
*                                    (only for SN2001el CaII)
*Note (1): The interstellar atomic absorption lines detected are from the
*     Milky Way (MW) or from NGC 1448.
*Note (2): We use the doublet lines of CaII, NaI and KI to constrain the
*     least square fitting routine employed by VPFIT
*Note (3): The Doppler parameter, b, has for each atomic line been set
*     equal for all components.

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

C  Loading file 'table3.dat'	! VPFIT parameters

C  Format for file interpretation

    1 format(
     +  A8,2X,A8,1X,A4,1X,I1,2X,F7.2,1X,F4.1,1X,F4.1,1X,F3.1,1X,F5.2,
     +  1X,F4.2,1X,F5.2,1X,F4.2,1X,A3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,44
        read(1,'(A74)')ar__
        read(ar__,1)
     +  Gal,SN,Ion,Comp,Vel,e_Vel,b,e_b,logN,e_logN,logNtot,e_logNtot,
     +  n_logNtot
        if(ar__(41:44) .EQ. '') b = rNULL__
        if(ar__(46:48) .EQ. '') e_b = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  Gal,SN,Ion,Comp,Vel,e_Vel,b,e_b,logN,e_logN,logNtot,e_logNtot,
     +  n_logNtot
c    .......End.of.Just test output...........
      end do
      close(1)

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