Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/712/585 into FORTRAN code for loading all data files into arrays.
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-20 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/712/585 Apparent velocity measurements of DA WDs (Falcon+, 2010) *================================================================================ *A gravitational redshift determination of the mean mass of white dwarfs. DA *stars. * Falcon R.E., Winget D.E., Montgomery M.H., Williams K.A. * <Astrophys. J., 712, 585-595 (2010)> * =2010ApJ...712..585F C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Apparent velocity measurements for normal DA WDs integer*4 nr__ parameter (nr__=847) ! Number of records character*98 ar__ ! Full-size record character*13 Name (nr__) ! Target name real*8 Adp_V (nr__) ! (km/s) Adopted apparent velocity (1) real*4 e_Adp_V (nr__) ! (km/s) The 1{sigma} error in Adp-V character*10 Obs_date (nr__) ! ("YYYY/MM/DD") UT date of the observation character*8 Obs_time (nr__) ! ("h:m:s") UT time of the observation real*8 LSR_V (nr__) ! (km/s) Apparent velocity in the LSR (1) real*8 Ha_V (nr__) ! (km/s) H{alpha} apparent velocity (1) real*4 e_Ha_V (nr__) ! (km/s) The 1{sigma} error in Ha-V real*8 Hb_V (nr__) ! (km/s) ? H{beta} apparent velocity (1) real*4 e_Hb_V (nr__) ! (km/s) ? The 1{sigma} error in Hb-V real*8 Obs_V (nr__) ! (km/s) Apparent velocity for observation (1) real*4 e_Obs_V (nr__) ! (km/s) The 1{sigma} error in Obs-V *Note (1): the apparent velocity is the sum of the radial velocity * (Doppler redshift) and the gravitational redshift, which have * comparable values. LSR is the local standard of rest, and it * is assumed that the mean LSR velocity over each population * averaged out -- the mean apparent velocity then equals the mean * gravitational redshift. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table5.dat' ! Apparent velocity measurements for thick disk DAs integer*4 nr__1 parameter (nr__1=47) ! Number of records character*98 ar__1 ! Full-size record character*13 Name_1 (nr__1) ! Target name real*8 Adp_V_1 (nr__1) ! (km/s) Adopted apparent velocity (1) real*4 e_Adp_V_1 (nr__1) ! (km/s) The 1{sigma} error in Adp-V character*10 Obs_date_1 (nr__1) ! ("YYYY/MM/DD") UT date of the observation character*8 Obs_time_1 (nr__1) ! ("h:m:s") UT time of the observation real*8 LSR_V_1 (nr__1) ! (km/s) Apparent velocity in the LSR (1) real*8 Ha_V_1 (nr__1) ! (km/s) H{alpha} apparent velocity (1) real*4 e_Ha_V_1 (nr__1) ! (km/s) The 1{sigma} error in Ha-V real*8 Hb_V_1 (nr__1) ! (km/s) ? H{beta} apparent velocity (1) real*4 e_Hb_V_1 (nr__1) ! (km/s) ? The 1{sigma} error in Hb-V real*8 Obs_V_1 (nr__1) ! (km/s) Apparent velocity for observation (1) real*4 e_Obs_V_1 (nr__1) ! (km/s) The 1{sigma} error in Obs-V *Note (1): the apparent velocity is the sum of the radial velocity * (Doppler redshift) and the gravitational redshift, which have * comparable values. LSR is the local standard of rest, and it * is assumed that the mean LSR velocity over each population * averaged out -- the mean apparent velocity then equals the mean * gravitational redshift. C============================================================================= C Loading file 'table1.dat' ! Apparent velocity measurements for normal DA WDs C Format for file interpretation 1 format( + A13,1X,F7.3,1X,F5.3,1X,A10,1X,A8,1X,F7.3,1X,F7.3,1X,F5.3,1X, + F7.3,1X,F5.3,1X,F7.3,1X,F6.3) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,847 read(1,'(A98)')ar__ read(ar__,1) + Name(i__),Adp_V(i__),e_Adp_V(i__),Obs_date(i__),Obs_time(i__), + LSR_V(i__),Ha_V(i__),e_Ha_V(i__),Hb_V(i__),e_Hb_V(i__), + Obs_V(i__),e_Obs_V(i__) if(ar__(71:77) .EQ. '') Hb_V(i__) = rNULL__ if(ar__(79:83) .EQ. '') e_Hb_V(i__) = rNULL__ c ..............Just test output........... write(6,1) + Name(i__),Adp_V(i__),e_Adp_V(i__),Obs_date(i__),Obs_time(i__), + LSR_V(i__),Ha_V(i__),e_Ha_V(i__),Hb_V(i__),e_Hb_V(i__), + Obs_V(i__),e_Obs_V(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table5.dat' ! Apparent velocity measurements for thick disk DAs C Format for file interpretation 2 format( + A13,1X,F7.3,1X,F5.3,1X,A10,1X,A8,1X,F7.3,1X,F7.3,1X,F5.3,1X, + F7.3,1X,F5.3,1X,F7.3,1X,F6.3) C Effective file loading open(unit=1,status='old',file= +'table5.dat') write(6,*) '....Loading file: table5.dat' do i__=1,47 read(1,'(A98)')ar__1 read(ar__1,2) + Name_1(i__),Adp_V_1(i__),e_Adp_V_1(i__),Obs_date_1(i__), + Obs_time_1(i__),LSR_V_1(i__),Ha_V_1(i__),e_Ha_V_1(i__), + Hb_V_1(i__),e_Hb_V_1(i__),Obs_V_1(i__),e_Obs_V_1(i__) if(ar__1(71:77) .EQ. '') Hb_V_1(i__) = rNULL__ if(ar__1(79:83) .EQ. '') e_Hb_V_1(i__) = rNULL__ c ..............Just test output........... write(6,2) + Name_1(i__),Adp_V_1(i__),e_Adp_V_1(i__),Obs_date_1(i__), + Obs_time_1(i__),LSR_V_1(i__),Ha_V_1(i__),e_Ha_V_1(i__), + Hb_V_1(i__),e_Hb_V_1(i__),Obs_V_1(i__),e_Obs_V_1(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end