FORTRAN Generation
(/./ftp/cats/J/A_A/608/A120)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/608/A120 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-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/608/A120  GJ 1214b optical and near-IR transit phot.  (Angerhausen+, 2017)
*================================================================================
*Simultaneous multicolour optical and near-IR transit photometry of GJ 1214b
*with SOFIA.
*     Angerhausen D., Dreyer C., Placek B., Csizmadia Sz., Eigmueller P.,
*     Godolt M., Kitzmann D., Mallonn M., Becklin E., Collins P., Dunham E.W.,
*     Grenfell J.L., Hamilton R.T., Kabath P., Logsdon S.E., Mandell A.,
*     Mandushev G., McElwain M., McLean I.S., Pfueller E., Rauer H., Savage M.,
*     Shenoy S., Vacca W.D., Van Cleve J.E., Wiedemann M., Wolf J.
*    <Astron. Astrophys. 608, A120 (2017)>
*    =2017A&A...608A.120A        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! Observation summary

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

      character*9   Inst       (nr__) ! Instrument designation
      character*16  Band       (nr__) ! Pass-band designation (1)
      real*4        lambdaEff  (nr__) ! (um) Effective wavelength or lower value of
*                                   effective wavelength interval (1)
      real*4        BlambdaEff (nr__) ! (um) ? Upper value of effective wavelength interval
      real*4        Width      (nr__) ! (um) Band width
      character*6   ExpTime    (nr__) ! (s) Exposure time
      character*12  FileName   (nr__) ! Name of the file with photometry
*Note (1): taken from Sofia Observer's Handbook for Cycle 2: v2.1.2 .

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

C  Declarations for 'hipoblue.dat'	! SOFIA GJ1214 HIPO blue (open blue) data

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

      real*8        HJD        (nr__1) ! (d) Heliocentric Julian date (HJD-2456715)
      real*8        RFlux      (nr__1) ! Relative flux

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

C  Declarations for 'hipored.dat'	! SOFIA GJ1214 HIPO red (SDSS z') data

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

      real*8        HJD_1      (nr__2) ! (d) Heliocentric Julian date (HJD-2456715)
      real*8        RFlux_1    (nr__2) ! Relative flux

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

C  Declarations for 'fpip.dat'	! SOFIA GJ1214 HIPO FPI (SDSS i') data

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

      real*8        HJD_2      (nr__3) ! (d) Heliocentric Julian date (HJD-2456715)
      real*8        RFlux_2    (nr__3) ! Relative flux

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

C  Declarations for 'flitecam.dat'	! SOFIA GJ1214 HIPO FLITECAM (Pa {alpha} cont.) data

      integer*4 nr__4
      parameter (nr__4=255)	! Number of records
      character*15 ar__4  	! Full-size record

      real*8        HJD_3      (nr__4) ! (d) Heliocentric Julian date (HJD-2456715)
      real*8        RFlux_3    (nr__4) ! Relative flux

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

C  Loading file 'table2.dat'	! Observation summary

C  Format for file interpretation

    1 format(A9,1X,A16,1X,F4.2,1X,F3.1,1X,F4.2,1X,A6,1X,A12)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,4
        read(1,'(A60)')ar__
        read(ar__,1)
     +  Inst(i__),Band(i__),lambdaEff(i__),BlambdaEff(i__),Width(i__),
     +  ExpTime(i__),FileName(i__)
        if(ar__(33:35) .EQ. '') BlambdaEff(i__) = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  Inst(i__),Band(i__),lambdaEff(i__),BlambdaEff(i__),Width(i__),
     +  ExpTime(i__),FileName(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'hipoblue.dat'	! SOFIA GJ1214 HIPO blue (open blue) data

C  Format for file interpretation

    2 format(F7.5,1X,F7.5)

C  Effective file loading

      open(unit=1,status='old',file=
     +'hipoblue.dat')
      write(6,*) '....Loading file: hipoblue.dat'
      do i__=1,434
        read(1,'(A15)')ar__1
        read(ar__1,2)HJD(i__),RFlux(i__)
c    ..............Just test output...........
        write(6,2)HJD(i__),RFlux(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'hipored.dat'	! SOFIA GJ1214 HIPO red (SDSS z') data

C  Format for file interpretation

    3 format(F7.5,1X,F7.5)

C  Effective file loading

      open(unit=1,status='old',file=
     +'hipored.dat')
      write(6,*) '....Loading file: hipored.dat'
      do i__=1,436
        read(1,'(A15)')ar__2
        read(ar__2,3)HJD_1(i__),RFlux_1(i__)
c    ..............Just test output...........
        write(6,3)HJD_1(i__),RFlux_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'fpip.dat'	! SOFIA GJ1214 HIPO FPI (SDSS i') data

C  Format for file interpretation

    4 format(F7.5,1X,F7.5)

C  Effective file loading

      open(unit=1,status='old',file=
     +'fpip.dat')
      write(6,*) '....Loading file: fpip.dat'
      do i__=1,4425
        read(1,'(A15)')ar__3
        read(ar__3,4)HJD_2(i__),RFlux_2(i__)
c    ..............Just test output...........
        write(6,4)HJD_2(i__),RFlux_2(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'flitecam.dat'	! SOFIA GJ1214 HIPO FLITECAM (Pa {alpha} cont.) data

C  Format for file interpretation

    5 format(F7.5,1X,F7.5)

C  Effective file loading

      open(unit=1,status='old',file=
     +'flitecam.dat')
      write(6,*) '....Loading file: flitecam.dat'
      do i__=1,255
        read(1,'(A15)')ar__4
        read(ar__4,5)HJD_3(i__),RFlux_3(i__)
c    ..............Just test output...........
        write(6,5)HJD_3(i__),RFlux_3(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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