FORTRAN Generation
(/./ftp/cats/J/A_A/605/A114)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/605/A114 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-20
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/605/A114      GTC transit light curves of WASP-48b         (Murgas+, 2017)
*================================================================================
*The GTC exoplanet transit spectroscopy survey.
*VII. An optical transmission spectrum of WASP-48b.
*    Murgas F., Palle E., Parviainen H., Chen G., Nortmann L., Nowak G.,
*    Cabrera-Lavers A., Iro N.
*    <Astron. Astrophys. 605, A114 (2017)>
*    =2017A&A...605A.114M        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'list.dat'	! List of light curve files

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

      character*11  Range      (nr__) ! Wavelength interval (nm)
      character*17  FileName   (nr__) ! Name of the table with photometry

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

C  Declarations for 'wlc.dat'	! WASP-48b GTC transit white light curve
                                 (2014/07/17)

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

      real*8        BJD        (nr__1) ! (d) Barycentric Julian Date (TDB standard)
      real*8        Flux       (nr__1) ! Relative flux
      real*8        e_Flux     (nr__1) ! Uncertainty of relative flux
      real*8        FWHM       (nr__1) ! (pix) Full width at half maximum of the stellar
*                                   spatial profile
      real*8        Airmass    (nr__1) ! Airmass during observation
      real*8        RotAng     (nr__1) ! (deg) Telescope rotator angle during observations

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

C  Declarations for 'lc/*'	! Individual 10 and 25nm light curves

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

      real*4        Lambda1    (nr__2) ! (nm) Wavelength of the left border of the channel
      real*4        Lambda2    (nr__2) ! (nm) Wavelength of the right border of the channel
      real*8        BJD_1      (nr__2) ! (d) Barycentric Julian Date (TDB standard)
      real*8        Flux_1     (nr__2) ! Relative flux
      real*8        e_Flux_1   (nr__2) ! Uncertainty of relative flux
      real*8        FWHM_1     (nr__2) ! (pix) Full width at half maximum of the stellar
*                                   spatial profile
      real*8        Airmass_1  (nr__2) ! Airmass during observation
      real*8        RotAng_1   (nr__2) ! (deg) Telescope rotator angle during observations

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

C  Loading file 'list.dat'	! List of light curve files

C  Format for file interpretation

    1 format(A11,1X,A17)

C  Effective file loading

      open(unit=1,status='old',file=
     +'list.dat')
      write(6,*) '....Loading file: list.dat'
      do i__=1,22
        read(1,'(A29)')ar__
        read(ar__,1)Range(i__),FileName(i__)
c    ..............Just test output...........
        write(6,1)Range(i__),FileName(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'wlc.dat'	! WASP-48b GTC transit white light curve
*                                 (2014/07/17)

C  Format for file interpretation

    2 format(F15.7,1X,F8.6,1X,F8.6,1X,F8.6,1X,F8.6,1X,F10.6)

C  Effective file loading

      open(unit=1,status='old',file=
     +'wlc.dat')
      write(6,*) '....Loading file: wlc.dat'
      do i__=1,552
        read(1,'(A62)')ar__1
        read(ar__1,2)
     +  BJD(i__),Flux(i__),e_Flux(i__),FWHM(i__),Airmass(i__),
     +  RotAng(i__)
c    ..............Just test output...........
        write(6,2)
     +  BJD(i__),Flux(i__),e_Flux(i__),FWHM(i__),Airmass(i__),
     +  RotAng(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'lc/*'	! Individual 10 and 25nm light curves

C  Format for file interpretation

    3 format(
     +  F5.1,1X,F5.1,1X,F15.7,1X,F8.6,1X,F8.6,1X,F8.6,1X,F8.6,1X,F10.6)

C  Effective file loading

      open(unit=1,status='old',file=
     +'lc/*')
      write(6,*) '....Loading file: lc/*'
      do i__=1,21
        read(1,'(A74)')ar__2
        read(ar__2,3)
     +  Lambda1(i__),Lambda2(i__),BJD_1(i__),Flux_1(i__),
     +  e_Flux_1(i__),FWHM_1(i__),Airmass_1(i__),RotAng_1(i__)
c    ..............Just test output...........
        write(6,3)
     +  Lambda1(i__),Lambda2(i__),BJD_1(i__),Flux_1(i__),
     +  e_Flux_1(i__),FWHM_1(i__),Airmass_1(i__),RotAng_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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