Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/532/A127 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/A+A/532/A127 Inner Galaxy HII regions (Du+, 2011) *================================================================================ *A H_2_CO and H110{alpha} survey of HII regions with the 25-m radio telescope of *Nanshan Station. * Du Z.M., Zhou J.J., Esimbek J., Han X.H., Zhang C.P. * <Astron. Astrophys. 532, A127 (2011)> * =2011A&A...532A.127D C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Observed sources integer*4 nr__ parameter (nr__=64) ! Number of records character*70 ar__ ! Full-size record C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg (nr__) ! (deg) Right Ascension J2000 real*8 DEdeg (nr__) ! (deg) Declination J2000 C ---------------------------------- ! (position vector(s) in degrees) character*14 Source (nr__) ! Source name character*8 Name (nr__) ! Alias name integer*4 RAh (nr__) ! (h) Right ascension (J2000) integer*4 RAm (nr__) ! (min) Right ascension (J2000) real*4 RAs (nr__) ! (s) Right ascension (J2000) character*1 DE_ (nr__) ! Declination sign (J2000) integer*4 DEd (nr__) ! (deg) Declination (J2000) integer*4 DEm (nr__) ! (arcmin) Declination (J2000) real*4 DEs (nr__) ! (arcsec) Declination (J2000) real*4 rms (nr__) ! The rms of the spectral lines (1) real*4 S100um (nr__) ! (kJy) ? Flux density at 100{mu}m real*4 S6cm (nr__) ! (Jy) ? Flux density at 6cm (2) character*3 Note (nr__) ! Reference (3) *Note (1): The rms of the spectral lines were obtained during our observation. *Note (2): The measurement results of the continuum flux densities at 6cm. *Note (3): References as follows: * c = data reported by Araya et al. (2004ApJS..154..579A) * d = data reported by Downes et al. (1980A&AS...40..379D) * e = data reported by Wilson (1972A&A....19..354W) * f = data reported by Whiteoak & Gardner (1974A&A....37..389W) c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! H110{alpha} line parameters of sources integer*4 nr__1 parameter (nr__1=28) ! Number of records character*66 ar__1 ! Full-size record character*14 Source_1 (nr__1) ! Source name character*1 f_Source (nr__1) ! [*] Changes (1) real*8 VLSR (nr__1) ! (km/s) ? Local Standard of Rest Velocity real*4 e_VLSR (nr__1) ! (km/s) ? The 1{sigma} error in VLSR real*4 FWHM (nr__1) ! (km/s) ? Full-Width at Half-Maximum real*4 e_FWHM (nr__1) ! (km/s) ? The 1{sigma} error in FWHM real*4 SH110a (nr__1) ! (Jy) ? The H110{alpha} flux density at 4874.1570MHz real*4 e_SH110a (nr__1) ! (Jy) ? The 1{sigma} error in SH110a real*8 Sint (nr__1) ! (Jy.km/s) ? Integrated flux density at 4874.1570MHz real*4 e_Sint (nr__1) ! (Jy.km/s) ? The 1{sigma} error in Sint *Note (1): * * G15.032-0.687 corrected into G15.032-0.68, as in table1. * * G15.181-0.63 corrected into G15.181-0.62, as in table1. * * G81.253+1.123 corrected into G81.253+1.12, as in table1. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! H_2_CO line parameters integer*4 nr__2 parameter (nr__2=83) ! Number of records character*74 ar__2 ! Full-size record character*14 Source_2 (nr__2) ! Source name integer*4 MC (nr__2) ! [1/4]? H_2_CO molecular cloud number * within the source (G1) character*1 f_Source_1 (nr__2) ! [*] Changes (1) real*8 VLSR_1 (nr__2) ! (km/s) ? Local Standard of Rest Velocity real*4 e_VLSR_1 (nr__2) ! (km/s) ? The 1{sigma} error in VLSR real*4 FWHM_1 (nr__2) ! (km/s) ? Full-Width at Half-Maximum real*4 e_FWHM_1 (nr__2) ! (km/s) ? The 1{sigma} error in FWHM real*8 SH2CO (nr__2) ! (Jy) ? The H_2_CO flux density at 4829.6594MHz real*4 e_SH2CO (nr__2) ! (Jy) ? The 1{sigma} error in SH2CO real*8 Sint_1 (nr__2) ! (Jy.km/s) ? Integrated flux density at 4829.6594MHz real*4 e_Sint_1 (nr__2) ! (Jy.km/s) ? The 1{sigma} error in Sint *Note (1): G15.181-0.63 corrected into G15.181-0.62, as in table1. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table4.dat' ! Kinematic parameters integer*4 nr__3 parameter (nr__3=45) ! Number of records character*83 ar__3 ! Full-size record character*14 Source_3 (nr__3) ! Source name integer*4 MC_1 (nr__3) ! [1/4]? H_2_CO molecular cloud number * within the source (G1) character*1 f_Source_2 (nr__3) ! Changes (1) real*4 VLSR_2 (nr__3) ! (km/s) Local Standard of Rest Velocity real*4 VTP (nr__3) ! (km/s) ? Tangent point velocity real*4 DTP (nr__3) ! (kpc) ? Tangent point distance real*4 Dfar (nr__3) ! (kpc) ? Far source distance real*4 Dnear (nr__3) ! (kpc) ? Near source distance real*4 DLSR (nr__3) ! (kpc) ? Adopted kinematic source distance real*4 E_DLSR (nr__3) ! (kpc) ? Upper limit in DLSR real*4 e_DLSR_1 (nr__3) ! (kpc) ? Lower limit in DLSR real*4 Z (nr__3) ! (pc) ? Galactic plane distance real*4 RGC (nr__3) ! (kpc) ? Galactic center distance character*6 Code (nr__3) ! The Near/Far code (2) *Note (1): * * G15.181-0.63 corrected into G15.181-0.62, as in table1. * * IRAS18507+0101 was a misprint for IRAS18507+0110, corrected name * in the CDS table. *Note (2): The Near/Far code is defined as follows: * N = a source at the near kinematic distance * F = a source at the far distance * S = a molecular cloud associated with an HII region * NS = a molecular cloud associated with an UC HII region * FS = a molecular cloud associated with an UC HII region * b = No classification or distance is given for this source * c = this source is located at the tangent point * d = the distance ambiguity cannot be resolved * e = this source is located in the outer Galaxy * f = Downes et al. (1980A&AS...40..379D) have reported this source' s * kinematic distance. C============================================================================= C Loading file 'table1.dat' ! Observed sources C Format for file interpretation 1 format( + A14,1X,A8,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,F5.3, + 1X,F5.2,1X,F6.2,1X,A3) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,64 read(1,'(A70)')ar__ read(ar__,1) + Source(i__),Name(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__), + DEd(i__),DEm(i__),DEs(i__),rms(i__),S100um(i__),S6cm(i__), + Note(i__) if(ar__(55:59) .EQ. '') S100um(i__) = rNULL__ if(ar__(61:66) .EQ. '') S6cm(i__) = rNULL__ RAdeg(i__) = rNULL__ DEdeg(i__) = rNULL__ c Derive coordinates RAdeg and DEdeg from input data c (RAdeg and DEdeg are set to rNULL__ when unknown) if(RAh(i__) .GT. -180) RAdeg(i__)=RAh(i__)*15. if(RAm(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAm(i__)/4. if(RAs(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAs(i__)/240. if(DEd(i__) .GE. 0) DEdeg(i__)=DEd(i__) if(DEm(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEm(i__)/60. if(DEs(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEs(i__)/3600. if(DE_(i__).EQ.'-'.AND.DEdeg(i__).GE.0) DEdeg(i__)=-DEdeg(i__) c ..............Just test output........... write(6,1) + Source(i__),Name(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__), + DEd(i__),DEm(i__),DEs(i__),rms(i__),S100um(i__),S6cm(i__), + Note(i__) write(6,'(6H Pos: 2F8.4)') RAdeg(i__),DEdeg(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table2.dat' ! H110{alpha} line parameters of sources C Format for file interpretation 2 format( + A14,A1,F7.3,1X,F5.3,1X,F5.2,1X,F5.3,1X,F5.3,1X,F5.3,1X,F7.3, + 1X,F5.3) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,28 read(1,'(A66)')ar__1 read(ar__1,2) + Source_1(i__),f_Source(i__),VLSR(i__),e_VLSR(i__),FWHM(i__), + e_FWHM(i__),SH110a(i__),e_SH110a(i__),Sint(i__),e_Sint(i__) if(ar__1(16:22) .EQ. '') VLSR(i__) = rNULL__ if(ar__1(24:28) .EQ. '') e_VLSR(i__) = rNULL__ if(ar__1(30:34) .EQ. '') FWHM(i__) = rNULL__ if(ar__1(36:40) .EQ. '') e_FWHM(i__) = rNULL__ if(ar__1(42:46) .EQ. '') SH110a(i__) = rNULL__ if(ar__1(48:52) .EQ. '') e_SH110a(i__) = rNULL__ if(ar__1(54:60) .EQ. '') Sint(i__) = rNULL__ if(ar__1(62:66) .EQ. '') e_Sint(i__) = rNULL__ c ..............Just test output........... write(6,2) + Source_1(i__),f_Source(i__),VLSR(i__),e_VLSR(i__),FWHM(i__), + e_FWHM(i__),SH110a(i__),e_SH110a(i__),Sint(i__),e_Sint(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table3.dat' ! H_2_CO line parameters C Format for file interpretation 3 format( + A14,2X,I1,A1,F8.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F7.3,1X,F5.3,1X, + F8.3,1X,F5.3) C Effective file loading open(unit=1,status='old',file= +'table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,83 read(1,'(A74)')ar__2 read(ar__2,3) + Source_2(i__),MC(i__),f_Source_1(i__),VLSR_1(i__), + e_VLSR_1(i__),FWHM_1(i__),e_FWHM_1(i__),SH2CO(i__), + e_SH2CO(i__),Sint_1(i__),e_Sint_1(i__) if(ar__2(17:17) .EQ. '') MC(i__) = iNULL__ if(ar__2(19:26) .EQ. '') VLSR_1(i__) = rNULL__ if(ar__2(28:32) .EQ. '') e_VLSR_1(i__) = rNULL__ if(ar__2(34:39) .EQ. '') FWHM_1(i__) = rNULL__ if(ar__2(41:45) .EQ. '') e_FWHM_1(i__) = rNULL__ if(ar__2(47:53) .EQ. '') SH2CO(i__) = rNULL__ if(ar__2(55:59) .EQ. '') e_SH2CO(i__) = rNULL__ if(ar__2(61:68) .EQ. '') Sint_1(i__) = rNULL__ if(ar__2(70:74) .EQ. '') e_Sint_1(i__) = rNULL__ c ..............Just test output........... write(6,3) + Source_2(i__),MC(i__),f_Source_1(i__),VLSR_1(i__), + e_VLSR_1(i__),FWHM_1(i__),e_FWHM_1(i__),SH2CO(i__), + e_SH2CO(i__),Sint_1(i__),e_Sint_1(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table4.dat' ! Kinematic parameters C Format for file interpretation 4 format( + A14,2X,I1,A1,F5.1,1X,F5.1,1X,F4.2,1X,F5.2,1X,F4.2,1X,F5.2,2X, + F4.2,2X,F4.2,1X,F6.1,1X,F5.2,1X,A6) C Effective file loading open(unit=1,status='old',file= +'table4.dat') write(6,*) '....Loading file: table4.dat' do i__=1,45 read(1,'(A83)')ar__3 read(ar__3,4) + Source_3(i__),MC_1(i__),f_Source_2(i__),VLSR_2(i__),VTP(i__), + DTP(i__),Dfar(i__),Dnear(i__),DLSR(i__),E_DLSR(i__), + e_DLSR_1(i__),Z(i__),RGC(i__),Code(i__) if(ar__3(17:17) .EQ. '') MC_1(i__) = iNULL__ if(ar__3(25:29) .EQ. '') VTP(i__) = rNULL__ if(ar__3(31:34) .EQ. '') DTP(i__) = rNULL__ if(ar__3(36:40) .EQ. '') Dfar(i__) = rNULL__ if(ar__3(42:45) .EQ. '') Dnear(i__) = rNULL__ if(ar__3(47:51) .EQ. '') DLSR(i__) = rNULL__ if(ar__3(54:57) .EQ. '') E_DLSR(i__) = rNULL__ if(ar__3(60:63) .EQ. '') e_DLSR_1(i__) = rNULL__ if(ar__3(65:70) .EQ. '') Z(i__) = rNULL__ if(ar__3(72:76) .EQ. '') RGC(i__) = rNULL__ c ..............Just test output........... write(6,4) + Source_3(i__),MC_1(i__),f_Source_2(i__),VLSR_2(i__),VTP(i__), + DTP(i__),Dfar(i__),Dnear(i__),DLSR(i__),E_DLSR(i__), + e_DLSR_1(i__),Z(i__),RGC(i__),Code(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end