Conversion of standardized ReadMe file for
file /./ftp/cats/III/175 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. III/175 Optical spectroscopy of radio sources (Stickel+, 1989-94) *================================================================================ *Optical spectroscopy of 1Jy, S4 and S5 radio source identifications * Stickel M., Kuehr H., Fried J.W. * <Astron. Astrophys. Suppl. Ser. 80, 103; 97, 483; 100, 395> * <Astron. Astrophys. Suppl. Ser. 101, 521; 103, 349 > * =1989A&AS...80..103S * =1993A&AS...97..483S * =1993A&AS..100..395S * =1993A&AS..101..521S * =1994A&AS..103..349S C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Observed radio source identifications integer*4 nr__ parameter (nr__=114) ! Number of records character*126 ar__ ! Full-size record C 1950 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg ! (deg) Right Ascension 1950 real*8 DEdeg ! (deg) Declination 1950 C ---------------------------------- ! (position vector(s) in degrees) character*8 Object ! Object name integer*4 RAh ! (h) Right Ascension 1950 (hours) integer*4 RAm ! (min) Right Ascension 1950 (minutes) real*4 RAs ! (s) Right Ascension 1950 (seconds) character*1 DE_ ! Declination 1950 (sign) integer*4 DEd ! (deg) Declination 1950 (degrees) integer*4 DEm ! (arcmin) Declination 1950 (minutes) real*4 DEs ! (arcsec) Declination 1950 (seconds) real*4 m ! (mag) Magnitude of the optical identification character*7 Type ! Type of the optical identification real*4 S5GHz ! (Jy) 5GHz (6cm) flux real*4 s_11_6 ! Two-point spectral index between 11 and 6 cm character*63 Names ! Entries in other radio sources catalogues c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! Journal of the observations integer*4 nr__1 parameter (nr__1=115) ! Number of records character*58 ar__1 ! Full-size record character*8 Object_1 ! Object name character*6 Tel ! Telescope (1) character*21 Date ! Observation date integer*4 IntTime ! (s) Total integration time real*4 Scale ! (0.1nm/pix) Scale of the wavelength calibrated spectra. real*4 Scale2 ! (0.1nm/pix) ? Scale in in red channel for Twin * Spectrograph *Note (1): Telescopes: * CA 3.5 = 3.5 m telescope on Calar Alto, Spain * CA 2.2 = 2.2 m telescope on Calar Alto, Spain * LS 2.2 = 2.2 m telescope on La Silla, Chile c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! Line data integer*4 nr__2 parameter (nr__2=510) ! Number of records character*68 ar__2 ! Full-size record character*8 Object_2 ! Object name character*1 l_z ! ">" sign for lower redshift limit real*4 z ! ? Redshift computed from unweighted zInd character*8 Element ! Element identification integer*4 Lam0 ! (0.1nm) ? Rest wavelength character*1 u_Lam0 ! [?] ? when unknown integer*4 LamObs ! (0.1nm) Observed wavelength real*4 zInd ! ? Individual redshift character*1 u_zInd ! [?] ? when unknown real*4 FWHM ! (0.1nm) ? FWHM (for emission line) real*4 EW ! (0.1nm) ? Equivalent width (for emission line) character*1 u_EW ! ":" sign indicating uncertain values real*4 Flux ! (10-19W/m2) ? Flux (10-16erg/s/cm2) character*1 u_Flux ! ":" sign indicating uncertain values character*3 Rem ! Remarks (1) *Note (1): the remarks mean the following: * gal = stellar absorption lines of host galaxy * abs = intervening absorption lines * cal = calibration uncertain due to second order contamination * atm = emission lines affected by atmospheric absorption C============================================================================= C Loading file 'table1.dat' ! Observed radio source identifications C Format for file interpretation 1 format( + 1X,A8,2X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,2X,F4.1,1X, + A7,1X,F5.3,1X,F5.2,3X,A63) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,114 read(1,'(A126)')ar__ read(ar__,1) + Object,RAh,RAm,RAs,DE_,DEd,DEm,DEs,m,Type,S5GHz,s_11_6,Names 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) + Object,RAh,RAm,RAs,DE_,DEd,DEm,DEs,m,Type,S5GHz,s_11_6,Names write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table2.dat' ! Journal of the observations C Format for file interpretation 2 format(2X,A8,2X,A6,2X,A21,1X,I5,2X,F4.1,1X,F4.1) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,115 read(1,'(A58)')ar__1 read(ar__1,2)Object_1,Tel,Date,IntTime,Scale,Scale2 if(ar__1(55:58) .EQ. '') Scale2 = rNULL__ c ..............Just test output........... write(6,2)Object_1,Tel,Date,IntTime,Scale,Scale2 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table3.dat' ! Line data C Format for file interpretation 3 format( + 2X,A8,2X,A1,F5.3,1X,A8,1X,I4,A1,I4,1X,F5.3,A1,F5.1,2X,F5.1,A1, + F6.1,A1,1X,A3) C Effective file loading open(unit=1,status='old',file= +'table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,510 read(1,'(A68)')ar__2 read(ar__2,3) + Object_2,l_z,z,Element,Lam0,u_Lam0,LamObs,zInd,u_zInd,FWHM,EW, + u_EW,Flux,u_Flux,Rem if(ar__2(14:18) .EQ. '') z = rNULL__ if(ar__2(29:32) .EQ. '') Lam0 = iNULL__ if(ar__2(39:43) .EQ. '') zInd = rNULL__ if(ar__2(45:49) .EQ. '') FWHM = rNULL__ if(ar__2(52:56) .EQ. '') EW = rNULL__ if(ar__2(58:63) .EQ. '') Flux = rNULL__ c ..............Just test output........... write(6,3) + Object_2,l_z,z,Element,Lam0,u_Lam0,LamObs,zInd,u_zInd,FWHM,EW, + u_EW,Flux,u_Flux,Rem c .......End.of.Just test output........... end do close(1) C============================================================================= stop end