Conversion of standardized ReadMe file for
file /./ftp/cats/J/MNRAS/424/11 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/MNRAS/424/11 Rotation of field stars from CoRoT data (Affer+, 2012) *================================================================================ *The rotation of field stars from CoRoT data. * Affer L., Micela G., Favata F., Flaccomio E. * <Mon. Not. R. Astron. Soc., 424, 11-22 (2012)> * =2012MNRAS.424...11A C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! Catalogue of periods for CoRoT MS stars towards the Galactic Centre and anticentre integer*4 nr__ parameter (nr__=1978) ! Number of records character*82 ar__ ! Full-size record C J2000 position composed of: RAdeg DEdeg integer*8 CoRoT (nr__) ! CoRoT identification number character*16 v2MASS (nr__) ! 2MASS name (HHMMSSss+DDMMSSs) real*8 RAdeg (nr__) ! (deg) Right ascension in decimal degrees (J2000) real*8 DEdeg (nr__) ! (deg) Declination in decimal degrees (J2000) real*8 Per (nr__) ! (d) Period character*3 Meth (nr__) ! [12- ] Method used: 1=periodogram analysis, * 2=autocorrelation character*1 LC (nr__) ! [PRE] Type of lightcurve: P=pulsation, * R=rotation, E=eclipsing binary character*14 FileName (nr__) ! Name of the file with the light curves, * in subdirectory plots real*4 Prot (nr__) ! ? Rotational periods of eclipsing binaries C============================================================================= C Loading file 'table2.dat' ! Catalogue of periods for CoRoT MS stars towards * the Galactic Centre and anticentre C Format for file interpretation 1 format( + I10,1X,A16,1X,F9.5,1X,F8.5,1X,F7.3,1X,A3,3X,A1,1X,A14,1X,F4.1) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,1978 read(1,'(A82)')ar__ read(ar__,1) + CoRoT(i__),v2MASS(i__),RAdeg(i__),DEdeg(i__),Per(i__), + Meth(i__),LC(i__),FileName(i__),Prot(i__) if(ar__(79:82) .EQ. '') Prot(i__) = rNULL__ c ..............Just test output........... write(6,1) + CoRoT(i__),v2MASS(i__),RAdeg(i__),DEdeg(i__),Per(i__), + Meth(i__),LC(i__),FileName(i__),Prot(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end