Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/864/57 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-May-14
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/ApJ/864/57 Abundances of field & GC RR Lyrae. I. NGC3201 (Magurno+, 2018)
*================================================================================
*Chemical compositions of field and globular cluster RR Lyrae stars.
*I. NGC 3201.
* Magurno D., Sneden C., Braga V.F., Bono G., Mateo M., Persson S.E.,
* Dall'Ora M., Marengo M., Monelli M., Neeley J.R.
* <Astrophys. J., 864, 57 (2018)>
* =2018ApJ...864...57M
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1.dat' ! Photometric parameters for the sample stars
in NGC 3201
integer*4 nr__
parameter (nr__=12) ! Number of records
character*93 ar__ ! Full-size record
C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs
real*8 RAdeg ! (deg) Right Ascension J2000
real*8 DEdeg ! (deg) Declination J2000
C ---------------------------------- ! (position vector(s) in degrees)
character*5 ID ! RRab star identifier
integer*4 RAh ! (h) Hour of right ascension (J2000)
integer*4 RAm ! (min) Minute of right ascension (J2000)
real*4 RAs ! (s) Second of right ascension (J2000)
character*1 DE_ ! Sign of declination (J2000)
integer*4 DEd ! (deg) Degree of declination (J2000)
integer*4 DEm ! (arcmin) Arcminute of declination (J2000)
real*4 DEs ! (arcsec) Arcsecond of declination (J2000)
real*8 Per ! (d) [0.5/0.7]? Period
real*8 HJD ! (d) [7079.7/7079.8] Heliocentric Julian Date;
* HJD-2450000
real*8 HJD0 ! (d) [4123/7961.2]? Heliocentric Julian
* Date; JD-2450000
real*4 Phase ! [0.09/0.9]? Phase
character*4 Type ! RR Lyrae type (always "RRab")
character*1 f_Type ! b = Blazhko
real*4 Vmag ! (mag) [13.8/15] Mean V-band magnitude
real*4 Vamp ! (mag) [0.4/1.3]? V-band amplitude
character*7 Ref ! Reference(s) (1)
*Note (1): References as follows:
* N = J. R. Neeley et al. (2018, in preparation),
* L03 = Layden & Sarajedini (2003AJ....125..208L),
* ASN = ASAS-SN (Shappee+ 2014, J/ApJ/788/48 & Jayasinghe+ 2018MNRAS.477.3145J).
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! Instantaneous radial velocity, systemic velocity
from template, and estimated stellar parameters
integer*4 nr__1
parameter (nr__1=12) ! Number of records
character*55 ar__1 ! Full-size record
character*5 ID_1 ! RRab star identifier
real*4 RV ! (km/s) [463.5/520.5] Radial velocity
real*4 e_RV ! (km/s) [0.3/1.2] RV uncertainty
integer*4 Vgamma ! (km/s) [477/505] Integral average velocity
* along the pulsation cycle
integer*4 e_Vgamma ! (km/s) [8/8] V_{gamma}_ uncertainty
integer*4 Teff ! (K) [5600/7500] Effective temperature
integer*4 e_Teff ! (K) [100/300] Teff uncertainty
real*4 logg ! ([cm/s2]) [2.1/3.3] Log of surface gravity
real*4 e_logg ! ([cm/s2]) [0.1/0.4] logg uncertainty
real*4 Vt ! (km/s) [2.2/3.6] Microturbulence
real*4 e_Vt ! (km/s) [0.1/0.4] Vt uncertainty
real*4 v_M_H_ ! ([Sun]) [-1.8/-1.2] Metallicity
real*4 e__M_H_ ! ([Sun]) [0.1/0.1] [M/H] uncertainty
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table10.dat' ! Iron and alpha-elements abundances of
high-resolution field RRLs (138 stars)
integer*4 nr__2
parameter (nr__2=220) ! Number of records
character*47 ar__2 ! Full-size record
character*19 Name ! Star name
real*4 v_Fe_H_ ! ([Sun]) [-2.9/0.2] Iron abundance
real*4 v_Mg_Fe_ ! ([Sun]) [-0.05/0.9]? Magnesium over iron abundance
real*4 v_Ca_Fe_ ! ([Sun]) [-0.2/0.6]? Calcium over iron abundance
real*4 v_Ti_Fe_ ! ([Sun]) [-0.5/0.8]? Titanium over iron abundance
character*3 Ref_1 ! Reference paper (G1)
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table11.dat' ! Iron peak and s-process elements abundances of
high-resolution field RRLs (88 stars)
integer*4 nr__3
parameter (nr__3=120) ! Number of records
character*53 ar__3 ! Full-size record
character*19 Name_1 ! Star name
real*4 v_Sc_Fe_ ! ([Sun]) [-0.8/0.5]? Scandium over iron abundance
real*4 v_Cr_Fe_ ! ([Sun]) [-0.3/0.4]? Chromium over iron abundance
real*4 v_Ni_Fe_ ! ([Sun]) [-0.2/0.9]? Nickel over iron abundance
real*4 v_Zn_Fe_ ! ([Sun]) [-0.2/0.6]? Zinc over iron abundance
real*4 v_Y_Fe_ ! ([Sun]) [-0.8/0.5]? Yttrium over iron abundance
character*3 Ref_2 ! Reference paper (G1)
C=============================================================================
C Loading file 'table1.dat' ! Photometric parameters for the sample stars
* in NGC 3201
C Format for file interpretation
1 format(
+ A5,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,F10.8,1X,
+ F10.5,1X,F10.5,1X,F4.2,1X,A4,1X,A1,1X,F5.2,1X,F4.2,1X,A7)
C Effective file loading
open(unit=1,status='old',file=
+'table1.dat')
write(6,*) '....Loading file: table1.dat'
do i__=1,12
read(1,'(A93)')ar__
read(ar__,1)
+ ID,RAh,RAm,RAs,DE_,DEd,DEm,DEs,Per,HJD,HJD0,Phase,Type,f_Type,
+ Vmag,Vamp,Ref
if(ar__(31:40) .EQ. '') Per = rNULL__
if(ar__(53:62) .EQ. '') HJD0 = rNULL__
if(ar__(64:67) .EQ. '') Phase = rNULL__
if(ar__(82:85) .EQ. '') Vamp = rNULL__
RAdeg = rNULL__
DEdeg = rNULL__
c Derive coordinates RAdeg and DEdeg from input data
c (RAdeg and DEdeg are set to rNULL__ when unknown)
if(RAh .GT. -180) RAdeg=RAh*15.
if(RAm .GT. -180) RAdeg=RAdeg+RAm/4.
if(RAs .GT. -180) RAdeg=RAdeg+RAs/240.
if(DEd .GE. 0) DEdeg=DEd
if(DEm .GE. 0) DEdeg=DEdeg+DEm/60.
if(DEs .GE. 0) DEdeg=DEdeg+DEs/3600.
if(DE_.EQ.'-'.AND.DEdeg.GE.0) DEdeg=-DEdeg
c ..............Just test output...........
write(6,1)
+ ID,RAh,RAm,RAs,DE_,DEd,DEm,DEs,Per,HJD,HJD0,Phase,Type,f_Type,
+ Vmag,Vamp,Ref
write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table2.dat' ! Instantaneous radial velocity, systemic velocity
* from template, and estimated stellar parameters
C Format for file interpretation
2 format(
+ A5,1X,F5.1,1X,F3.1,1X,I3,1X,I1,1X,I4,1X,I3,1X,F3.1,1X,F3.1,1X,
+ F3.1,1X,F3.1,1X,F4.1,1X,F3.1)
C Effective file loading
open(unit=1,status='old',file=
+'table2.dat')
write(6,*) '....Loading file: table2.dat'
do i__=1,12
read(1,'(A55)')ar__1
read(ar__1,2)
+ ID_1,RV,e_RV,Vgamma,e_Vgamma,Teff,e_Teff,logg,e_logg,Vt,e_Vt,
+ v_M_H_,e__M_H_
c ..............Just test output...........
write(6,2)
+ ID_1,RV,e_RV,Vgamma,e_Vgamma,Teff,e_Teff,logg,e_logg,Vt,e_Vt,
+ v_M_H_,e__M_H_
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table10.dat' ! Iron and alpha-elements abundances of
* high-resolution field RRLs (138 stars)
C Format for file interpretation
3 format(A19,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,A3)
C Effective file loading
open(unit=1,status='old',file=
+'table10.dat')
write(6,*) '....Loading file: table10.dat'
do i__=1,220
read(1,'(A47)')ar__2
read(ar__2,3)Name,v_Fe_H_,v_Mg_Fe_,v_Ca_Fe_,v_Ti_Fe_,Ref_1
if(ar__2(27:31) .EQ. '') v_Mg_Fe_ = rNULL__
if(ar__2(33:37) .EQ. '') v_Ca_Fe_ = rNULL__
if(ar__2(39:43) .EQ. '') v_Ti_Fe_ = rNULL__
c ..............Just test output...........
write(6,3)Name,v_Fe_H_,v_Mg_Fe_,v_Ca_Fe_,v_Ti_Fe_,Ref_1
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table11.dat' ! Iron peak and s-process elements abundances of
* high-resolution field RRLs (88 stars)
C Format for file interpretation
4 format(A19,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,A3)
C Effective file loading
open(unit=1,status='old',file=
+'table11.dat')
write(6,*) '....Loading file: table11.dat'
do i__=1,120
read(1,'(A53)')ar__3
read(ar__3,4)
+ Name_1,v_Sc_Fe_,v_Cr_Fe_,v_Ni_Fe_,v_Zn_Fe_,v_Y_Fe_,Ref_2
if(ar__3(21:25) .EQ. '') v_Sc_Fe_ = rNULL__
if(ar__3(27:31) .EQ. '') v_Cr_Fe_ = rNULL__
if(ar__3(33:37) .EQ. '') v_Ni_Fe_ = rNULL__
if(ar__3(39:43) .EQ. '') v_Zn_Fe_ = rNULL__
if(ar__3(45:49) .EQ. '') v_Y_Fe_ = rNULL__
c ..............Just test output...........
write(6,4)
+ Name_1,v_Sc_Fe_,v_Cr_Fe_,v_Ni_Fe_,v_Zn_Fe_,v_Y_Fe_,Ref_2
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end