FORTRAN Generation
(/./ftp/cats/J/AJ/165/104)

Conversion of standardized ReadMe file for file /./ftp/cats/J/AJ/165/104 into FORTRAN code for reading data files line by line.

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-Sep-09
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/AJ/165/104   Emergent spectral IR fluxes of 122 hot Jupiters   (Deming+, 2023)
*================================================================================
*Emergent Spectral Fluxes of Hot Jupiters; An Abrupt Rise in Dayside Brightness
*Temperature Under Strong Irradiation.
*    Deming D., Line M.R., Knutson H.A., Crossfield I.J.M., Kempton E.M.-R.,
*    Komacek T.D., Wallack N.L., Fu G.
*   <Astron. J., 165, 104 (2023)>
*   =2023AJ....165..104D
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Eclipse depths and uncertainties for 3.6 and
                             4.5{mu}m Spitzer observations

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

      character*10  Name        ! Planet b name
      real*4        Wave        ! (um) [3.6/4.5] Bandpass central wavelength
      integer*4     AOR         ! [227/71326208] Astronomical Observation Request
*                               number
      integer*4     Depth       ! (ppm) [-102/5901] Eclipse depth in parts-per-million (1)
      integer*4     e_Depth     ! (ppm) [24/884] The 1-sigma uncertainty in Depth
*Note (1): WASP-033 depths are from Deming+, 2012ApJ...754..106D and
*    Zhang+, 2018AJ....155...83Z.
*    WASP-029 AOR 41631488 is averaged with 50668288.
*    WASP-029 AOR 40283392 is averaged with 41630720.
*    WASP-067 AOR 50666496 is averaged with 50666240.
*    HAT-P-12 AOR 50672128 is averaged with 36783616.
*    HAT-P-15 AOR 42618112 is averaged with 42621952 and 50672640.
*    HAT-P-15 AOR 42618368 is averaged with 42622720 and 50679808.

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

C  Declarations for 'table2.dat'	! Emergent fluxes in the 3.6 and 4.5{mu}m bands and
                             brightness temperatures

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

      character*10  Name_1      ! Planet b name
      real*4        F3_6        ! (mW/m2/Hz) [0/2e-05] Planet flux at 3.6 microns
      real*4        e_F3_6      ! (mW/m2/Hz) [0/2e-06] The 1-sigma uncertainty in F3.6
      real*4        F4_5        ! (mW/m2/Hz) [1e-07/2e-05] Planet flux at 4.5 microns
      real*4        e_F4_5      ! (mW/m2/Hz) [4e-08/2e-06] The sigma uncertainty in F4.5
      integer*4     Tb3_6       ! (K) [0/4034] Brightness temperature at 3.6 microns
      integer*4     E_Tb3_6     ! (K) [0/320] Upper 1-sigma uncertainty in Tb3.6
      integer*4     e_Tb3_6_1   ! (K) [0/6162] Lower 1-sigma uncertainty in Tb3.6
      integer*4     Tb4_5       ! (K) [670/4372] Brightness temperature at 4.5 microns
      integer*4     E_Tb4_5     ! (K) [18/391] Upper 1-sigma uncertainty in Tb4.5
      integer*4     e_Tb4_5_1   ! (K) [18/1830] Lower 1-sigma uncertainty in Tb4.5

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

C  Declarations for 'table3.dat'	! *Stellar and planetary temperatures and radii that
                             we adopted from TEPCat

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

      character*10  Name_2      ! Planet b name
      real*4        Rad         ! (Rjup) [0.77/2.06] Planet radius in Jupiter radii
      integer*4     Teq         ! (K) [736/3921] Planet equilibrium temperature
      real*4        R_          ! (Rsun) [0.593/2.69] Stellar radius
      integer*4     Teff        ! (K) [4145/9600] Stellar effective temperature

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

C  Loading file 'table1.dat'	! Eclipse depths and uncertainties for 3.6 and
*                             4.5{mu}m Spitzer observations

C  Format for file interpretation

    1 format(A10,1X,F3.1,1X,I8,1X,I4,1X,I3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,449
        read(1,'(A32)')ar__
        read(ar__,1)Name,Wave,AOR,Depth,e_Depth
c    ..............Just test output...........
        write(6,1)Name,Wave,AOR,Depth,e_Depth
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table2.dat'	! Emergent fluxes in the 3.6 and 4.5{mu}m bands and
*                             brightness temperatures

C  Format for file interpretation

    2 format(
     +  A10,1X,E8.2,1X,E8.2,1X,E8.2,1X,E8.2,1X,I4,1X,I3,1X,I4,1X,I4,
     +  1X,I3,1X,I4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,122
        read(1,'(A74)')ar__1
        read(ar__1,2)
     +  Name_1,F3_6,e_F3_6,F4_5,e_F4_5,Tb3_6,E_Tb3_6,e_Tb3_6_1,Tb4_5,
     +  E_Tb4_5,e_Tb4_5_1
c    ..............Just test output...........
        write(6,2)
     +  Name_1,F3_6,e_F3_6,F4_5,e_F4_5,Tb3_6,E_Tb3_6,e_Tb3_6_1,Tb4_5,
     +  E_Tb4_5,e_Tb4_5_1
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3.dat'	! *Stellar and planetary temperatures and radii that
*                             we adopted from TEPCat

C  Format for file interpretation

    3 format(A10,1X,F5.3,1X,I4,1X,F5.3,1X,I4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,122
        read(1,'(A32)')ar__2
        read(ar__2,3)Name_2,Rad,Teq,R_,Teff
c    ..............Just test output...........
        write(6,3)Name_2,Rad,Teq,R_,Teff
c    .......End.of.Just test output...........
      end do
      close(1)

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