FORTRAN Generation
(/./ftp/cats/J/A_A/642/A50)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/642/A50 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-Jun-13
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/642/A50          WASP-74 griz_s_ light curves               (Luque+, 2020)
*================================================================================
*Obliquity measurement and atmospheric characterization of the
*WASP-74 planetary system.
*    Luque R., Casasayas-Barris N., Parviainen H., Chen G., Palle E.,
*    Livingston J., Bejar V.J.S., Crouzet N., Esparza-Borges E., Fukui A.,
*    Hidalgo D., Kawashima Y., Kawauchi K., Klagyivik P., Kurita S., Kusakabe N.,
*    de Leon J.P., Madrigal-Aguado A., Montanes-Rodriguez P., Mori M., Murgas F.,
*    Narita N., Nishiumi T., Nowak G., Oshagh M., Sanchez-Benavente M.,
*    Stangret M., Tamura M., Terada Y., Watanabe N.
*    <Astron. Astrophys. 642, A50 (2020)>
*    =2020A&A...642A..50L        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'list.dat'	! List of light curves

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

      character*10  Obs_date   (nr__) ! ("date") Observation date
      character*4   Band       (nr__) ! [gri z_s_] Observed band
      integer*4     Nobs       (nr__) ! Number of observation
      character*12  FileName   (nr__) ! Name of the table, in subdirectory lc
      character*47  Title      (nr__) ! Title of the table

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

C  Declarations for 'lc/*'	! Individual light curves

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

      real*8        Time       (nr__1) ! (d) Time (JD)
      real*8        Flux       (nr__1) ! Normalized flux
      real*4        Airmass    (nr__1) ! Airmss
      real*8        Xshift     (nr__1) ! (pix) X-centroid shift
      real*4        Yshift     (nr__1) ! (pix) Y-centroid shift
      real*4        Entropy    (nr__1) ! Aperture entropy

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

C  Loading file 'list.dat'	! List of light curves

C  Format for file interpretation

    1 format(A10,1X,A4,1X,I4,1X,A12,1X,A47)

C  Effective file loading

      open(unit=1,status='old',file=
     +'list.dat')
      write(6,*) '....Loading file: list.dat'
      do i__=1,15
        read(1,'(A81)')ar__
        read(ar__,1)
     +  Obs_date(i__),Band(i__),Nobs(i__),FileName(i__),Title(i__)
c    ..............Just test output...........
        write(6,1)
     +  Obs_date(i__),Band(i__),Nobs(i__),FileName(i__),Title(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'lc/*'	! Individual light curves

C  Format for file interpretation

    2 format(F18.10,1X,F18.16,1X,F5.3,1X,F23.20,1X,E23.20,1X,E23.20)

C  Effective file loading

      open(unit=1,status='old',file=
     +'lc/*')
      write(6,*) '....Loading file: lc/*'
      do i__=1,15
        read(1,'(A115)')ar__1
        read(ar__1,2)
     +  Time(i__),Flux(i__),Airmass(i__),Xshift(i__),Yshift(i__),
     +  Entropy(i__)
c    ..............Just test output...........
        write(6,2)
     +  Time(i__),Flux(i__),Airmass(i__),Xshift(i__),Yshift(i__),
     +  Entropy(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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