FORTRAN Generation
(/./ftp/cats/J/ApJ/813/30)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/813/30 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 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/813/30    UV-Optical light curves of the SNIa iPTF14bdn    (Smitka+, 2015)
*================================================================================
*The 1999aa-like Type Ia supernova iPTF14bdn in the ultraviolet and optical.
*    Smitka M.T., Brown P.J., Suntzeff N.B., Zhang J., Zhai Q., Wang X., Mo J.,
*    Zhang T.
*   <Astrophys. J., 813, 30 (2015)>
*   =2015ApJ...813...30S    (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Photometry of iPTF14bdn

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

      character*4   Filt        ! Filter used in the observation (UBVRI, UVM2,
*                                UVW1 or UVW2) (1)
      character*5   Tel         ! Telescope ("LJT"=Lijiang 2.4m Telescope,
*                                "TNT"=Tsinghua-NAOC Telescope or "UVOT" (Swift))
      real*8        MJD         ! (d) [56804.7/56868.4] Modified Julian Date of
*                                the observation
      real*4        mag         ! (mag) [14.3/20.2] Observed magnitude in Filt
      real*4        e_mag       ! (mag) [0.02/0.4] Error in mag
*Note (1): Light-curve Parameters of iPTF14bdn (table 3):
* -----------------------------------------------------------------
*  Filter    Peak MJD            Peak Mag           {Delta}m_15_
*                                                     (mag)
* -----------------------------------------------------------------
*  UVM2      56819.6 +or- 0.6    18.63 +or- 0.04    0.59 +or- 0.21
*  UVW2      56819.3 +or- 0.3    17.84 +or- 0.03    0.83 +or- 0.11
*  UVW1      56818.4 +or- 0.2    16.18 +or- 0.02    1.02 +or- 0.05
*  U         56819.0 +or- 0.2    14.28 +or- 0.02    1.27 +or- 0.07
*  B         56822.5 +or- 0.3    14.75 +or- 0.02    0.84 +or- 0.05
*  V         56823.2 +or- 0.2    14.83 +or- 0.01    0.60 +or- 0.04
*  R         56825.7 +or- 0.4    14.87 +or- 0.02    0.61 +or- 0.04
*  I         56822.7 +or- 0.2    15.10 +or- 0.02    0.67 +or- 0.02
* -----------------------------------------------------------------

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

C  Declarations for 'table4.dat'	! YFOSC instrument filter responses

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

      character*1   Filt_1      ! [BIRUV] LJT/YFOSC filter name (UBVRI) (1)
      real*8        lambda      ! (0.1nm) [3130/11000] Wavelength; Angstroms
      real*4        Trans       ! (%) [-0.003/71.1] Throughput of Filt
*Note (1): The Lijiang 2.4m telescope and the Yunnan Faint Object Spectrograph
*          and Camera (YFOSC; Zhang et al. 2014, J/AJ/148/1).

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

C  Loading file 'table1.dat'	! Photometry of iPTF14bdn

C  Format for file interpretation

    1 format(A4,1X,A5,1X,F8.2,1X,F6.3,1X,F5.3)

C  Effective file loading

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

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

C  Loading file 'table4.dat'	! YFOSC instrument filter responses

C  Format for file interpretation

    2 format(A1,1X,F7.1,1X,F6.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4.dat')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,6433
        read(1,'(A16)')ar__1
        read(ar__1,2)Filt_1,lambda,Trans
c    ..............Just test output...........
        write(6,2)Filt_1,lambda,Trans
c    .......End.of.Just test output...........
      end do
      close(1)

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