Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/646/269 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/ApJ/646/269 Multiwavelength analysis of NGC 2362 (Delgado+, 2006) *================================================================================ *Multiwavelength analysis of the young open cluster NGC 2362. * Delgado A.J., Gonzalez-Martin O., Alfaro E.J., Yun J. * <Astrophys. J., 646, 269-274 (2006)> * =2006ApJ...646..269D C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Optical, Near Infrared, and X-ray data for NGC 2362 integer*4 nr__ parameter (nr__=178) ! Number of records character*119 ar__ ! Full-size record C J2000 position composed of: RAdeg DEdeg integer*4 Star (nr__) ! Star identification number, * Cl* NGC 2362 DGA NNNN in Simbad integer*4 Mm (nr__) ! Membership identification (1) real*8 RAdeg (nr__) ! (deg) Right Ascension in decimal degrees (J2000) real*8 DEdeg (nr__) ! (deg) Declination in decimal degrees (J2000) real*4 Vmag (nr__) ! (mag) The Johnson V band magnitude real*4 U_B (nr__) ! (mag) ? The Johnson (U-B) color index real*4 B_V (nr__) ! (mag) ? The Johnson (B-V) color index real*4 V_Rc (nr__) ! (mag) ? The Johnson-Cousins (V-Rc) color index real*4 V_Ic (nr__) ! (mag) ? The Johnson-Cousins (V-Ic) color index real*4 d_H_K (nr__) ! (mag) ? The (H-K) increment with respect to the * reddening line in the (J-H),(H-K) diagram real*4 EWHa (nr__) ! (0.1nm) ? H{alpha} equivalent width in Angstroms real*4 EWLi (nr__) ! (0.1nm) ? Li I (6708{AA}) equivalent width in Angstroms real*4 SFlux (nr__) ! (mW/m2) ? Soft (0.6-2keV) band flux (2) real*4 HFlux (nr__) ! (mW/m2) ? Hard (2-8keV) band flux (2) real*4 logLx (nr__) ! ([10-7W]) ? Log of the X-ray luminosity (3) real*4 logLB (nr__) ! ([10-7W]) Log of the bolometric luminosity (3) *Note (1): Membership identification as follows: * 0 = no membership assignment * 1 = main sequence * 2 = pre-main sequence *Note (2): In units of erg/s/cm^2^. *Note (3): In units of erg/s. C============================================================================= C Loading file 'table1.dat' ! Optical, Near Infrared, and X-ray data for NGC 2362 C Format for file interpretation 1 format( + I4,1X,I1,1X,F10.6,1X,F10.6,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X, + F6.3,1X,F6.3,1X,F6.3,1X,F5.3,1X,E10.4,1X,E10.4,1X,F6.3,1X,F6.3) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,178 read(1,'(A119)')ar__ read(ar__,1) + Star(i__),Mm(i__),RAdeg(i__),DEdeg(i__),Vmag(i__),U_B(i__), + B_V(i__),V_Rc(i__),V_Ic(i__),d_H_K(i__),EWHa(i__),EWLi(i__), + SFlux(i__),HFlux(i__),logLx(i__),logLB(i__) if(ar__(37:42) .EQ. '') U_B(i__) = rNULL__ if(ar__(44:49) .EQ. '') B_V(i__) = rNULL__ if(ar__(51:56) .EQ. '') V_Rc(i__) = rNULL__ if(ar__(58:63) .EQ. '') V_Ic(i__) = rNULL__ if(ar__(65:70) .EQ. '') d_H_K(i__) = rNULL__ if(ar__(72:77) .EQ. '') EWHa(i__) = rNULL__ if(ar__(79:83) .EQ. '') EWLi(i__) = rNULL__ if(ar__(85:94) .EQ. '') SFlux(i__) = rNULL__ if(ar__(96:105) .EQ. '') HFlux(i__) = rNULL__ if(ar__(107:112) .EQ. '') logLx(i__) = rNULL__ c ..............Just test output........... write(6,1) + Star(i__),Mm(i__),RAdeg(i__),DEdeg(i__),Vmag(i__),U_B(i__), + B_V(i__),V_Rc(i__),V_Ic(i__),d_H_K(i__),EWHa(i__),EWLi(i__), + SFlux(i__),HFlux(i__),logLx(i__),logLB(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end