Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJS/194/9 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. J/ApJS/194/9 X-ray star clusters in the Carina complex (Feigelson+, 2011) *================================================================================ *X-ray star clusters in the Carina complex. * Feigelson E.D., Getman K.V., Townsley L.K., Broos P.S., Povich M.S., * Garmire G.P., King R.R., Montmerle T., Preibisch T., Smith N., * Stassun K.G., Wang J., Wolk S., Zinnecker H. * <Astrophys. J. Suppl. Ser., 194, 9 (2011)> * =2011ApJS..194....9F C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Principal clusters of X-ray stars in the Carina star-forming complex (see section 3.1) integer*4 nr__ parameter (nr__=24) ! Number of records character*145 ar__ ! Full-size record C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg ! (deg) Right Ascension J2000 real*8 DEdeg ! (deg) Declination J2000 C ---------------------------------- ! (position vector(s) in degrees) character*2 ClReg ! CCCP-Cl source identification (1) character*1 f_ClReg ! [d] Flag on CCCP-Cl D (1) integer*4 RAh ! (h) ? X-ray Hour of right ascension (J2000) (2) integer*4 RAm ! (min) ? X-ray Minute of right ascension (J2000) real*4 RAs ! (s) ? X-ray Second of right ascension (J2000) character*1 DE_ ! ? X-ray Sign of the declination (J2000) (2) integer*4 DEd ! (deg) ? X-ray Degree of declination (J2000) integer*4 DEm ! (arcmin) ? X-ray Arcminute of declination (J2000) integer*4 DEs ! (arcsec) ? X-ray Arcsecond of declination (J2000) character*2 Cntr ! Contour (3) integer*4 N ! Star population of the cluster integer*4 Nmed ! Cluster members for wich Emed is available real*4 Emed ! (keV) Average of the observed median X-ray event * energy statistic real*4 e_Emed ! (keV) Standard deviation of Emed integer*4 AV ! (mag) Visual absorption (4) character*22 OName ! Opt/IR cluster identification(s) (5) character*1 f_OName ! [s] s: Cluster within the Collinder 228 and * South Pillars region (see section 5.2) character*12 Star1 ! First optical dominant star character*25 SpType1 ! MK spectral type for Star1 (6) character*1 Fig1 ! [a-y] Letter which identify Star1 in figure 2 character*12 Star2 ! Second optical dominant star character*12 SpType2 ! MK spectral type for Star2 (6) character*1 Fig2 ! [b-t] Letter which identify Star2 in figure 2 *Note (1): Clusters are numbered 1-20; regions are A, B, C or D, and * have no position. The region D contains stars not assigned to * clusters 1-20 nor regions A-C. *Note (2): The cluster positions represent the surface density peaks; due to * non-spherical distributions, these may not correspond to mean or * median positions of the member stars. *Note (3): Contour counted from the lowest contour in figure 1(b)). For example, * contour "2m" represents the second lowest contour where "m" is * appended when the contour was modified to produce a closed boundary. *Note (4): Visual absorption, A_V_, can be estimated from the gas column * densities, N_H_, inferred from <Emed> assuming standard gas-to-dust * ratios (Vuong et al. 2003A&A...408..581V). These A_V_ estimates, * ranging from A_V_~2 to 10mag, are reported with low precision. *Note (5): Correspondences to previously known optical and near-infrared star * clusters are established visually from maps given by Feinstein * (1995RMxAC...2...57F) and Smith & Brooks (2008hsf2.book..138S). Note * that Trumpler 16 is divided into seven clusters in our analysis. * Associations with mid-infrared clusters in the South Pillars region * are based on the Spitzer IRAC study of Smith et al. * (2010MNRAS.406..952S). *Note (6): Spectral type from Gagne et al. (2011, Cat. J/ApJS/194/5) or Simbad. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! Small groups of X-ray stars outside of major clusters integer*4 nr__1 parameter (nr__1=31) ! Number of records character*47 ar__1 ! Full-size record C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg_1 ! (deg) Right Ascension J2000 real*8 DEdeg_1 ! (deg) Declination J2000 C ---------------------------------- ! (position vector(s) in degrees) integer*4 Gp ! [1/31] CCCP-Gp source identification integer*4 RAh_1 ! (h) X-ray Hour of right ascension (J2000) integer*4 RAm_1 ! (min) X-ray Minute of right ascension (J2000) real*4 RAs_1 ! (s) X-ray Second of right ascension (J2000) character*1 DE__1 ! X-ray Sign of the declination (J2000) integer*4 DEd_1 ! (deg) X-ray Degree of declination (J2000) integer*4 DEm_1 ! (arcmin) X-ray Arcminute of declination (J2000) integer*4 DEs_1 ! (arcsec) X-ray Arcsecond of declination (J2000) integer*4 N_1 ! Star population of the cluster integer*4 Nmed_1 ! Cluster members for which Emed is available real*4 Emed_1 ! (keV) ? Average of the observed median X-ray event * energy statistic real*4 e_Emed_1 ! (keV) ? Standard deviation of Emed integer*4 AV_1 ! (mag) ? Visual absorption character*1 Cluster ! [ABJLMN] Spitzer cluster identification character*1 f_Cluster ! [s] s: Cluster within the Collinder 228 and * South Pillars region (see section 5.2) c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! Carina cluster membership integer*4 nr__2 parameter (nr__2=14368) ! Number of records character*87 ar__2 ! Full-size record C J2000 position composed of: RAdeg DEdeg integer*4 CCCP ! CCCP source number * (<[BTF2011] CCCP NNNNN> in Simbad) character*10 Label ! CCCP source label (1) character*18 CXOGNC ! IAU designation (HHMMSS.ss+DDMMSS.s) real*8 RAdeg_2 ! (deg) Right ascension in decimal degrees (J2000) real*8 DEdeg_2 ! (deg) Declination in decimal degrees (J2000) real*8 Ncts ! (ct) Net counts real*4 Flux2 ! ([ct/s/cm2]) Log photometric flux in the "total" 0.5-8keV * Chandra band; photons/s/cm^2^ real*4 Emed_2 ! (keV) ?=-99 Median X-ray energy character*2 Class ! Source membership class (2) character*3 ClGp ! Cluster/Group membership (3) character*1 Reg ! [A-D] Large-scale region membership (4) *Note (1): Source labels identify a CCCP pointing; they do not convey * membership in astrophysical clusters. *Note (2): Class from Broos et al., 2011, Cat. J/ApJS/194/4, as follows: * H0 = ambiguous source; * H1 = probable foreground star; * H2 = probable Carina member; * H3 = probable background star; * H4 = probable extragalactic contaminant. *Note (3): Designations "C1","C2", ..., "C20" refer to the 20 X-ray clusters * in Table 1. Designations "G1", "G2", ..., "G31" refer to the 31 X-ray * groups in Table 2. *Note (4): Designations "A", "B", "C", and "D" refer to the large-scale * X-ray regions in Table 1. C============================================================================= C Loading file 'table1.dat' ! Principal clusters of X-ray stars in the Carina * star-forming complex (see section 3.1) C Format for file interpretation 1 format( + A2,1X,A1,1X,I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,I2,1X,A2,1X,I4, + 1X,I4,1X,F4.2,1X,F4.2,1X,I2,1X,A22,1X,A1,1X,A12,1X,A25,1X,A1, + 1X,A12,1X,A12,1X,A1) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,24 read(1,'(A145)')ar__ read(ar__,1) + ClReg,f_ClReg,RAh,RAm,RAs,DE_,DEd,DEm,DEs,Cntr,N,Nmed,Emed, + e_Emed,AV,OName,f_OName,Star1,SpType1,Fig1,Star2,SpType2,Fig2 if(ar__(6:7) .EQ. '') RAh = iNULL__ if(ar__(9:10) .EQ. '') RAm = iNULL__ if(ar__(12:15) .EQ. '') RAs = rNULL__ if(ar__(18:19) .EQ. '') DEd = iNULL__ if(ar__(21:22) .EQ. '') DEm = iNULL__ if(ar__(24:25) .EQ. '') DEs = iNULL__ 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) + ClReg,f_ClReg,RAh,RAm,RAs,DE_,DEd,DEm,DEs,Cntr,N,Nmed,Emed, + e_Emed,AV,OName,f_OName,Star1,SpType1,Fig1,Star2,SpType2,Fig2 write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table2.dat' ! Small groups of X-ray stars outside of major clusters C Format for file interpretation 2 format( + I2,1X,I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,I2,1X,I2,1X,I2,1X, + F4.2,1X,F4.2,1X,I3,1X,A1,1X,A1) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,31 read(1,'(A47)')ar__1 read(ar__1,2) + Gp,RAh_1,RAm_1,RAs_1,DE__1,DEd_1,DEm_1,DEs_1,N_1,Nmed_1, + Emed_1,e_Emed_1,AV_1,Cluster,f_Cluster if(ar__1(31:34) .EQ. '') Emed_1 = rNULL__ if(ar__1(36:39) .EQ. '') e_Emed_1 = rNULL__ if(ar__1(41:43) .EQ. '') AV_1 = iNULL__ RAdeg_1 = rNULL__ DEdeg_1 = 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 .GT. -180) RAdeg_1=RAh_1*15. if(RAm_1 .GT. -180) RAdeg_1=RAdeg_1+RAm_1/4. if(RAs_1 .GT. -180) RAdeg_1=RAdeg_1+RAs_1/240. if(DEd_1 .GE. 0) DEdeg_1=DEd_1 if(DEm_1 .GE. 0) DEdeg_1=DEdeg_1+DEm_1/60. if(DEs_1 .GE. 0) DEdeg_1=DEdeg_1+DEs_1/3600. if(DE__1.EQ.'-'.AND.DEdeg_1.GE.0) DEdeg_1=-DEdeg_1 c ..............Just test output........... write(6,2) + Gp,RAh_1,RAm_1,RAs_1,DE__1,DEd_1,DEm_1,DEs_1,N_1,Nmed_1, + Emed_1,e_Emed_1,AV_1,Cluster,f_Cluster write(6,'(6H Pos: 2F8.4)') RAdeg_1,DEdeg_1 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table3.dat' ! Carina cluster membership C Format for file interpretation 3 format( + I5,1X,A10,1X,A18,1X,F10.6,1X,F10.6,1X,F7.1,1X,F5.2,1X,F6.2,1X, + A2,1X,A3,1X,A1) C Effective file loading open(unit=1,status='old',file= +'table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,14368 read(1,'(A87)')ar__2 read(ar__2,3) + CCCP,Label,CXOGNC,RAdeg_2,DEdeg_2,Ncts,Flux2,Emed_2,Class, + ClGp,Reg c ..............Just test output........... write(6,3) + CCCP,Label,CXOGNC,RAdeg_2,DEdeg_2,Ncts,Flux2,Emed_2,Class, + ClGp,Reg c .......End.of.Just test output........... end do close(1) C============================================================================= stop end