Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/669/435 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-19 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/669/435 Arecibo Methanol Maser Galactic Plane Survey. II. (Pandian+, 2007) *================================================================================ *The Arecibo Methanol Maser Galactic Plane Survey. *II. Statistical and multiwavelength counterpart analysis. * Pandian J.D., Goldsmith P.F. * <Astrophys. J., 669, 435-445 (2007)> * =2007ApJ...669..435P C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! The parameters of Gaussian components for 49 sources for which the analysis has been carried out integer*4 nr__ parameter (nr__=266) ! Number of records character*31 ar__ ! Full-size record character*10 v_PGD2007_ ! Methanol maser name (GLL.ll+B.bb) integer*4 m__PGD2007_ ! Gaussian component number real*4 S ! (Jy) Component flux density at 6.7GHz real*4 CVel ! (km/s) Component center velocity real*4 DFWHM ! (km/s) Component Full-Width at Half-Maximum c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! IRAS, MSX, and NVSS counterparts for the AMGPS sample integer*4 nr__1 parameter (nr__1=51) ! Number of records character*69 ar__1 ! Full-size record character*10 v_PGD2007__1 ! Methanol maser name (GLL.ll+B.bb) character*10 IRAS ! IRAS source (HHMMm+DDMM) real*4 SepI ! (arcsec) ? Separation between methanol maser and IRAS * sources character*17 MSX ! MSX source (GLLL.llll+BB.bbbb) real*4 SepM ! (arcsec) ? Separation between methanol maser and MSX * sources character*13 NVSS ! NVSS source (HHMMSS+DDMMSS) real*4 SepN ! (arcsec) ? Separation between methanol maser and NVSS * sources C============================================================================= C Loading file 'table1.dat' ! The parameters of Gaussian components for 49 sources * for which the analysis has been carried out C Format for file interpretation 1 format(A10,1X,I2,1X,F5.2,1X,F6.2,1X,F4.2) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,266 read(1,'(A31)')ar__ read(ar__,1)v_PGD2007_,m__PGD2007_,S,CVel,DFWHM c ..............Just test output........... write(6,1)v_PGD2007_,m__PGD2007_,S,CVel,DFWHM c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table2.dat' ! IRAS, MSX, and NVSS counterparts for the AMGPS sample C Format for file interpretation 2 format(A10,1X,A10,1X,F4.1,1X,A17,1X,F4.1,1X,A13,1X,F5.2) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,51 read(1,'(A69)')ar__1 read(ar__1,2)v_PGD2007__1,IRAS,SepI,MSX,SepM,NVSS,SepN if(ar__1(23:26) .EQ. '') SepI = rNULL__ if(ar__1(46:49) .EQ. '') SepM = rNULL__ if(ar__1(65:69) .EQ. '') SepN = rNULL__ c ..............Just test output........... write(6,2)v_PGD2007__1,IRAS,SepI,MSX,SepM,NVSS,SepN c .......End.of.Just test output........... end do close(1) C============================================================================= stop end