FORTRAN Generation
(/./ftp/cats/J/ApJ/650/88)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/650/88 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-22
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/650/88        NGC4395 light curves. III.               (Desroches+, 2006)
*================================================================================
*Multiwavelength monitoring of the dwarf Seyfert 1 galaxy NGC 4395.
*III. Optical variability and X-Ray/UV/Optical correlations.
*    Desroches L.-B., Filippenko A.V., Kaspi S., Laor A., Maoz D.,
*    Ganeshalingam M., Li W., Moran E.C., Swift B., Bentz M.C., Ho L.C.,
*    Nandra K., O'Neill P.M., Peterson B.M.
*   <Astrophys. J., 650, 88-101 (2006)>
*   =2006ApJ...650...88D
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Broad-Band Continuum Light Curves

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

      character*6   Obs        (nr__) ! Observatory (KAIT, Nickel or Wise)
      character*1   Filt       (nr__) ! [BV] Filter used
      real*8        JD_2453105 (nr__) ! (d) Relative Julian date of observation (-2453105)
      character*1   Rem        (nr__) ! [b] Data points from Wise data (1)
      real*4        Flux       (nr__) ! Normalized flux observed in Filt (2)
      real*4        e_Flux     (nr__) ! The 1{sigma} error in Flux (2)
*Note (1): 'b' indicates data points (with relative dates beginning with 85)
*          referring to 2004 July 3 Wise data.
*Note (2): Flux normalized so that F=1 corresponds to V=15.91mag and B=16.69mag.

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

C  Declarations for 'table3.dat'	! Spectroscopic Continuum Light Curves

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

      integer*4     lambda     (nr__1) ! (0.1nm) Continuum wavelength in Angstroms
      character*4   Obs_1      (nr__1) ! Observatory (KPNO or Lick)
      real*4        JD_2453105_1(nr__1) ! (d) Julian date of observation (-2453105)
      character*1   Rem_1      (nr__1) ! [b] Suspect transit data points (1)
      real*4        FDen       (nr__1) ! (10-17W/m2/nm) Flux density (2)
      real*4        e_FDen     (nr__1) ! (10-17W/m2/nm) The 1{sigma} error in FDen (2)
*Note (1): See text for details.
*Note (2): In units of 10^-15^erg/s/cm^2^/Angstrom.

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

C  Declarations for 'table4.dat'	! Spectroscopic Emission-Line Light Curves

      integer*4 nr__2
      parameter (nr__2=733)	! Number of records
      character*39 ar__2  	! Full-size record

      character*7   Ion        (nr__2) ! Ion identification
      integer*4     lambda_1   (nr__2) ! (0.1nm) Wavelength in Angstroms
      integer*4     lambda2    (nr__2) ! (0.1nm) ? second value for wavelength
      character*4   Obs_2      (nr__2) ! Observatory (KPNO or Lick)
      real*4        JD_2453105_2(nr__2) ! (d) Julian date of observation (-2453105)
      real*4        Flux_1     (nr__2) ! Normalized flux (1)
      real*4        e_Flux_1   (nr__2) ! The 1{sigma} error in Flux (1)
*Note (1): Flux in arbitrary units, normalized to the mean of each night.

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

C  Declarations for 'table6.dat'	! Spectroscopically Derived Broad-Band Light Curves

      integer*4 nr__3
      parameter (nr__3=154)	! Number of records
      character*19 ar__3  	! Full-size record

      character*1   Filt_1     (nr__3) ! [BV] Simulated filter used to derive light
*                                       curve from spectra
      real*4        JD_2453105_3(nr__3) ! (d) Julian date of observation (-2453105)
      character*1   Rem_2      (nr__3) ! [b] Suspect transit data points. (1)
      real*4        Flux_2     (nr__3) ! Normalized flux observed in Filt (2)
      real*4        e_Flux_2   (nr__3) ! The 1{sigma} error in Flux
*Note (1): See text for details.
*Note (2): Normalized to the mean of each night.

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

C  Loading file 'table1.dat'	! Broad-Band Continuum Light Curves

C  Format for file interpretation

    1 format(A6,1X,A1,1X,F8.5,1X,A1,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,549
        read(1,'(A31)')ar__
        read(ar__,1)
     +  Obs(i__),Filt(i__),JD_2453105(i__),Rem(i__),Flux(i__),
     +  e_Flux(i__)
c    ..............Just test output...........
        write(6,1)
     +  Obs(i__),Filt(i__),JD_2453105(i__),Rem(i__),Flux(i__),
     +  e_Flux(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3.dat'	! Spectroscopic Continuum Light Curves

C  Format for file interpretation

    2 format(I4,1X,A4,1X,F5.3,1X,A1,1X,F5.3,1X,F5.3)

C  Effective file loading

      open(unit=1,file='table3.dat', status='old')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,639
        read(1,'(A29)')ar__1
        read(ar__1,2)
     +  lambda(i__),Obs_1(i__),JD_2453105_1(i__),Rem_1(i__),FDen(i__),
     +  e_FDen(i__)
c    ..............Just test output...........
        write(6,2)
     +  lambda(i__),Obs_1(i__),JD_2453105_1(i__),Rem_1(i__),FDen(i__),
     +  e_FDen(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table4.dat'	! Spectroscopic Emission-Line Light Curves

C  Format for file interpretation

    3 format(A7,1X,I4,2X,I4,1X,A4,1X,F5.3,1X,F4.2,1X,F4.2)

C  Effective file loading

      open(unit=1,file='table4.dat', status='old')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,733
        read(1,'(A39)')ar__2
        read(ar__2,3)
     +  Ion(i__),lambda_1(i__),lambda2(i__),Obs_2(i__),
     +  JD_2453105_2(i__),Flux_1(i__),e_Flux_1(i__)
        if(ar__2(15:18) .EQ. '') lambda2(i__) = iNULL__
c    ..............Just test output...........
        write(6,3)
     +  Ion(i__),lambda_1(i__),lambda2(i__),Obs_2(i__),
     +  JD_2453105_2(i__),Flux_1(i__),e_Flux_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table6.dat'	! Spectroscopically Derived Broad-Band Light Curves

C  Format for file interpretation

    4 format(A1,1X,F5.3,1X,A1,1X,F4.2,1X,F4.2)

C  Effective file loading

      open(unit=1,file='table6.dat', status='old')
      write(6,*) '....Loading file: table6.dat'
      do i__=1,154
        read(1,'(A19)')ar__3
        read(ar__3,4)
     +  Filt_1(i__),JD_2453105_3(i__),Rem_2(i__),Flux_2(i__),
     +  e_Flux_2(i__)
c    ..............Just test output...........
        write(6,4)
     +  Filt_1(i__),JD_2453105_3(i__),Rem_2(i__),Flux_2(i__),
     +  e_Flux_2(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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