Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/806/199 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-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/ApJ/806/199 RRL and continuum data of 21 Galactic H II regions (Balser+, 2015) *================================================================================ *Azimuthal metallicity structure in the Milky Way disk. * Balser D.S., Wenger T.V., Anderson L.D., Bania T.M. * <Astrophys. J., 806, 199 (2015)> * =2015ApJ...806..199B (SIMBAD/NED BibCode) C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Radio Recombination Line Parameters of Galactic H II Regions integer*4 nr__ parameter (nr__=28) ! Number of records character*64 ar__ ! Full-size record character*14 Name (nr__) ! Source name character*2 El (nr__) ! [H C He] Element name real*4 TL (nr__) ! (mK) H (or He) radio recombination line (RRL) * intensity real*4 e_TL (nr__) ! (mK) Uncertainty in TL real*4 DelV (nr__) ! (km/s) H (or He) RRL FWHM line width real*4 e_DelV (nr__) ! (km/s) Uncertainty in DelV real*4 VLSR (nr__) ! (km/s) Local Standard of Rest velocity real*4 e_VLSR (nr__) ! (km/s) Uncertainty in VLSR real*4 Tint (nr__) ! (h) ? Total integration time real*4 rms (nr__) ! (mK) ? rms spectral noise character*1 QF (nr__) ! [BCD-] Quality factor (G1) c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! Radio Continuum Parameters of Galactic H II Regions integer*4 nr__1 parameter (nr__1=21) ! Number of records character*86 ar__1 ! Full-size record character*14 Name_1 (nr__1) ! Source name real*4 TC_RA (nr__1) ! (mK) Continuum peak intensity along Right Ascension real*4 e_TC_RA (nr__1) ! (mK) Uncertainty in TC-RA real*4 Theta_RA (nr__1) ! (arcmin) FWHM angular width ({Theta}) along Right * Ascension real*4 e_Theta_RA (nr__1) ! (arcmin) Uncertainty in Theta-RA real*4 TC_DE (nr__1) ! (mK) Continuum peak intensity along Declination real*4 e_TC_DE (nr__1) ! (mK) Uncertainty in TC-DE real*4 Theta_DE (nr__1) ! (arcmin) FWHM angular width ({Theta}) along Declination real*4 e_Theta_DE (nr__1) ! (arcmin) Uncertainty in Theta-DE real*4 TC (nr__1) ! (mK) Average continuum peak intensity real*4 e_TC (nr__1) ! (mK) Uncertainty in TC real*4 Theta (nr__1) ! (arcmin) Average FWHM angular width ({Theta}) real*4 e_Theta (nr__1) ! (arcmin) Uncertainty in Theta character*1 QF_1 (nr__1) ! [ABC] Quality factor (G1) c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! H II Region Properties integer*4 nr__2 parameter (nr__2=221) ! Number of records character*131 ar__2 ! Full-size record C Position composed of: GLON GLAT character*14 Name_2 (nr__2) ! Source name character*1 n_Name (nr__2) ! [b] Note on Name (1) real*8 GLON (nr__2) ! (deg) Galactic longitude real*8 GLAT (nr__2) ! (deg) Galactic latitude real*4 Dsun1 (nr__2) ! (kpc) ? Distance from the Sun (Kinematic-IAU) (3) real*4 e_Dsun1 (nr__2) ! (kpc) ? Uncertainty in Dsun1 (Kinematic-IAU) (3) real*4 Az1 (nr__2) ! (deg) ? Galactic azimuth (Kinematic-IAU) (3) real*4 Rgal1 (nr__2) ! (kpc) ? Galactic radius (Kinematic-IAU) (3) real*4 Dsun2 (nr__2) ! (kpc) ? Distance from the Sun (Kinematic-Reid) (4) real*4 e_Dsun2 (nr__2) ! (kpc) ? Uncertainty in Dsun2 (Kinematic-Reid) (4) real*4 Az2 (nr__2) ! (deg) ? Galactic azimuth (Kinematic-Reid) (4) real*4 Rgal2 (nr__2) ! (kpc) ? Galactic radius (Kinematic-Reid) (4) real*4 Dsun3 (nr__2) ! (kpc) ? Distance from the Sun (Best) real*4 e_Dsun3 (nr__2) ! (kpc) ? Uncertainty in Dsun3 (Best) real*4 Az3 (nr__2) ! (deg) ? Galactic azimuth (Best) real*4 Rgal3 (nr__2) ! (kpc) ? Galactic radius (Best) real*4 y (nr__2) ! Helium abundance by number (2) real*4 e_y (nr__2) ! Uncertainty in y integer*4 Te (nr__2) ! (K) Local thermodynamic equilibrium (LTE) electron * temperature integer*4 e_Te (nr__2) ! (K) Uncertainty in Te character*8 Tel (nr__2) ! Telescope used for the RRL and continuum * observations (140 Foot, GBT) *Note (1): Note as follows: * b = Distances for these sources are unrealistic because they are located * toward the Galactic Center. Our Galactic rotation curve model assumes a * maximum R_gal_ value of 25 kpc. *Note (2): For sources with no helium RRL detected, we assume y=0.080+/-0.000. *Note (3): IAU parameters : * Distance to the Galactic Center of R_o_=8.5 kpc and a Solar circular * rotation speed of {Theta}_o_=220 km/s. *Note (4): Reid et al. (2014, J/ApJ/783/130) where R_o_=8.3 kpc and * {Theta}_o_=240 km/s. C============================================================================= C Loading file 'table1.dat' ! Radio Recombination Line Parameters of Galactic * H II Regions C Format for file interpretation 1 format( + A14,1X,A2,1X,F6.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,F6.2,1X,F4.2,1X, + F4.1,1X,F4.2,1X,A1) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,28 read(1,'(A64)')ar__ read(ar__,1) + Name(i__),El(i__),TL(i__),e_TL(i__),DelV(i__),e_DelV(i__), + VLSR(i__),e_VLSR(i__),Tint(i__),rms(i__),QF(i__) if(ar__(54:57) .EQ. '') Tint(i__) = rNULL__ if(ar__(59:62) .EQ. '') rms(i__) = rNULL__ c ..............Just test output........... write(6,1) + Name(i__),El(i__),TL(i__),e_TL(i__),DelV(i__),e_DelV(i__), + VLSR(i__),e_VLSR(i__),Tint(i__),rms(i__),QF(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table2.dat' ! Radio Continuum Parameters of Galactic H II * Regions C Format for file interpretation 2 format( + A14,1X,F6.1,1X,F4.2,1X,F4.2,1X,F5.3,1X,F6.1,1X,F5.2,1X,F4.2, + 1X,F5.3,1X,F6.1,1X,F4.2,1X,F4.2,1X,F5.3,1X,A1) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,21 read(1,'(A86)')ar__1 read(ar__1,2) + Name_1(i__),TC_RA(i__),e_TC_RA(i__),Theta_RA(i__), + e_Theta_RA(i__),TC_DE(i__),e_TC_DE(i__),Theta_DE(i__), + e_Theta_DE(i__),TC(i__),e_TC(i__),Theta(i__),e_Theta(i__), + QF_1(i__) c ..............Just test output........... write(6,2) + Name_1(i__),TC_RA(i__),e_TC_RA(i__),Theta_RA(i__), + e_Theta_RA(i__),TC_DE(i__),e_TC_DE(i__),Theta_DE(i__), + e_Theta_DE(i__),TC(i__),e_TC(i__),Theta(i__),e_Theta(i__), + QF_1(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table3.dat' ! H II Region Properties C Format for file interpretation 3 format( + A14,1X,A1,1X,F7.3,1X,F7.3,1X,F4.1,1X,F5.2,1X,F5.1,1X,F4.1,1X, + F4.1,1X,F5.2,1X,F5.1,1X,F4.1,1X,F4.1,1X,F5.2,1X,F5.1,1X,F4.1, + 1X,F5.3,1X,F5.3,1X,I5,1X,I5,1X,A8) C Effective file loading open(unit=1,status='old',file= +'table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,221 read(1,'(A131)')ar__2 read(ar__2,3) + Name_2(i__),n_Name(i__),GLON(i__),GLAT(i__),Dsun1(i__), + e_Dsun1(i__),Az1(i__),Rgal1(i__),Dsun2(i__),e_Dsun2(i__), + Az2(i__),Rgal2(i__),Dsun3(i__),e_Dsun3(i__),Az3(i__), + Rgal3(i__),y(i__),e_y(i__),Te(i__),e_Te(i__),Tel(i__) if(ar__2(34:37) .EQ. '') Dsun1(i__) = rNULL__ if(ar__2(39:43) .EQ. '') e_Dsun1(i__) = rNULL__ if(ar__2(45:49) .EQ. '') Az1(i__) = rNULL__ if(ar__2(51:54) .EQ. '') Rgal1(i__) = rNULL__ if(ar__2(56:59) .EQ. '') Dsun2(i__) = rNULL__ if(ar__2(61:65) .EQ. '') e_Dsun2(i__) = rNULL__ if(ar__2(67:71) .EQ. '') Az2(i__) = rNULL__ if(ar__2(73:76) .EQ. '') Rgal2(i__) = rNULL__ if(ar__2(78:81) .EQ. '') Dsun3(i__) = rNULL__ if(ar__2(83:87) .EQ. '') e_Dsun3(i__) = rNULL__ if(ar__2(89:93) .EQ. '') Az3(i__) = rNULL__ if(ar__2(95:98) .EQ. '') Rgal3(i__) = rNULL__ c ..............Just test output........... write(6,3) + Name_2(i__),n_Name(i__),GLON(i__),GLAT(i__),Dsun1(i__), + e_Dsun1(i__),Az1(i__),Rgal1(i__),Dsun2(i__),e_Dsun2(i__), + Az2(i__),Rgal2(i__),Dsun3(i__),e_Dsun3(i__),Az3(i__), + Rgal3(i__),y(i__),e_y(i__),Te(i__),e_Te(i__),Tel(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end