FORTRAN Generation
(/./ftp/cats/J/MNRAS/465/843)

Conversion of standardized ReadMe file for file /./ftp/cats/J/MNRAS/465/843 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 2024-Apr-18
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/MNRAS/465/843     Light curves of WASP-52                  (Mancini+, 2017)
*================================================================================
*Orbital alignment and star-spot properties in the WASP-52 planetary system.
*    Mancini L., Southworth J., Raia G., Tregloan-Reed J., Molliere P.,
*    Bozza V., Bretton M., Bruni I., Ciceri S., D'Ago G., Dominik M.,
*    Hinse T.C., Hundertmark M., Jorgensen U.G., Korhonen H., Rabus M.,
*    Rahvar S., Starkey D., Calchi Novati S., Figuera Jaimes R., Henning T.,
*    Juncher D., Haugbolle T., Kains N., Popovas A., Schmidt R.W., Skottfelt J.,
*    Snodgrass C., Surdej J., Wertz O.
*   <Mon. Not. R. Astron. Soc., 465, 843-857 (2017)>
*   =2017MNRAS.465..843M    (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'list.dat'	! Details of the transit observations presented
                                 in this work

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

      character*11  FileName   (nr__) ! Name of the table with photometry in
*                                   subdirectory phot
      character*13  Tel        (nr__) ! Telescope
      character*9   Filt       (nr__) ! Filter
      character*10  Obs_date   (nr__) ! ("date") Observation date
      integer*4     Nobs       (nr__) ! Number of observations

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

C  Declarations for 'phot/*'	! Individual transit files

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

      real*8        BJD        (nr__1) ! (d) Barycentric JD for the midpoint of observation
*                                (TDB) (BJD-2400000)
      real*8        mag        (nr__1) ! (mag) Differential magnitude of the target
      real*8        e_mag      (nr__1) ! (mag) Measurement error of the magnitude

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

C  Loading file 'list.dat'	! Details of the transit observations presented
*                                 in this work

C  Format for file interpretation

    1 format(A11,1X,A13,1X,A9,1X,A10,1X,I3)

C  Effective file loading

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

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

C  Loading file 'phot/*'	! Individual transit files

C  Format for file interpretation

    2 format(F12.6,4X,F9.6,4X,F8.6)

C  Effective file loading

      open(unit=1,status='old',file=
     +'phot/*')
      write(6,*) '....Loading file: phot/*'
      do i__=1,12
        read(1,'(A37)')ar__1
        read(ar__1,2)BJD(i__),mag(i__),e_mag(i__)
c    ..............Just test output...........
        write(6,2)BJD(i__),mag(i__),e_mag(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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