Conversion of standardized ReadMe file for
file /./ftp/cats/J/AJ/129/1607 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/AJ/129/1607 Equivalent widths of 4 RGB in NGC 7492 (Cohen+, 2005) *================================================================================ *Outer versus inner halo globular clusters: NGC 7492 abundances. * Cohen J.G., Melendez J. * <Astron. J., 129, 1607-1615 (2005)> * =2005AJ....129.1607C C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! Equivalent widths integer*4 nr__ parameter (nr__=214) ! Number of records character*49 ar__ ! Full-size record character*4 Ion (nr__) ! Ion identification real*8 Wave (nr__) ! (0.1nm) Wavelength in Angstroms real*4 EP (nr__) ! (eV) Excitation potential real*4 log_gf (nr__) ! ([-]) Log of the oscillator strength real*4 EW_231 (nr__) ! (0.1pm) ? NGC 7492 star 231 equivalent width (1) real*4 EW_R (nr__) ! (0.1pm) ? NGC 7492 star R equivalent width (1) real*4 EW_950 (nr__) ! (0.1pm) ? NGC 7492 star 950 equivalent width (1) real*4 EW_458 (nr__) ! (0.1pm) ? NGC 7492 star 458 equivalent width (1) *Note (1): In units of milliAngstroms. Alphabetical identifications are * from Buonanno et al. (1987, Cat. <J/A+AS/67/327>), numerical ones are * from Cuffey (1961, Cat. <J/MNRAS/122/363>). C============================================================================= C Loading file 'table3.dat' ! Equivalent widths C Format for file interpretation 1 format( + A4,1X,F7.2,1X,F4.2,1X,F6.2,1X,F5.1,1X,F5.1,1X,F5.1,1X,F5.1) C Effective file loading open(unit=1,status='old',file= +'table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,214 read(1,'(A49)')ar__ read(ar__,1) + Ion(i__),Wave(i__),EP(i__),log_gf(i__),EW_231(i__),EW_R(i__), + EW_950(i__),EW_458(i__) if(ar__(26:30) .EQ. '') EW_231(i__) = rNULL__ if(ar__(32:36) .EQ. '') EW_R(i__) = rNULL__ if(ar__(38:42) .EQ. '') EW_950(i__) = rNULL__ if(ar__(44:48) .EQ. '') EW_458(i__) = rNULL__ c ..............Just test output........... write(6,1) + Ion(i__),Wave(i__),EP(i__),log_gf(i__),EW_231(i__),EW_R(i__), + EW_950(i__),EW_458(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end