Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/649/862 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-17 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/649/862 IR phot. of IC 348 pre-main-sequence stars (Cieza+, 2006) *================================================================================ *Testing the disk regulation paradigm with Spitzer observations. *I. Rotation periods of pre-main-sequence stars in the IC 348 cluster. * Cieza L., Baliber N. * <Astrophys. J., 649, 862-878 (2006)> * =2006ApJ...649..862C C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Periodic Sample in IC 348 integer*4 nr__ parameter (nr__=143) ! Number of records character*143 ar__ ! Full-size record C J2000 position composed of: RAdeg DEdeg integer*4 Seq ! Sequential number, Cl* IC 348 CB NNN in Simbad real*8 RAdeg ! (deg) Right ascension in decimal degrees (J2000) real*8 DEdeg ! (deg) Declination in decimal degrees (J2000) real*4 Per ! (d) Rotation period integer*4 PS ! ? Normalized power spectrum peak (3) character*8 r_Per ! Period reference (1) character*5 SpT ! Spectral type from Luhman et al. 2003, * Cat. <J/ApJ/593/1093>. real*4 Rcmag ! (mag) ? Cousins R magnitude (2) real*4 Icmag ! (mag) ? Cousins I magnitude (2) real*4 Jmag ! (mag) ? Johnson J magnitude real*4 Hmag ! (mag) ? Johnson H magnitude real*4 Ksmag ! (mag) ? Johnson Ks magnitude real*4 v_3_6_ ! (mJy) ? Spitzer 3.6um flux real*4 e__3_6_ ! (mJy) ? rms uncertainty on [3.6] real*4 v_4_5_ ! (mJy) ? Spitzer 4.5um flux real*4 e__4_5_ ! (mJy) ? rms uncertainty on [4.5] real*4 v_5_8_ ! (mJy) ? Spitzer 5.8um flux real*4 e__5_8_ ! (mJy) ? rms uncertainty on [5.8] real*4 v_8_0_ ! (mJy) ? Spitzer 8.0um flux real*4 e__8_0_ ! (mJy) ? rms uncertainty on [8.0] *Note (1): Rotation period reported in the following: * 1 = this paper, * 2 = Kiziloglu et al. (2005AJ....130.2766K), * 3 = Littlefair et al. (2005, Cat. <J/MNRAS/358/341>) * 4 = Cohen et al. (2004, Cat. <J/AJ/127/1602>) *Note (2): The Ic and Rc photometry of the following stars have been taken * from Cohen et al. (2004, Cat. <J/AJ/127/1602>): * ID 45, 49, 79, 82, 87, 96, and 111. *Note (3): Peak of the normalized power spectrum peak of periodogram * (see Scargle (1982ApJ...263..835S); a value of 10 corresponds * to a false alarm probability of 1%. C============================================================================= C Loading file 'table1.dat' ! Periodic Sample in IC 348 C Format for file interpretation 1 format( + I3,1X,F7.4,1X,F7.4,1X,F4.1,1X,I2,1X,A8,A5,1X,F5.2,1X,F5.2,1X, + F5.2,1X,F5.2,1X,F5.2,1X,E8.3,1X,E8.3,1X,E8.3,1X,E8.3,1X,E8.3, + 1X,E8.3,1X,E8.3,1X,E8.3) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,143 read(1,'(A143)')ar__ read(ar__,1) + Seq,RAdeg,DEdeg,Per,PS,r_Per,SpT,Rcmag,Icmag,Jmag,Hmag,Ksmag, + v_3_6_,e__3_6_,v_4_5_,e__4_5_,v_5_8_,e__5_8_,v_8_0_,e__8_0_ if(ar__(26:27) .EQ. '') PS = iNULL__ if(ar__(43:47) .EQ. '') Rcmag = rNULL__ if(ar__(49:53) .EQ. '') Icmag = rNULL__ if(ar__(55:59) .EQ. '') Jmag = rNULL__ if(ar__(61:65) .EQ. '') Hmag = rNULL__ if(ar__(67:71) .EQ. '') Ksmag = rNULL__ if(ar__(73:80) .EQ. '') v_3_6_ = rNULL__ if(ar__(82:89) .EQ. '') e__3_6_ = rNULL__ if(ar__(91:98) .EQ. '') v_4_5_ = rNULL__ if(ar__(100:107) .EQ. '') e__4_5_ = rNULL__ if(ar__(109:116) .EQ. '') v_5_8_ = rNULL__ if(ar__(118:125) .EQ. '') e__5_8_ = rNULL__ if(ar__(127:134) .EQ. '') v_8_0_ = rNULL__ if(ar__(136:143) .EQ. '') e__8_0_ = rNULL__ c ..............Just test output........... write(6,1) + Seq,RAdeg,DEdeg,Per,PS,r_Per,SpT,Rcmag,Icmag,Jmag,Hmag,Ksmag, + v_3_6_,e__3_6_,v_4_5_,e__4_5_,v_5_8_,e__5_8_,v_8_0_,e__8_0_ c .......End.of.Just test output........... end do close(1) C============================================================================= stop end