Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/580/A63 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-12
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/580/A63 HATS-13b and HATS-14b light and RV curves (Mancini+, 2015)
*================================================================================
*HATS-13b and HATS-14b: two transiting hot Jupiters from the HATSouth survey.
* Mancini L., Hartman J.D., Penev K., Bakos G.A., Brahm R., Ciceri S.,
* Henning T., Csubry Z., Bayliss D., Zhou G., Rabus M., de Val-Borro M.,
* Espinoza N., Jordan A., Suc V., Bhatti W., Schmidt B., Sato B., Tan T.G.,
* Wright D.J., Tinney C.G., Addison B.C., Noyes R.W., Lazar J., Papp I.,
* Sari P.
* <Astron. Astrophys. 580, A63 (2015)>
* =2015A&A...580A..63M (SIMBAD/NED BibCode)
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'h13hs.dat' ! Photom. of HATS-13 from the HATSouth survey
integer*4 nr__
parameter (nr__=11407) ! Number of records
character*31 ar__ ! Full-size record
real*8 BJD ! (d) Barycentric JD for the midpoint of observation
* (TDB, BJD-2400000)
real*8 mag ! (mag) Differential magnitude of the target
real*8 e_mag ! (mag) Measurement error of the magnitude
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'h13ctio.dat' ! Photom. of HATS-13 on 2012/08/26 (CTIO 90cm z)
integer*4 nr__1
parameter (nr__1=68) ! Number of records
character*31 ar__1 ! Full-size record
real*8 BJD_1 ! (d) Barycentric JD for the midpoint of observation
* (TDB, BJD-2400000)
real*8 mag_1 ! (mag) Differential magnitude of the target
real*8 e_mag_1 ! (mag) Measurement error of the magnitude
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'h13grg.dat' ! Photom. of HATS-13 on 2012/10/17 (GROND g)
integer*4 nr__2
parameter (nr__2=82) ! Number of records
character*31 ar__2 ! Full-size record
real*8 BJD_2 ! (d) Barycentric JD for the midpoint of observation
* (TDB, BJD-2400000)
real*8 mag_2 ! (mag) Differential magnitude of the target
real*8 e_mag_2 ! (mag) Measurement error of the magnitude
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'h13grr.dat' ! Photom. of HATS-13 on 2012/10/17 (GROND r)
integer*4 nr__3
parameter (nr__3=82) ! Number of records
character*31 ar__3 ! Full-size record
real*8 BJD_3 ! (d) Barycentric JD for the midpoint of observation
* (TDB, BJD-2400000)
real*8 mag_3 ! (mag) Differential magnitude of the target
real*8 e_mag_3 ! (mag) Measurement error of the magnitude
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'h13gri.dat' ! Photom. of HATS-13 on 2012/10/17 (GROND i)
integer*4 nr__4
parameter (nr__4=83) ! Number of records
character*31 ar__4 ! Full-size record
real*8 BJD_4 ! (d) Barycentric JD for the midpoint of observation
* (TDB, BJD-2400000)
real*8 mag_4 ! (mag) Differential magnitude of the target
real*8 e_mag_4 ! (mag) Measurement error of the magnitude
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'h13grz.dat' ! Photom. of HATS-13 on 2012/10/17 (GROND z)
integer*4 nr__5
parameter (nr__5=82) ! Number of records
character*31 ar__5 ! Full-size record
real*8 BJD_5 ! (d) Barycentric JD for the midpoint of observation
* (TDB, BJD-2400000)
real*8 mag_5 ! (mag) Differential magnitude of the target
real*8 e_mag_5 ! (mag) Measurement error of the magnitude
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'h13p1.dat' ! Photom. of HATS-13 on 2013/05/03 (PEST 30cm R)
integer*4 nr__6
parameter (nr__6=99) ! Number of records
character*31 ar__6 ! Full-size record
real*8 BJD_6 ! (d) Barycentric JD for the midpoint of observation
* (TDB, BJD-2400000)
real*8 mag_6 ! (mag) Differential magnitude of the target
real*8 e_mag_6 ! (mag) Measurement error of the magnitude
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'h13p2.dat' ! Photom. of HATS-13 on 2013/06/30 (PEST 30cm R)
integer*4 nr__7
parameter (nr__7=189) ! Number of records
character*31 ar__7 ! Full-size record
real*8 BJD_7 ! (d) Barycentric JD for the midpoint of observation
* (TDB, BJD-2400000)
real*8 mag_7 ! (mag) Differential magnitude of the target
real*8 e_mag_7 ! (mag) Measurement error of the magnitude
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'h13rv.dat' ! RV measurements of HATS-13
integer*4 nr__8
parameter (nr__8=57) ! Number of records
character*58 ar__8 ! Full-size record
real*8 BJD_8 ! (d) Barycentric JD for the midpoint of observation
* (TDB)
real*8 RV ! (m/s) ?=- Radial Velocity (RV) of the target
real*4 e_RV ! (m/s) ?=- Measurement error of RV
real*8 BS ! (m/s) ?=- Bisector Span (BS)
real*4 e_BS ! (m/s) ?=- Measurement error of BS
real*8 Phase ! Phase
character*7 Inst ! Instrument
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'h14hs.dat' ! Photom. of HATS-14 from the HATSouth survey
integer*4 nr__9
parameter (nr__9=13955) ! Number of records
character*31 ar__9 ! Full-size record
real*8 BJD_9 ! (d) Barycentric JD for the midpoint of observation
* (TDB, BJD-2400000)
real*8 mag_8 ! (mag) Differential magnitude of the target
real*8 e_mag_8 ! (mag) Measurement error of the magnitude
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'h14p.dat' ! Photom. of HATS-14 on 2013/06/06 (PEST 30cm R)
integer*4 nr__10
parameter (nr__10=131) ! Number of records
character*31 ar__10 ! Full-size record
real*8 BJD_10 ! (d) Barycentric JD for the midpoint of observation
* (TDB, BJD-2400000)
real*8 mag_9 ! (mag) Differential magnitude of the target
real*8 e_mag_9 ! (mag) Measurement error of the magnitude
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'h14grg.dat' ! Photom. of HATS-14 on 2013/06/12 (GROND g)
integer*4 nr__11
parameter (nr__11=113) ! Number of records
character*31 ar__11 ! Full-size record
real*8 BJD_11 ! (d) Barycentric JD for the midpoint of observation
* (TDB, BJD-2400000)
real*8 mag_10 ! (mag) Differential magnitude of the target
real*8 e_mag_10 ! (mag) Measurement error of the magnitude
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'h14gri.dat' ! Photom. of HATS-14 on 2013/06/12 (GROND r)
integer*4 nr__12
parameter (nr__12=114) ! Number of records
character*31 ar__12 ! Full-size record
real*8 BJD_12 ! (d) Barycentric JD for the midpoint of observation
* (TDB, BJD-2400000)
real*8 mag_11 ! (mag) Differential magnitude of the target
real*8 e_mag_11 ! (mag) Measurement error of the magnitude
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'h14grr.dat' ! Photom. of HATS-14 on 2013/06/12 (GROND i)
integer*4 nr__13
parameter (nr__13=114) ! Number of records
character*31 ar__13 ! Full-size record
real*8 BJD_13 ! (d) Barycentric JD for the midpoint of observation
* (TDB, BJD-2400000)
real*8 mag_12 ! (mag) Differential magnitude of the target
real*8 e_mag_12 ! (mag) Measurement error of the magnitude
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'h14grz.dat' ! Photom. of HATS-14 on 2013/06/12 (GROND z)
integer*4 nr__14
parameter (nr__14=112) ! Number of records
character*31 ar__14 ! Full-size record
real*8 BJD_14 ! (d) Barycentric JD for the midpoint of observation
* (TDB, BJD-2400000)
real*8 mag_13 ! (mag) Differential magnitude of the target
real*8 e_mag_13 ! (mag) Measurement error of the magnitude
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'h14rv.dat' ! RV measurements of HATS-14
integer*4 nr__15
parameter (nr__15=17) ! Number of records
character*58 ar__15 ! Full-size record
real*8 BJD_15 ! (d) Barycentric JD for the midpoint of observation
* (TDB)
real*8 RV_1 ! (m/s) ?=- Radial Velocity (RV) of the target
real*4 e_RV_1 ! (m/s) ?=- Measurement error of RV
real*8 BS_1 ! (m/s) ?=- Bisector Span (BS)
real*4 e_BS_1 ! (m/s) ?=- Measurement error of BS
real*8 Phase_1 ! Phase
character*7 Inst_1 ! Instrument
C=============================================================================
C Loading file 'h13hs.dat' ! Photom. of HATS-13 from the HATSouth survey
C Format for file interpretation
1 format(F11.5,2X,F8.5,3X,F7.5)
C Effective file loading
open(unit=1,status='old',file=
+'h13hs.dat')
write(6,*) '....Loading file: h13hs.dat'
do i__=1,11407
read(1,'(A31)')ar__
read(ar__,1)BJD,mag,e_mag
c ..............Just test output...........
write(6,1)BJD,mag,e_mag
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'h13ctio.dat' ! Photom. of HATS-13 on 2012/08/26 (CTIO 90cm z)
C Format for file interpretation
2 format(F11.5,2X,F8.5,3X,F7.5)
C Effective file loading
open(unit=1,status='old',file=
+'h13ctio.dat')
write(6,*) '....Loading file: h13ctio.dat'
do i__=1,68
read(1,'(A31)')ar__1
read(ar__1,2)BJD_1,mag_1,e_mag_1
c ..............Just test output...........
write(6,2)BJD_1,mag_1,e_mag_1
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'h13grg.dat' ! Photom. of HATS-13 on 2012/10/17 (GROND g)
C Format for file interpretation
3 format(F11.5,2X,F8.5,3X,F7.5)
C Effective file loading
open(unit=1,status='old',file=
+'h13grg.dat')
write(6,*) '....Loading file: h13grg.dat'
do i__=1,82
read(1,'(A31)')ar__2
read(ar__2,3)BJD_2,mag_2,e_mag_2
c ..............Just test output...........
write(6,3)BJD_2,mag_2,e_mag_2
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'h13grr.dat' ! Photom. of HATS-13 on 2012/10/17 (GROND r)
C Format for file interpretation
4 format(F11.5,2X,F8.5,3X,F7.5)
C Effective file loading
open(unit=1,status='old',file=
+'h13grr.dat')
write(6,*) '....Loading file: h13grr.dat'
do i__=1,82
read(1,'(A31)')ar__3
read(ar__3,4)BJD_3,mag_3,e_mag_3
c ..............Just test output...........
write(6,4)BJD_3,mag_3,e_mag_3
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'h13gri.dat' ! Photom. of HATS-13 on 2012/10/17 (GROND i)
C Format for file interpretation
5 format(F11.5,2X,F8.5,3X,F7.5)
C Effective file loading
open(unit=1,status='old',file=
+'h13gri.dat')
write(6,*) '....Loading file: h13gri.dat'
do i__=1,83
read(1,'(A31)')ar__4
read(ar__4,5)BJD_4,mag_4,e_mag_4
c ..............Just test output...........
write(6,5)BJD_4,mag_4,e_mag_4
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'h13grz.dat' ! Photom. of HATS-13 on 2012/10/17 (GROND z)
C Format for file interpretation
6 format(F11.5,2X,F8.5,3X,F7.5)
C Effective file loading
open(unit=1,status='old',file=
+'h13grz.dat')
write(6,*) '....Loading file: h13grz.dat'
do i__=1,82
read(1,'(A31)')ar__5
read(ar__5,6)BJD_5,mag_5,e_mag_5
c ..............Just test output...........
write(6,6)BJD_5,mag_5,e_mag_5
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'h13p1.dat' ! Photom. of HATS-13 on 2013/05/03 (PEST 30cm R)
C Format for file interpretation
7 format(F11.5,2X,F8.5,3X,F7.5)
C Effective file loading
open(unit=1,status='old',file=
+'h13p1.dat')
write(6,*) '....Loading file: h13p1.dat'
do i__=1,99
read(1,'(A31)')ar__6
read(ar__6,7)BJD_6,mag_6,e_mag_6
c ..............Just test output...........
write(6,7)BJD_6,mag_6,e_mag_6
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'h13p2.dat' ! Photom. of HATS-13 on 2013/06/30 (PEST 30cm R)
C Format for file interpretation
8 format(F11.5,2X,F8.5,3X,F7.5)
C Effective file loading
open(unit=1,status='old',file=
+'h13p2.dat')
write(6,*) '....Loading file: h13p2.dat'
do i__=1,189
read(1,'(A31)')ar__7
read(ar__7,8)BJD_7,mag_7,e_mag_7
c ..............Just test output...........
write(6,8)BJD_7,mag_7,e_mag_7
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'h13rv.dat' ! RV measurements of HATS-13
C Format for file interpretation
9 format(F13.5,1X,F7.2,1X,F5.2,1X,F7.2,1X,F5.2,1X,F8.6,1X,A7)
C Effective file loading
open(unit=1,status='old',file=
+'h13rv.dat')
write(6,*) '....Loading file: h13rv.dat'
do i__=1,57
read(1,'(A58)')ar__8
read(ar__8,9)BJD_8,RV,e_RV,BS,e_BS,Phase,Inst
if (idig(ar__8(15:21)).EQ.0) RV = rNULL__
if (idig(ar__8(23:27)).EQ.0) e_RV = rNULL__
if (idig(ar__8(29:35)).EQ.0) BS = rNULL__
if (idig(ar__8(37:41)).EQ.0) e_BS = rNULL__
c ..............Just test output...........
write(6,9)BJD_8,RV,e_RV,BS,e_BS,Phase,Inst
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'h14hs.dat' ! Photom. of HATS-14 from the HATSouth survey
C Format for file interpretation
10 format(F11.5,2X,F8.5,3X,F7.5)
C Effective file loading
open(unit=1,status='old',file=
+'h14hs.dat')
write(6,*) '....Loading file: h14hs.dat'
do i__=1,13955
read(1,'(A31)')ar__9
read(ar__9,10)BJD_9,mag_8,e_mag_8
c ..............Just test output...........
write(6,10)BJD_9,mag_8,e_mag_8
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'h14p.dat' ! Photom. of HATS-14 on 2013/06/06 (PEST 30cm R)
C Format for file interpretation
11 format(F11.5,2X,F8.5,3X,F7.5)
C Effective file loading
open(unit=1,status='old',file=
+'h14p.dat')
write(6,*) '....Loading file: h14p.dat'
do i__=1,131
read(1,'(A31)')ar__10
read(ar__10,11)BJD_10,mag_9,e_mag_9
c ..............Just test output...........
write(6,11)BJD_10,mag_9,e_mag_9
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'h14grg.dat' ! Photom. of HATS-14 on 2013/06/12 (GROND g)
C Format for file interpretation
12 format(F11.5,2X,F8.5,3X,F7.5)
C Effective file loading
open(unit=1,status='old',file=
+'h14grg.dat')
write(6,*) '....Loading file: h14grg.dat'
do i__=1,113
read(1,'(A31)')ar__11
read(ar__11,12)BJD_11,mag_10,e_mag_10
c ..............Just test output...........
write(6,12)BJD_11,mag_10,e_mag_10
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'h14gri.dat' ! Photom. of HATS-14 on 2013/06/12 (GROND r)
C Format for file interpretation
13 format(F11.5,2X,F8.5,3X,F7.5)
C Effective file loading
open(unit=1,status='old',file=
+'h14gri.dat')
write(6,*) '....Loading file: h14gri.dat'
do i__=1,114
read(1,'(A31)')ar__12
read(ar__12,13)BJD_12,mag_11,e_mag_11
c ..............Just test output...........
write(6,13)BJD_12,mag_11,e_mag_11
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'h14grr.dat' ! Photom. of HATS-14 on 2013/06/12 (GROND i)
C Format for file interpretation
14 format(F11.5,2X,F8.5,3X,F7.5)
C Effective file loading
open(unit=1,status='old',file=
+'h14grr.dat')
write(6,*) '....Loading file: h14grr.dat'
do i__=1,114
read(1,'(A31)')ar__13
read(ar__13,14)BJD_13,mag_12,e_mag_12
c ..............Just test output...........
write(6,14)BJD_13,mag_12,e_mag_12
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'h14grz.dat' ! Photom. of HATS-14 on 2013/06/12 (GROND z)
C Format for file interpretation
15 format(F11.5,2X,F8.5,3X,F7.5)
C Effective file loading
open(unit=1,status='old',file=
+'h14grz.dat')
write(6,*) '....Loading file: h14grz.dat'
do i__=1,112
read(1,'(A31)')ar__14
read(ar__14,15)BJD_14,mag_13,e_mag_13
c ..............Just test output...........
write(6,15)BJD_14,mag_13,e_mag_13
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'h14rv.dat' ! RV measurements of HATS-14
C Format for file interpretation
16 format(F13.5,1X,F7.2,1X,F5.2,1X,F7.2,1X,F5.2,1X,F8.6,1X,A7)
C Effective file loading
open(unit=1,status='old',file=
+'h14rv.dat')
write(6,*) '....Loading file: h14rv.dat'
do i__=1,17
read(1,'(A58)')ar__15
read(ar__15,16)BJD_15,RV_1,e_RV_1,BS_1,e_BS_1,Phase_1,Inst_1
if (idig(ar__15(15:21)).EQ.0) RV_1 = rNULL__
if (idig(ar__15(23:27)).EQ.0) e_RV_1 = rNULL__
if (idig(ar__15(29:35)).EQ.0) BS_1 = rNULL__
if (idig(ar__15(37:41)).EQ.0) e_BS_1 = rNULL__
c ..............Just test output...........
write(6,16)BJD_15,RV_1,e_RV_1,BS_1,e_BS_1,Phase_1,Inst_1
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end
C Locate position of first digit in string; or return 0
integer function idig(c)
character*(*) c
character*1 c1
integer lc,i
lc=len(c)
idig=0
do i=1,lc
if(c(i:i).ne.' ') go to 1
end do
1 if(i.gt.lc) return
c1=c(i:i)
if(c1.eq.'.'.or.c1.eq.'-'.or.c1.eq.'+') i=i+1
if(i.gt.lc) return
c1=c(i:i)
if(c1.ge.'0'.and.c1.le.'9') idig=i
return
end