Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/597/A129 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 2024-Apr-18 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/597/A129 Galactic RV Tauri stars velocities (Manick+, 2017) *================================================================================ *Establishing binarity amongst Galactic RV Tauri stars with a disc. * Manick R., Van Winckel H., Kamath D., Hillen M., Escorza A. * <Astron. Astrophys. 597, A129 (2017)> * =2017A&A...597A.129M (SIMBAD/NED BibCode) C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'stars.dat' ! List of studied stars integer*4 nr__ parameter (nr__=6) ! Number of records character*50 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*15 Name ! Star name integer*4 RAh ! (h) Simbad Rigth ascension (J2000) integer*4 RAm ! (min) Simbad Rigth ascension (J2000) real*4 RAs ! (s) Simbad Rigth ascension (J2000) character*1 DE_ ! Simbad Declination sign (J2000) integer*4 DEd ! (deg) Simbad Declination (J2000) integer*4 DEm ! (arcmin) Simbad Declination (J2000) real*4 DEs ! (arcsec) Simbad Declination (J2000) character*10 FileName ! Name of the file with velocities c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'dy_ori.dat' ! Original and cleaned RVs for DY ori integer*4 nr__1 parameter (nr__1=71) ! Number of records character*31 ar__1 ! Full-size record real*8 JD ! (d) Julian date real*8 RV ! (km/s) Original radial velocities real*8 RVc ! (km/s) Pulsation-cleaned radial velocities real*4 e_RV ! (km/s) Error in the pulsation cleaned RV assumed * to be same as the original RV c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'ep_lyr.dat' ! Original and cleaned RVs for EP Lyr integer*4 nr__2 parameter (nr__2=58) ! Number of records character*31 ar__2 ! Full-size record real*8 JD_1 ! (d) Julian date real*8 RV_1 ! (km/s) Original radial velocities real*8 RVc_1 ! (km/s) Pulsation-cleaned radial velocities real*4 e_RV_1 ! (km/s) Error in the pulsation cleaned RV assumed * to be same as the original RV c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'hp_lyr.dat' ! Original and cleaned RVs for HP Lyr integer*4 nr__3 parameter (nr__3=50) ! Number of records character*31 ar__3 ! Full-size record real*8 JD_2 ! (d) Julian date real*8 RV_2 ! (km/s) Original radial velocities real*8 RVc_2 ! (km/s) Pulsation-cleaned radial velocities real*4 e_RV_2 ! (km/s) Error in the pulsation cleaned RV assumed * to be same as the original RV c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'i09144.dat' ! Original and cleaned RVs for IRAS 09144 integer*4 nr__4 parameter (nr__4=74) ! Number of records character*31 ar__4 ! Full-size record real*8 JD_3 ! (d) Julian date real*8 RV_3 ! (km/s) Original radial velocities real*8 RVc_3 ! (km/s) Pulsation-cleaned radial velocities real*4 e_RV_3 ! (km/s) Error in the pulsation cleaned RV assumed * to be same as the original RV c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'i17038.dat' ! Original and cleaned RVs for IRAS 17038 integer*4 nr__5 parameter (nr__5=75) ! Number of records character*31 ar__5 ! Full-size record real*8 JD_4 ! (d) Julian date real*8 RV_4 ! (km/s) Original radial velocities real*8 RVc_4 ! (km/s) Pulsation-cleaned radial velocities real*4 e_RV_4 ! (km/s) Error in the pulsation cleaned RV assumed * to be same as the original RV c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'tw_cam.dat' ! Original and cleaned RVs for TW Cam integer*4 nr__6 parameter (nr__6=87) ! Number of records character*31 ar__6 ! Full-size record real*8 JD_5 ! (d) Julian date real*8 RV_5 ! (km/s) Original radial velocities real*8 RVc_5 ! (km/s) Pulsation-cleaned radial velocities real*4 e_RV_5 ! (km/s) Error in the pulsation cleaned RV assumed * to be same as the original RV C============================================================================= C Loading file 'stars.dat' ! List of studied stars C Format for file interpretation 1 format(A15,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,A10) C Effective file loading open(unit=1,status='old',file= +'stars.dat') write(6,*) '....Loading file: stars.dat' do i__=1,6 read(1,'(A50)')ar__ read(ar__,1)Name,RAh,RAm,RAs,DE_,DEd,DEm,DEs,FileName 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)Name,RAh,RAm,RAs,DE_,DEd,DEm,DEs,FileName write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'dy_ori.dat' ! Original and cleaned RVs for DY ori C Format for file interpretation 2 format(F10.2,1X,F7.2,1X,F7.2,1X,F4.2) C Effective file loading open(unit=1,status='old',file= +'dy_ori.dat') write(6,*) '....Loading file: dy_ori.dat' do i__=1,71 read(1,'(A31)')ar__1 read(ar__1,2)JD,RV,RVc,e_RV c ..............Just test output........... write(6,2)JD,RV,RVc,e_RV c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'ep_lyr.dat' ! Original and cleaned RVs for EP Lyr C Format for file interpretation 3 format(F10.2,1X,F7.2,1X,F7.2,1X,F4.2) C Effective file loading open(unit=1,status='old',file= +'ep_lyr.dat') write(6,*) '....Loading file: ep_lyr.dat' do i__=1,58 read(1,'(A31)')ar__2 read(ar__2,3)JD_1,RV_1,RVc_1,e_RV_1 c ..............Just test output........... write(6,3)JD_1,RV_1,RVc_1,e_RV_1 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'hp_lyr.dat' ! Original and cleaned RVs for HP Lyr C Format for file interpretation 4 format(F10.2,1X,F7.2,1X,F7.2,1X,F4.2) C Effective file loading open(unit=1,status='old',file= +'hp_lyr.dat') write(6,*) '....Loading file: hp_lyr.dat' do i__=1,50 read(1,'(A31)')ar__3 read(ar__3,4)JD_2,RV_2,RVc_2,e_RV_2 c ..............Just test output........... write(6,4)JD_2,RV_2,RVc_2,e_RV_2 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'i09144.dat' ! Original and cleaned RVs for IRAS 09144 C Format for file interpretation 5 format(F10.2,1X,F7.2,1X,F7.2,1X,F4.2) C Effective file loading open(unit=1,status='old',file= +'i09144.dat') write(6,*) '....Loading file: i09144.dat' do i__=1,74 read(1,'(A31)')ar__4 read(ar__4,5)JD_3,RV_3,RVc_3,e_RV_3 c ..............Just test output........... write(6,5)JD_3,RV_3,RVc_3,e_RV_3 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'i17038.dat' ! Original and cleaned RVs for IRAS 17038 C Format for file interpretation 6 format(F10.2,1X,F7.2,1X,F7.2,1X,F4.2) C Effective file loading open(unit=1,status='old',file= +'i17038.dat') write(6,*) '....Loading file: i17038.dat' do i__=1,75 read(1,'(A31)')ar__5 read(ar__5,6)JD_4,RV_4,RVc_4,e_RV_4 c ..............Just test output........... write(6,6)JD_4,RV_4,RVc_4,e_RV_4 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'tw_cam.dat' ! Original and cleaned RVs for TW Cam C Format for file interpretation 7 format(F10.2,1X,F7.2,1X,F7.2,1X,F4.2) C Effective file loading open(unit=1,status='old',file= +'tw_cam.dat') write(6,*) '....Loading file: tw_cam.dat' do i__=1,87 read(1,'(A31)')ar__6 read(ar__6,7)JD_5,RV_5,RVc_5,e_RV_5 c ..............Just test output........... write(6,7)JD_5,RV_5,RVc_5,e_RV_5 c .......End.of.Just test output........... end do close(1) C============================================================================= stop end