Conversion of standardized ReadMe file for
file /./ftp/cats/J/AJ/138/770 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/AJ/138/770 HST/WFPC survey of M31 bright young clusters (Hodge+, 2009) *================================================================================ *An HST/WFPC survey of bright young clusters in M31. *II. Photometry of less luminous clusters in the fields. * Hodge P.W., Krienke O.K., Bellazzini M., Perina S., Barmby P., Cohen J.G., * Puzia T.H., Strader J. * <Astron. J., 138, 770-779 (2009)> * =2009AJ....138..770H C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Star clusters of the survey integer*4 nr__ parameter (nr__=89) ! Number of records character*51 ar__ ! Full-size record C J2000 position composed of: RAdeg DEdeg character*8 Name (nr__) ! Cluster name (1) real*8 RAdeg (nr__) ! (deg) Right ascension in decimal degrees (J2000) real*8 DEdeg (nr__) ! (deg) Declination in decimal degrees (J2000) real*4 F450W (nr__) ! (mag) HST/ACS magnitude F450W real*4 e_F450W (nr__) ! (mag) rms uncertainty on F450W real*4 F450W_F814W(nr__) ! (mag) ? HST F450W-F814W colour index real*4 e_F450W_F814W(nr__) ! (mag) ? rms uncertainty on F450-F814W character*2 Notes (nr__) ! [*y ] Notes (2) *Note (1): Cluster name or sequential number, identified as * <[HKB2009] NN> in Simbad *Note (2): Notes as follows: * * = uncertain colors because of a low ratio of signal to galaxy * background in the F814W image * y = CMDs indicating young ages, less than ~5x10^8^ years C============================================================================= C Loading file 'table1.dat' ! Star clusters of the survey C Format for file interpretation 1 format(A8,1X,F8.5,1X,F8.5,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,A2) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,89 read(1,'(A51)')ar__ read(ar__,1) + Name(i__),RAdeg(i__),DEdeg(i__),F450W(i__),e_F450W(i__), + F450W_F814W(i__),e_F450W_F814W(i__),Notes(i__) if(ar__(39:43) .EQ. '') F450W_F814W(i__) = rNULL__ if(ar__(45:48) .EQ. '') e_F450W_F814W(i__) = rNULL__ c ..............Just test output........... write(6,1) + Name(i__),RAdeg(i__),DEdeg(i__),F450W(i__),e_F450W(i__), + F450W_F814W(i__),e_F450W_F814W(i__),Notes(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end