Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/412/707 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/412/707 Absorption-line systems in QSO spectra - CoALS (Ryabinkov+, 2003) *================================================================================ *A Catalogue of absorption-line systems in QSO spectra -- CoALSs. * Ryabinkov A.I., Kaminker A.D., Varshalovich D.A. * <Astron. Astrophys. 412, 707 (2003)> * =2003A&A...412..707R C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! *Quasars integer*4 nr__ parameter (nr__=824) ! Number of records character*102 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*11 QSO ! QSO's name (J2000) (1) integer*4 RAh ! (h) Right ascension (J2000) integer*4 RAm ! (min) Right ascension (J2000) real*4 RAs ! (s) Right ascension (J2000) character*1 DE_ ! Declination sign integer*4 DEd ! (deg) Declination (J2000) integer*4 DEm ! (arcmin) Declination (J2000) integer*4 DEs ! (arcsec) Declination (J2000) character*1 l_zem ! Limit flag on zem real*4 zem ! Emission-line redshift real*4 Vmag ! (mag) ? Apparent magnitude real*4 VMAG_1 ! (mag) ? Absolute magnitude integer*4 RABh ! (h) Right ascension (B1950) integer*4 RABm ! (min) Right ascension (B1950) real*4 RABs ! (s) Right ascension (B1950) character*1 DEB_ ! Declination sign integer*4 DEBd ! (deg) Declination (B1950) integer*4 DEBm ! (arcmin) Declination (B1950) integer*4 DEBs ! (arcsec) Declination (B1950) character*17 QSO_VV ! QSO's name given in the catalog of Veron-Cetty * & Veron (2001A&A...374...92V, Cat. <VII/224> * See Cat. <VII/235>) *Note (1): Identical to the name of the QSO in table2.txt c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2z.dat' ! Measured absorption system (data extracted from table2.txt) integer*4 nr__1 parameter (nr__1=16142) ! Number of records character*132 ar__1 ! Full-size record character*11 QSO_1 ! Quasar name real*8 zabs ! Absorption-system redshift character*7 Ion ! Ion's name identified (1) integer*4 lambdaLab ! (0.1nm) Laboratory wavelength (2) real*8 lambdaObs ! (0.1nm) ? Observed wavelength real*4 e_lambdaObs ! (0.1nm) ? Error of lambdaobs real*8 EWObs ! (0.1nm) ? Equivalent width real*4 e_EWObs ! (0.1nm) ? Error of EWobs real*4 logN ! ([cm-2]) ? Logarithm of column density of the ion real*4 e_logN ! ([cm-2]) ? rms uncertainty on logN character*50 Notes ! Lines associated (5) *Note (1): An * in front of the ion designation means "comments" *Note (2): Only for heavy-elements and HI lines *Note (5): The following symbols are used: * 'B' indicates that the line is blended by non-identified ion(s). * '?' denotes 'possible' and indicates an uncertainty of detection * or identification of the absorption line. * '+' following by a name of additional ion designates that the * absorption line may be identified also as a line of another ion * and may belong to another absorption system with another z_abs * indicated in brackets (..). * '*' designates comments. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'refs.dat' ! References integer*4 nr__2 parameter (nr__2=174) ! Number of records character*49 ar__2 ! Full-size record integer*4 Ref ! Reference code character*19 BibCode ! BibCode character*25 Aut ! Author's name C============================================================================= C Loading file 'table1.dat' ! *Quasars C Format for file interpretation 1 format( + A11,2X,I2,1X,I2,1X,F4.1,2X,A1,I2,1X,I2,1X,I2,2X,A1,F5.3,3X, + F5.2,3X,F5.1,3X,I2,1X,I2,1X,F4.1,2X,A1,I2,1X,I2,1X,I2,3X,A17) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,824 read(1,'(A102)')ar__ read(ar__,1) + QSO,RAh,RAm,RAs,DE_,DEd,DEm,DEs,l_zem,zem,Vmag,VMAG_1,RABh, + RABm,RABs,DEB_,DEBd,DEBm,DEBs,QSO_VV if(ar__(46:50) .EQ. '') Vmag = rNULL__ if(ar__(54:58) .EQ. '') VMAG_1 = 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) + QSO,RAh,RAm,RAs,DE_,DEd,DEm,DEs,l_zem,zem,Vmag,VMAG_1,RABh, + RABm,RABs,DEB_,DEBd,DEBm,DEBs,QSO_VV write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table2z.dat' ! Measured absorption system * (data extracted from table2.txt) C Format for file interpretation 2 format( + A11,1X,F7.5,1X,A7,1X,I4,3X,F8.3,3X,F5.3,F7.3,F6.3,1X,F6.3,1X, + F5.3,A50) C Effective file loading open(unit=1,status='old',file= +'table2z.dat') write(6,*) '....Loading file: table2z.dat' do i__=1,16142 read(1,'(A132)')ar__1 read(ar__1,2) + QSO_1,zabs,Ion,lambdaLab,lambdaObs,e_lambdaObs,EWObs,e_EWObs, + logN,e_logN,Notes if(ar__1(36:43) .EQ. '') lambdaObs = rNULL__ if(ar__1(47:51) .EQ. '') e_lambdaObs = rNULL__ if(ar__1(52:58) .EQ. '') EWObs = rNULL__ if(ar__1(59:64) .EQ. '') e_EWObs = rNULL__ if(ar__1(66:71) .EQ. '') logN = rNULL__ if(ar__1(73:77) .EQ. '') e_logN = rNULL__ c ..............Just test output........... write(6,2) + QSO_1,zabs,Ion,lambdaLab,lambdaObs,e_lambdaObs,EWObs,e_EWObs, + logN,e_logN,Notes c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'refs.dat' ! References C Format for file interpretation 3 format(I3,1X,A19,1X,A25) C Effective file loading open(unit=1,status='old',file= +'refs.dat') write(6,*) '....Loading file: refs.dat' do i__=1,174 read(1,'(A49)')ar__2 read(ar__2,3)Ref,BibCode,Aut c ..............Just test output........... write(6,3)Ref,BibCode,Aut c .......End.of.Just test output........... end do close(1) C============================================================================= stop end