FORTRAN Generation
(/./ftp/cats/J/A_A/672/A5)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/672/A5 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-May-19
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/672/A5           GM Aur LCOGT urgi light curves           (Bouvier+, 2023)
*================================================================================
*Stable accretion and episodic outflows in the young transition disk system
*GM Aurigae. A semester-long optical and near-infrared spectrophotometric
*monitoring campaign.
*    Bouvier J., Sousa S, Pouilly K., Almenara J.M., Donati J.-F.,
*    Alencar S.H.P., Frasca A., Grankin K., Carmona A., Pantolmos G., Zaire B.,
*    Bonfils X., Bayo A., Rebull L.M., Alonso-Santiago J., Gameiro J.F.,
*    Cook N.J., Artigau E. (the Spirou Legacy Survey (SLS) consortium)
*    <Astron. Astrophys. 672, A5 (2023)>
*    =2023A&A...672A...5B        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'umag.dat'	! GM Aur LCOGT u' photometry

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

      character*1   Band       (nr__) ! [ugri]
      real*8        JD         (nr__) ! (d) Julian date
      real*8        mag        (nr__) ! (mag) Magnitude in Band
      real*8        e_mag      (nr__) ! (mag) rms uncertainty on mag

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

C  Declarations for 'gmag.dat'	! GM Aur LCOGT g' photometry

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

      character*1   Band_1     (nr__1) ! [ugri]
      real*8        JD_1       (nr__1) ! (d) Julian date
      real*8        mag_1      (nr__1) ! (mag) Magnitude in Band
      real*8        e_mag_1    (nr__1) ! (mag) rms uncertainty on mag

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

C  Declarations for 'rmag.dat'	! GM Aur LCOGT r' photometry

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

      character*1   Band_2     (nr__2) ! [ugri]
      real*8        JD_2       (nr__2) ! (d) Julian date
      real*8        mag_2      (nr__2) ! (mag) Magnitude in Band
      real*8        e_mag_2    (nr__2) ! (mag) rms uncertainty on mag

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

C  Declarations for 'imag.dat'	! GM Aur LCOGT i' photometry

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

      character*1   Band_3     (nr__3) ! [ugri]
      real*8        JD_3       (nr__3) ! (d) Julian date
      real*8        mag_3      (nr__3) ! (mag) Magnitude in Band
      real*8        e_mag_3    (nr__3) ! (mag) rms uncertainty on mag

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

C  Loading file 'umag.dat'	! GM Aur LCOGT u' photometry

C  Format for file interpretation

    1 format(A1,1X,F18.10,3X,F18.15,3X,F21.19)

C  Effective file loading

      open(unit=1,status='old',file=
     +'umag.dat')
      write(6,*) '....Loading file: umag.dat'
      do i__=1,131
        read(1,'(A65)')ar__
        read(ar__,1)Band(i__),JD(i__),mag(i__),e_mag(i__)
c    ..............Just test output...........
        write(6,1)Band(i__),JD(i__),mag(i__),e_mag(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'gmag.dat'	! GM Aur LCOGT g' photometry

C  Format for file interpretation

    2 format(A1,1X,F18.10,3X,F18.15,3X,F21.19)

C  Effective file loading

      open(unit=1,status='old',file=
     +'gmag.dat')
      write(6,*) '....Loading file: gmag.dat'
      do i__=1,241
        read(1,'(A67)')ar__1
        read(ar__1,2)Band_1(i__),JD_1(i__),mag_1(i__),e_mag_1(i__)
c    ..............Just test output...........
        write(6,2)Band_1(i__),JD_1(i__),mag_1(i__),e_mag_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'rmag.dat'	! GM Aur LCOGT r' photometry

C  Format for file interpretation

    3 format(A1,1X,F18.10,3X,F18.15,3X,F21.19)

C  Effective file loading

      open(unit=1,status='old',file=
     +'rmag.dat')
      write(6,*) '....Loading file: rmag.dat'
      do i__=1,240
        read(1,'(A67)')ar__2
        read(ar__2,3)Band_2(i__),JD_2(i__),mag_2(i__),e_mag_2(i__)
c    ..............Just test output...........
        write(6,3)Band_2(i__),JD_2(i__),mag_2(i__),e_mag_2(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'imag.dat'	! GM Aur LCOGT i' photometry

C  Format for file interpretation

    4 format(A1,1X,F18.10,3X,F18.15,3X,F21.19)

C  Effective file loading

      open(unit=1,status='old',file=
     +'imag.dat')
      write(6,*) '....Loading file: imag.dat'
      do i__=1,238
        read(1,'(A67)')ar__3
        read(ar__3,4)Band_3(i__),JD_3(i__),mag_3(i__),e_mag_3(i__)
c    ..............Just test output...........
        write(6,4)Band_3(i__),JD_3(i__),mag_3(i__),e_mag_3(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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