Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/573/A103 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.
++++Column 'RAh' at line 106: Right ascension (J2000.0) (2) position has no associated Epoch (last analysed word: 'the') program load_ReadMe C============================================================================= C F77-compliant program generated by readme2f_1.81 (2015-09-23), on 2024-Apr-17 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/573/A103 Light curves for variables in 5 clusters (Skottfelt+, 2015) *================================================================================ *Searching for variable stars in the cores of five metal rich globular *clusters using EMCCD observations. * Skottfelt J., Bramich D.M., Figuera Jaimes R., Jorgensen U.G., Kains N., * Arrellano Ferro A., Alsubai K.A., Bozza V., Calchi Novati S., Ciceri S., * D'Ago G., Dominik M., Galianni P., Gu S.H., Harpsoe K.B.W., Haugboelle T., * Hinse T.C., Hundertmark M., Juncher D., Korhonen H., Liebig C., Mancini L., * Popovas A., Rabus M., Rahvar S., Scarpetta G., Schmidt R.W., Southworth J., * Snodgrass C., Starkey D., Street R.A., Surdej J., Wang X.-B., Wertz O. * (The MiNDSTEp consortium) * <Astron. Astrophys. 573, A103 (2015)> * =2015A&A...573A.103S C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Coordinates and physical parameters of the clusters integer*4 nr__ parameter (nr__=5) ! Number of records character*59 ar__ ! Full-size record C J2000.0 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg ! (deg) Right Ascension J2000.0 real*8 DEdeg ! (deg) Declination J2000.0 C ---------------------------------- ! (position vector(s) in degrees) integer*4 NGC ! Cluster NGC number integer*4 RAh ! (h) Right ascension (J2000.0) integer*4 RAm ! (min) Right ascension (J2000.0) real*4 RAs ! (s) Right ascension (J2000.0) character*1 DE_ ! Declination sign (J2000.0) integer*4 DEd ! (deg) Declination (J2000.0) integer*4 DEm ! (arcmin) Declination (J2000.0) real*4 DEs ! (arcsec) Declination (J2000.0) real*4 v_Fe_H_ ! ([Sun]) [-1/-0.1] Metallicity of the cluster (1) real*4 e__Fe_H_ ! ([Sun]) rms uncertainty on [Fe/H] real*4 c ! ([-]) [1.3/1.8] Central concentration (2) real*8 Epoch ! (d) Epoch of the reference image (JD) *Note (1): from Roediger et al., 2014ApJS..210...10R. *Note (2): Central concentration c=log10(rt/rc), where rt and rc are the tidal * and core radii, respectively (from Harris 1996AJ....112.1487H, * Cat. VII/195, (2010 edition)). c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'stars.dat' ! Details of the variables in our field of view (tables 4-11 of the paper) integer*4 nr__1 parameter (nr__1=172) ! Number of records character*112 ar__1 ! Full-size record C J2000.0 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg_1 ! (deg) Right Ascension J2000.0 real*8 DEdeg_1 ! (deg) Declination J2000.0 C ---------------------------------- ! (position vector(s) in degrees) integer*4 NGC_1 ! Cluster NGC number character*4 VName ! Variable name, VNNN character*1 n_VName ! [b-e] Alternative variable number (1) integer*4 RAh_1 ! (h) Right ascension (J2000.0) (2) integer*4 RAm_1 ! (min) Right ascension (J2000.0) (2) real*4 RAs_1 ! (s) Right ascension (J2000.0) (2) character*1 DE__1 ! Declination sign (J2000.0) (2) integer*4 DEd_1 ! (deg) Declination (J2000.0) (2) integer*4 DEm_1 ! (arcmin) Declination (J2000.0) (2) real*4 DEs_1 ! (arcsec) Declination (J2000.0) (2) real*8 Epoch_1 ! (d) ?=- Epoch of maximum light (HJD-2450000) real*8 Per ! (d) [0.1/250]?=- Period (2) character*1 n_Per ! [h] Per is not the fundamental period (1) real*4 v_Imag_ ! (mag) [11.7/19.6]?=- Mean I magnitude real*4 Amp ! (mag) ?=- Amplitude found in our special * i'+z' filter (3) character*3 Bl ! [i -] Blend (4) character*12 Class ! Variability classification character*1 n_Per1 ! [g] Period from 2002 paper (1) real*8 Per1 ! (d) ? Period from Pritzl et al. * (2003AJ....126.1381P) character*1 l_Per2 ! [~] Limit flag on Per2 real*4 Per2 ! (d) ? Period from Corwin et al. * (2006AJ....132.1014C) character*1 n_Per2 ! [af] unusual period (1) *Note (1): Notes as follows: * a = Period from Pritzl et al. (2002AJ....124..949P) * b = Denoted SV1 in Corwin et al. (2006AJ....132.1014C), Cl* NGC 6441 CSP V1 * c = Denoted SV2 in Corwin et al. (2006AJ....132.1014C), Cl* NGC 6441 CSP V2 * d = Denoted SV4 in Corwin et al. (2006AJ....132.1014C), Cl* NGC 6441 CSP V4 * e = Denoted SV5 in Corwin et al. (2006AJ....132.1014C), Cl* NGC 6441 CSP V5 * f = These stars have shorter periods than expected for stars of the SR class, * but it is not clear how to otherwise classify them according to the GCVS * schema given their position on the RGB. * g = Period from Pritzl et al. (2001AJ....122.2600P) * h = First-overtone period; fundamental period is found to be 0.72082d. *Note (2): The celestial coordinates correspond to the epoch of the reference * image, which is given in table1. *Note (3): The filter i'+z' represents the EMCCD imager passband which * roughly corresponds to the combination of the SDSS i' and z' filters. *Note (4): The blend column describes whether the star is blended with * i = brighter star(s), * ii = star(s) of similar magnitude, or * iii = fainter/no star(s). c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'photom.dat' ! Electron Multiplying CCD (EMCCD) time-series i+z photometry for all confirmed variable stars integer*4 nr__2 parameter (nr__2=4958) ! Number of records character*98 ar__2 ! Full-size record integer*4 NGC_2 ! Cluster NGC number character*4 VName_1 ! Variable name, VNNN character*1 Filter ! [I] Observation filter real*8 HJD ! (d) Heliocentric Julian date of observation real*4 mag_s ! (mag) ?=0 Standard magnitude real*4 mag_i ! (mag) ?=0 Instrumental magnitude (1) real*4 e_mag_i ! (mag) ?=0 Error on the magnitude real*8 Fref ! (1/s) Reference flux (in ADU/s) (1) real*8 e_Fref ! (1/s) Error on the reference flux (in ADU/s) real*8 DFlux ! (1/s) Differential flux (in ADU/s) real*8 e_DFlux ! (1/s) Error on the differential flux (in ADU/s) real*4 p ! Photometric scale factor (1) *Note (1): Instrumental magnitudes are related to the other quantities via * mag.i=17.5-2.5*log10(Fref+DFlux/p). C============================================================================= C Loading file 'table1.dat' ! Coordinates and physical parameters of the clusters C Format for file interpretation 1 format( + 3X,I4,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,F5.2,1X, + F4.2,1X,F4.2,2X,F10.2) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,5 read(1,'(A59)')ar__ read(ar__,1) + NGC,RAh,RAm,RAs,DE_,DEd,DEm,DEs,v_Fe_H_,e__Fe_H_,c,Epoch 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) + NGC,RAh,RAm,RAs,DE_,DEd,DEm,DEs,v_Fe_H_,e__Fe_H_,c,Epoch write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'stars.dat' ! Details of the variables in our field of view * (tables 4-11 of the paper) C Format for file interpretation 2 format( + 3X,I4,1X,A4,A1,1X,I2,1X,I2,1X,F6.3,1X,A1,I2,1X,I2,1X,F5.2,1X, + F9.4,1X,F10.6,A1,1X,F5.2,1X,F4.2,1X,A3,1X,A12,1X,A1,1X,F9.5, + 3X,A1,F6.3,A1) C Effective file loading open(unit=1,status='old',file= +'stars.dat') write(6,*) '....Loading file: stars.dat' do i__=1,172 read(1,'(A112)')ar__1 read(ar__1,2) + NGC_1,VName,n_VName,RAh_1,RAm_1,RAs_1,DE__1,DEd_1,DEm_1,DEs_1, + Epoch_1,Per,n_Per,v_Imag_,Amp,Bl,Class,n_Per1,Per1,l_Per2, + Per2,n_Per2 if (idig(ar__1(41:49)).EQ.0) Epoch_1 = rNULL__ if (idig(ar__1(51:60)).EQ.0) Per = rNULL__ if (idig(ar__1(63:67)).EQ.0) v_Imag_ = rNULL__ if (idig(ar__1(69:72)).EQ.0) Amp = rNULL__ if(ar__1(93:101) .EQ. '') Per1 = rNULL__ if(ar__1(106:111) .EQ. '') Per2 = rNULL__ RAdeg_1 = rNULL__ DEdeg_1 = rNULL__ c Derive coordinates RAdeg_1 and DEdeg_1 from input data c (RAdeg_1 and DEdeg_1 are set to rNULL__ when unknown) if(RAh_1 .GT. -180) RAdeg_1=RAh_1*15. if(RAm_1 .GT. -180) RAdeg_1=RAdeg_1+RAm_1/4. if(RAs_1 .GT. -180) RAdeg_1=RAdeg_1+RAs_1/240. if(DEd_1 .GE. 0) DEdeg_1=DEd_1 if(DEm_1 .GE. 0) DEdeg_1=DEdeg_1+DEm_1/60. if(DEs_1 .GE. 0) DEdeg_1=DEdeg_1+DEs_1/3600. if(DE__1.EQ.'-'.AND.DEdeg_1.GE.0) DEdeg_1=-DEdeg_1 c ..............Just test output........... write(6,2) + NGC_1,VName,n_VName,RAh_1,RAm_1,RAs_1,DE__1,DEd_1,DEm_1,DEs_1, + Epoch_1,Per,n_Per,v_Imag_,Amp,Bl,Class,n_Per1,Per1,l_Per2, + Per2,n_Per2 write(6,'(6H Pos: 2F8.4)') RAdeg_1,DEdeg_1 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'photom.dat' ! Electron Multiplying CCD (EMCCD) time-series i+z * photometry for all confirmed variable stars C Format for file interpretation 3 format( + 3X,I4,1X,A4,1X,A1,1X,F13.5,1X,F6.3,1X,F6.3,1X,F5.3,1X,F11.3, + 1X,F8.3,1X,F12.3,1X,F8.3,1X,F6.4) C Effective file loading open(unit=1,status='old',file= +'photom.dat') write(6,*) '....Loading file: photom.dat' do i__=1,4958 read(1,'(A98)')ar__2 read(ar__2,3) + NGC_2,VName_1,Filter,HJD,mag_s,mag_i,e_mag_i,Fref,e_Fref, + DFlux,e_DFlux,p c ..............Just test output........... write(6,3) + NGC_2,VName_1,Filter,HJD,mag_s,mag_i,e_mag_i,Fref,e_Fref, + DFlux,e_DFlux,p 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