FORTRAN Generation
(/./ftp/cats/J/ApJ/893/132)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/893/132 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.81 (2015-09-23), on 2026-Oct-12
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/ApJ/893/132         Optical follow-up of SNIc ZTF18aaqjovh         (Ho+, 2020)
*================================================================================
*The broad-lined Ic supernova ZTF18aaqjovh (SN 2018bvw): an optically discovered
*engine-driven supernova candidate with luminous radio emission.
*    Ho A.Y.Q., Corsi A., Cenko S.B., Taddia F., Kulkarni S.R., Adams S., De K.,
*    Dekany R., Frederiks D.D., Fremling C., Golkhou V.Z., Graham M.J., Hung T.,
*    Kupfer T., Laher R.R., Mahabal A., Masci F.J., Miller A.A., Neill J.D.,
*    Reiley D., Riddle R., Ridnaia A., Rusholme B., Sharma Y., Sollerman J.,
*    Soumagnac M.T., Svinkin D.S., Shupe D.L.
*   <Astrophys. J., 893, 132-132 (2020)>
*   =2020ApJ...893..132H    (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Optical light curve of ZTF18aaqjovh from
                                 forced photometry on P48 images

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

      real*8        MJD        (nr__) ! [58243.17/58284.22] Observation date
      real*4        Delt       (nr__) ! [9.99/51.04] Time interval {Delta}t
      character*3   Inst       (nr__) ! Instrument (P48 or P60)
      character*1   Filt       (nr__) ! Filter (g or r)
      real*4        mag        (nr__) ! [18.17/20.85] AB magnitude in Filt
      real*4        e_mag      (nr__) ! [0.02/0.29] mag uncertainty

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

C  Declarations for 'fig3.dat'	! Optical spectra of ZTF18aaqjovh

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

      integer*4     Code       (nr__1) ! [1/5] Observation code (1)
      real*8        lambda     (nr__1) ! (0.1nm) [3077.4/10500.4] Wavelength;
*                                     in Angstrom units
      real*4        Flux       (nr__1) ! (cW/m2/nm) [-5.7e-16/8.5e-16] Observed flux;
*                                     in erg/s/cm^2^/{AA} units
      real*4        e_Flux     (nr__1) ! (cW/m2/nm) [1.8e-19/4e-17]? Uncertainty in Flux
*Note (1): Observational detail of spectra from Table 2:
*   -----------------------------------------------------------
*        Date      {Delta}t  Tel+Inst.  Exp Time   V_ph_
*        (MJD)      (d)                   (s)      (10^4^km/s)
*   -----------------------------------------------------------
*    1 = 58247.359   14      P60+SEDM    1800      2.12+/-0.46
*    2 = 58252.322   19      KeckI+LRIS   920      1.74+/-0.28
*    3 = 58253.977   20      NOT+ALFOSC  2400      1.84+/-0.54
*    4 = 58277.253   44      P200+DBSP   2700      1.12+/-0.33
*    5 = 58338.249  105      KeckI+LRIS  1720      N/A
*   -----------------------------------------------------------

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

C  Loading file 'table1.dat'	! Optical light curve of ZTF18aaqjovh from
*                                 forced photometry on P48 images

C  Format for file interpretation

    1 format(F12.6,1X,F5.2,1X,A3,1X,A1,1X,F5.2,1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,74
        read(1,'(A35)')ar__
        read(ar__,1)
     +  MJD(i__),Delt(i__),Inst(i__),Filt(i__),mag(i__),e_mag(i__)
c    ..............Just test output...........
        write(6,1)
     +  MJD(i__),Delt(i__),Inst(i__),Filt(i__),mag(i__),e_mag(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'fig3.dat'	! Optical spectra of ZTF18aaqjovh

C  Format for file interpretation

    2 format(I1,1X,F10.4,1X,E12.5,1X,E11.5)

C  Effective file loading

      open(unit=1,status='old',file=
     +'fig3.dat')
      write(6,*) '....Loading file: fig3.dat'
      do i__=1,16702
        read(1,'(A37)')ar__1
        read(ar__1,2)Code(i__),lambda(i__),Flux(i__),e_Flux(i__)
        if(ar__1(27:37) .EQ. '') e_Flux(i__) = rNULL__
c    ..............Just test output...........
        write(6,2)Code(i__),lambda(i__),Flux(i__),e_Flux(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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