FORTRAN Generation
(/./ftp/cats/J/ApJ/957/100)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/957/100 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-May-15
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/957/100   Long-term sp. obs. of SN IIb/Ib 2022crv   (Gangopadhyay+, 2023)
*================================================================================
*Bridging between Type IIb and Ib Supernovae: SN IIb 2022crv with a very thin
*hydrogen envelope.
*    Gangopadhyay A., Maeda K., Singh A., N. A J, Nakaoka T., Kawabata K.S.,
*    Taguchi K., Singh M., Chandra P., Ryder S.D., Dastidar R., Yamanaka M.,
*    Kawabata M., Alsaberi R.Z.E., Dukiya N., Teja R.S., Ailawadhi B.,
*    Dutta A., Sahu D.K., Moriya T.J., Misra K., Tanaka M., Chevalier R.,
*    Tominaga N., Uno K., Imazawa R., Hamada T., Hori T., Isogai K.
*   <Astrophys. J., 957, 100 (2023)>
*   =2023ApJ...957..100G
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table8.dat'	! Log of spectroscopic observations of SN 2022crv

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

      real*4        Phase       ! (d) [-15.3/33.3] Phase measured with respect to
*                               the V-band maximum (JD 2459644.19)
      character*12  Tel         ! Telescope (Seimei, HCT, DOT or Gemini-North)
      character*9   Inst        ! Instrument
      integer*4     lam1        ! (0.1nm) [3400/4100] Lower range of wavelength in Angstrom
      integer*4     lam2        ! (0.1nm) [6840/9500] Upper range of wavelength in Angstrom
      character*10  Date        ! Observation date (UT)
      character*32  File        ! Filename; see subdirectory "sp"

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

C  Declarations for 'sp/*'	! Individual spectra in ASCII format
                             (data behind Figure 1)

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

      real*8        lambda      ! (0.1nm) [3652/9244] Rest Wavelength, Angstroms
      real*4        Flux        ! (mW/m2) ?=0 Flux, erg/s/cm2

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

C  Loading file 'table8.dat'	! Log of spectroscopic observations of SN 2022crv

C  Format for file interpretation

    1 format(F5.1,1X,A12,1X,A9,1X,I4,1X,I4,1X,A10,1X,A32)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table8.dat')
      write(6,*) '....Loading file: table8.dat'
      do i__=1,11
        read(1,'(A82)')ar__
        read(ar__,1)Phase,Tel,Inst,lam1,lam2,Date,File
c    ..............Just test output...........
        write(6,1)Phase,Tel,Inst,lam1,lam2,Date,File
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'sp/*'	! Individual spectra in ASCII format
*                             (data behind Figure 1)

C  Format for file interpretation

    2 format(F16.11,1X,E22.7)

C  Effective file loading

      open(unit=1,status='old',file=
     +'sp/*')
      write(6,*) '....Loading file: sp/*'
      do i__=1,11
        read(1,'(A39)')ar__1
        read(ar__1,2)lambda,Flux
c    ..............Just test output...........
        write(6,2)lambda,Flux
c    .......End.of.Just test output...........
      end do
      close(1)

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