Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/667/911 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/667/911 Abundances on the main sequence of {omega} Cen (Stanford+, 2007) *================================================================================ *Abundances on the main sequence of {omega} Centauri. * Stanford L.M., Da Costa G.S., Norris J.E., Cannon R.D. * <Astrophys. J., 667, 911-929 (2007)> * =2007ApJ...667..911S C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! Stellar parameters, indices and abundances for {omega} Cen sample integer*4 nr__ parameter (nr__=378) ! Number of records character*76 ar__ ! Full-size record integer*4 SDN (nr__) ! Identification number as in Paper I * (Stanford et al. 2006, Cat. J/ApJ/647/1075), * Cl* NGC 5139 SDN NNNNNNN in Simbad real*4 Vmag (nr__) ! (mag) The V band magnitude real*4 B_V (nr__) ! (mag) The (B-V) color index integer*4 Teff (nr__) ! (K) The effective temperature real*4 log_g (nr__) ! ([cm/s2]) Log of the surface gravity real*4 v_Fe_H_ (nr__) ! ([Sun]) Metallicity real*4 GBand (nr__) ! G band (CH, ~4300{AA}) index real*4 S3839 (nr__) ! S3839 index (1) real*4 Sr4077 (nr__) ! Sr II (4077{AA}) line index real*4 Ba4554 (nr__) ! Ba II (4554{AA}) line index real*4 v_C_Fe_ (nr__) ! ([-]) ? Log of the C/Fe number abundance real*4 v_N_Fe_ (nr__) ! ([-]) ? Log of the N/Fe number abundance real*4 v_Sr_Fe_ (nr__) ! ([-]) ? Log of the Sr/Fe number abundance *Note (1): CN index as defined by Norris et al. (1981ApJ...244..205N) from * the violet CN band at 3883{AA}). C============================================================================= C Loading file 'table3.dat' ! Stellar parameters, indices and abundances for * {omega} Cen sample C Format for file interpretation 1 format( + I7,1X,F6.3,1X,F5.3,1X,I4,1X,F3.1,1X,F5.2,1X,F5.2,1X,F5.2,1X, + F5.2,1X,F6.2,1X,F5.2,1X,F4.2,1X,F4.2) C Effective file loading open(unit=1,status='old',file= +'table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,378 read(1,'(A76)')ar__ read(ar__,1) + SDN(i__),Vmag(i__),B_V(i__),Teff(i__),log_g(i__),v_Fe_H_(i__), + GBand(i__),S3839(i__),Sr4077(i__),Ba4554(i__),v_C_Fe_(i__), + v_N_Fe_(i__),v_Sr_Fe_(i__) if(ar__(62:66) .EQ. '') v_C_Fe_(i__) = rNULL__ if(ar__(68:71) .EQ. '') v_N_Fe_(i__) = rNULL__ if(ar__(73:76) .EQ. '') v_Sr_Fe_(i__) = rNULL__ c ..............Just test output........... write(6,1) + SDN(i__),Vmag(i__),B_V(i__),Teff(i__),log_g(i__),v_Fe_H_(i__), + GBand(i__),S3839(i__),Sr4077(i__),Ba4554(i__),v_C_Fe_(i__), + v_N_Fe_(i__),v_Sr_Fe_(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end