FORTRAN Generation
(/./ftp/cats/J/A_A/660/A138)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/660/A138 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-17
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/660/A138      SN2020qmp light curves             (Srinivasaragavan+, 2022)
*================================================================================
*PGIR 20eid (SN 2020qmp): A Type II-P Supernova at 15.6 Mpc discovered by the
*Palomar Gattini-IR survey.
*    Srinivasaragavan G.P., Sfaradi I., Jencson J., De K., Horesh A.,
*    Kasliwal M.M., Tinyanont S., Hankins M., Schulze S., Ashley M.C.B.,
*    Graham M.J., Karambelkar V., Lau R., Mahabal A.A., Moore A.M., Ofek E.O.,
*    Sharma Y., Sollerman J., Soon J., Soria R., Travouillon T., Walters R.
*    <Astron. Astrophys. 660, A138 (2022)>
*    =2022A&A...660A.138S        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Photometric data of SN 2020qmp

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

      real*8        JD          ! (d) Julian date of observation
      character*10  Inst        ! Instrument measurement was taken with
      character*4   Filter      ! Photometric filter measurement was taken with (1)
      real*4        magpsf      ! (mag) ?=99 Magnitude in Filter (AB)
      real*4        e_magpsf    ! (mag) ?=99 Magnitude error in Filter )AB)
      real*4        limmag      ! (mag) Magnitude in Filter of limiting measurement (AB)
*Note (1): Filters are U, B, J, ugri, UVM2, UVW1 and UVW2.

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

C  Loading file 'table1.dat'	! Photometric data of SN 2020qmp

C  Format for file interpretation

    1 format(2X,F11.3,4X,A10,4X,A4,6X,F5.2,5X,F5.2,7X,F5.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,315
        read(1,'(A68)')ar__
        read(ar__,1)JD,Inst,Filter,magpsf,e_magpsf,limmag
c    ..............Just test output...........
        write(6,1)JD,Inst,Filter,magpsf,e_magpsf,limmag
c    .......End.of.Just test output...........
      end do
      close(1)

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