Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJS/160/511 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-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/ApJS/160/511 Orion Nebula Cluster proplyd candidates (Kastner+, 2005) *================================================================================ *X-ray emission from Orion Nebula Cluster stars with circumstellar disks and *jets. * Kastner J.H., Franz G., Grosso N., Bally J., McCaughrean M.J., Getman K., * Feigelson E.D., Schulz N.S. * <Astrophys. J. Suppl. Ser., 160, 511-529 (2005)> * =2005ApJS..160..511K C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Orion Nebula Cluster proplyd candidates integer*4 nr__ parameter (nr__=150) ! Number of records character*107 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*9 Name (nr__) ! Proplyd name (G1) character*1 n_Name (nr__) ! [ij] Individual notes (1) integer*4 RAh (nr__) ! (h) Hour of Right Ascension (J2000) (2) integer*4 RAm (nr__) ! (min) Minute of Right Ascension (J2000) (2) real*4 RAs (nr__) ! (s) Second of Right Ascension (J2000) (2) character*1 DE_ (nr__) ! Sign of the Declination (J2000) (2) integer*4 DEd (nr__) ! (deg) Degree of Declination (J2000) (2) integer*4 DEm (nr__) ! (arcmin) Arcminute of Declination (J2000) (2) real*4 DEs (nr__) ! (arcsec) Arcsecond of Declination (J2000) (2) integer*4 VLT (nr__) ! ? The VLT infrared (JHK) source number character*1 f_VLT (nr__) ! [NO] Flag on VLT (3) real*4 Del_I (nr__) ! (arcsec) ? ACS image and infrared source position offset integer*4 COUP (nr__) ! ? COUP X-ray source number character*1 f_COUP (nr__) ! [N?kO] Flag on COUP (4) real*4 Del_X (nr__) ! (arcsec) ? ACS image and X-ray source position offset character*1 u_Del_X (nr__) ! Uncertainty flag on Del-X character*2 Star_ (nr__) ! [YN? ] Star apparent in ACS image? character*41 App (nr__) ! Appearance in ACS image (5) *Note (1): Flag on Name, defined as follows: * i = Proplyd 044-527 is a new identification; * j = d163-026s is found ~0.4" from COUP 796 (=MLLA-956) and d239-334 is * found ~0.6" from COUP 1268 (=MLLA-347), but optical/IR sources near * these proplyds are in fact the X-ray sources; see Fig. 7 of * Bally et al. (2000AJ....119.2919B). In addition, COUP 1316 lies at a * companion to d253-1536. *Note (2): Determined from ACS images; for sources outside ACS FOV, coordinates * are from Bally et al. (2000AJ....119.2919B), Smith et al. * (2005AJ....129..382S), or O'Dell & Wong (1996, Cat. <J/AJ/111/846>). * See text. *Note (3): Flag on VLT, defined as follows: * N = no IR counterpart detected; * O = candidate is outside the VLT image FOV. *Note (4): Flag on COUP, defined as follows: * N = no X-ray counterpart detected; * ? = uncertain COUP assignment; * k = COUP 814 lies very near the position of 166-519, but may instead be * associated with a companion. See Section 4.2. * O = candidate is outside the COUP FOV. *Note (5): "I-front" indicates ionization front apparent. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! Objects not considered proplyds integer*4 nr__1 parameter (nr__1=22) ! Number of records character*65 ar__1 ! Full-size record C J2000.0 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg_1 (nr__1) ! (deg) Right Ascension J2000.0 real*8 DEdeg_1 (nr__1) ! (deg) Declination J2000.0 C ---------------------------------- ! (position vector(s) in degrees) character*7 v_OW94_ (nr__1) ! Object name as in O'Dell & Wong, <J/AJ/111/846> integer*4 RAh_1 (nr__1) ! (h) Hour of Right Ascension (J2000.0) integer*4 RAm_1 (nr__1) ! (min) Minute of Right Ascension (J2000.0) real*4 RAs_1 (nr__1) ! (s) Second of Right Ascension (J2000.0) character*1 DE__1 (nr__1) ! Sign of the Declination (J2000.0) integer*4 DEd_1 (nr__1) ! (deg) Degree of Declination (J2000.0) integer*4 DEm_1 (nr__1) ! (arcmin) Arcminute of Declination (J2000.0) real*4 DEs_1 (nr__1) ! (arcsec) Arcsecond of Declination (J2000.0) integer*4 COUP_1 (nr__1) ! ? COUP source number character*1 n_Offset (nr__1) ! [*] n/a real*4 Offset (nr__1) ! (arcsec) ? Offset between visual position (as determined * from ACS image) and COUP X-ray source position character*22 Com (nr__1) ! Comments c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! Proplyds with COUP counterparts: optical and X-ray properties integer*4 nr__2 parameter (nr__2=101) ! Number of records character*73 ar__2 ! Full-size record character*9 Name_1 (nr__2) ! Proplyd name (G1) character*9 SpType (nr__2) ! Spectral type real*4 AV (nr__2) ! (mag) ? The V band extinction integer*4 COUP_2 (nr__2) ! The COUP number real*4 Exp (nr__2) ! (ks) Effective exposure time integer*4 Cts (nr__2) ! (ct) Net photon counts after background subtraction real*4 HR2 (nr__2) ! ? COUP X-ray hardness ratio 2 (1) real*4 e_HR2 (nr__2) ! ? Uncertainty in HR2 real*4 HR3 (nr__2) ! ? COUP X-ray hardness ratio 3 (2) real*4 e_HR3 (nr__2) ! ? Uncertainty in HR3 real*4 logNH (nr__2) ! ([cm-2]) Log of the hydrogen absorbing column (3) real*4 logL (nr__2) ! ([mW/m2]) Log of the total 0.5-8keV luminosity (4) *Note (1): Defined as (C_s_-C_m_)/(C_s_+C_m_) where C_s_ is counts in * the 0.5-1.7keV band and C_m_ is counts in the 1.7-2.8keV band. *Note (2): Defined as (C_m_-C_h_)/(C_m_+C_h_) where C_m_ is counts in * the 1.7-2.8keV band and C_h_ is counts in the 2.8-8.0keV band. *Note (3): Derived from spectral model fitting. *Note (4): Corrected for absorption, as derived from spectral model fitting and * in units of erg/s/cm^2^. C============================================================================= C Loading file 'table1.dat' ! Orion Nebula Cluster proplyd candidates C Format for file interpretation 1 format( + A9,1X,A1,1X,I2,1X,I2,1X,F6.3,1X,A1,I2,1X,I2,1X,F4.1,1X,I4,1X, + A1,1X,F4.2,1X,I4,1X,A1,1X,F5.2,A1,1X,A2,1X,A41) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,150 read(1,'(A107)')ar__ read(ar__,1) + Name(i__),n_Name(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__), + DEd(i__),DEm(i__),DEs(i__),VLT(i__),f_VLT(i__),Del_I(i__), + COUP(i__),f_COUP(i__),Del_X(i__),u_Del_X(i__),Star_(i__), + App(i__) if(ar__(38:41) .EQ. '') VLT(i__) = iNULL__ if(ar__(45:48) .EQ. '') Del_I(i__) = rNULL__ if(ar__(50:53) .EQ. '') COUP(i__) = iNULL__ if(ar__(57:61) .EQ. '') Del_X(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) + Name(i__),n_Name(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__), + DEd(i__),DEm(i__),DEs(i__),VLT(i__),f_VLT(i__),Del_I(i__), + COUP(i__),f_COUP(i__),Del_X(i__),u_Del_X(i__),Star_(i__), + App(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' ! Objects not considered proplyds C Format for file interpretation 2 format( + A7,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,I4,1X,A1, + F4.2,1X,A22) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,22 read(1,'(A65)')ar__1 read(ar__1,2) + v_OW94_(i__),RAh_1(i__),RAm_1(i__),RAs_1(i__),DE__1(i__), + DEd_1(i__),DEm_1(i__),DEs_1(i__),COUP_1(i__),n_Offset(i__), + Offset(i__),Com(i__) if(ar__1(33:36) .EQ. '') COUP_1(i__) = iNULL__ if(ar__1(39:42) .EQ. '') Offset(i__) = rNULL__ RAdeg_1(i__) = rNULL__ DEdeg_1(i__) = rNULL__ c Derive coordinates RAdeg_1 and DEdeg_1 from input data c (RAdeg_1 and DEdeg_1 are set to rNULL__ when unknown) if(RAh_1(i__) .GT. -180) RAdeg_1(i__)=RAh_1(i__)*15. if(RAm_1(i__) .GT. -180) RAdeg_1(i__)=RAdeg_1(i__)+RAm_1(i__)/4. if(RAs_1(i__) .GT. -180) RAdeg_1(i__)=RAdeg_1(i__)+RAs_1(i__)/240. if(DEd_1(i__) .GE. 0) DEdeg_1(i__)=DEd_1(i__) if(DEm_1(i__) .GE. 0) DEdeg_1(i__)=DEdeg_1(i__)+DEm_1(i__)/60. if(DEs_1(i__) .GE. 0) DEdeg_1(i__)=DEdeg_1(i__)+DEs_1(i__)/3600. if(DE__1(i__).EQ.'-'.AND.DEdeg_1(i__).GE.0) DEdeg_1(i__)=-DEdeg_1(i__) c ..............Just test output........... write(6,2) + v_OW94_(i__),RAh_1(i__),RAm_1(i__),RAs_1(i__),DE__1(i__), + DEd_1(i__),DEm_1(i__),DEs_1(i__),COUP_1(i__),n_Offset(i__), + Offset(i__),Com(i__) write(6,'(6H Pos: 2F8.4)') RAdeg_1(i__),DEdeg_1(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table3.dat' ! Proplyds with COUP counterparts: optical and * X-ray properties C Format for file interpretation 3 format( + A9,1X,A9,1X,F4.2,1X,I4,1X,F5.1,1X,I5,1X,F5.2,1X,F4.2,1X,F5.2, + 1X,F4.2,1X,F4.1,1X,F4.1) C Effective file loading open(unit=1,status='old',file= +'table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,101 read(1,'(A73)')ar__2 read(ar__2,3) + Name_1(i__),SpType(i__),AV(i__),COUP_2(i__),Exp(i__),Cts(i__), + HR2(i__),e_HR2(i__),HR3(i__),e_HR3(i__),logNH(i__),logL(i__) if(ar__2(21:24) .EQ. '') AV(i__) = rNULL__ if(ar__2(43:47) .EQ. '') HR2(i__) = rNULL__ if(ar__2(49:52) .EQ. '') e_HR2(i__) = rNULL__ if(ar__2(54:58) .EQ. '') HR3(i__) = rNULL__ if(ar__2(60:63) .EQ. '') e_HR3(i__) = rNULL__ c ..............Just test output........... write(6,3) + Name_1(i__),SpType(i__),AV(i__),COUP_2(i__),Exp(i__),Cts(i__), + HR2(i__),e_HR2(i__),HR3(i__),e_HR3(i__),logNH(i__),logL(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end