Conversion of standardized ReadMe file for
file /./ftp/cats/J/AJ/116/723 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-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/116/723 LMC star clusters ages and metallicity (Bica+ 1998) *================================================================================ *Ages and metallicities of star clusters and surrounding fields in the outer disk *of the Large Magellanic Cloud. * Bica E., Geisler D., Dottori H., Claria J.J., Piatti A.E., * Santos J.F.C.Jr * <Astron. J. 116, 723 (1998)> * =1998AJ....116..723B (SIMBAD/NED BibCode) C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'tab134.dat' ! Sample of outlying clusters and surrounding fields, ages, reddenings and metallicities integer*4 nr__ parameter (nr__=14) ! Number of records character*108 ar__ ! Full-size record C B1950.0 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg ! (deg) Right Ascension B1950.0 real*8 DEdeg ! (deg) Declination B1950.0 C ---------------------------------- ! (position vector(s) in degrees) character*12 Cluster ! Star cluster designation character*14 OtherName ! Other name of the star cluster integer*4 RAh ! (h) Right ascension (B1950.0) integer*4 RAm ! (min) Right ascension (B1950.0) integer*4 RAs ! (s) Right ascension (B1950.0) character*1 DE_ ! Declination sign integer*4 DEd ! (deg) Declination (B1950.0) integer*4 DEm ! (arcmin) Declination (B1950.0) integer*4 DEs ! (arcsec) Declination (B1950.0) real*4 GLON ! (deg) Galactic longitude real*4 GLAT ! (deg) Galactic latitude real*4 Rad ! (deg) Cluster radius real*4 R ! (deg) Deprojected angular distance character*1 Note ! [abc] Note (1) real*4 AgeCluster ! (Gyr) Cluster age character*1 u_AgeCluster ! Uncertainty flag on AgeCluster character*1 l_AgeField ! Limit flag on AgeField real*4 AgeField ! (Gyr) ? Field age character*1 n_AgeField ! [a] Note on AgeField (2) real*4 E_B_V ! (mag) Galactic reddening real*4 v_Fe_H_C ! ([Sun]) ? This paper cluster metallicity character*1 u__Fe_H_C ! Uncertainty flag on [Fe/H]C real*4 v_Fe_H_O ! ([Sun]) ? Olszewski et al. (1991AJ....101..515O) * cluster metallicity character*1 u__Fe_H_O ! Uncertainty flag on [Fe/H]O real*4 v_Fe_H_F ! ([Sun]) ? Field metallicity character*1 u__Fe_H_F ! Uncertainty flag on [Fe/H]F *Note (1): the letter has the following meaning: * a: IC 2134 and SL 451 are located in the same frame * b: SL 769 is included for comparison purposes: its location * corresponds to the inner disk, i.e., in our definition when the * mean field turnoff becomes as bright as the clump. * This occurs at R~4{deg} (see text). * The younger field turnoff are younger than intermediate age (<1Gyr) * and outside of our age calibration. * c: The field population corresponds essentially to that of the Galaxy *Note (2): ameans that a significant fraction of younger stars is present. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! Washington photometry integer*4 nr__1 parameter (nr__1=1788) ! Number of records character*76 ar__1 ! Full-size record character*12 Cluster_1 ! Cluster name integer*4 ID ! Identification number in the cluster real*8 Xpos ! (pix) X position (1) real*8 Ypos ! (pix) Y position (1) real*4 T1 ! (mag) T_1_ magnitude real*4 e_T1 ! (mag) rms uncertainty on T1 real*4 C_T1 ! (mag) C-T_1_ colour index real*4 e_C_T1 ! (mag) rms uncertainty on C-T1 real*4 CHI ! {chi} PARAMETER real*4 SHARP ! SHARP parameter *Note (1): 1 pix = 0.40". North is up, east is to the left. C============================================================================= C Loading file 'tab134.dat' ! Sample of outlying clusters and surrounding * fields, ages, reddenings and metallicities C Format for file interpretation 1 format( + A12,1X,A14,2X,I2,1X,I2,1X,I2,1X,A1,I2,1X,I2,1X,I2,1X,F5.1,1X, + F5.1,1X,F4.1,1X,F4.1,1X,A1,1X,F3.1,A1,1X,A1,F3.1,A1,1X,F4.2, + 1X,F5.2,A1,1X,F5.2,A1,1X,F5.2,A1) C Effective file loading open(unit=1,status='old',file= +'tab134.dat') write(6,*) '....Loading file: tab134.dat' do i__=1,14 read(1,'(A108)')ar__ read(ar__,1) + Cluster,OtherName,RAh,RAm,RAs,DE_,DEd,DEm,DEs,GLON,GLAT,Rad,R, + Note,AgeCluster,u_AgeCluster,l_AgeField,AgeField,n_AgeField, + E_B_V,v_Fe_H_C,u__Fe_H_C,v_Fe_H_O,u__Fe_H_O,v_Fe_H_F,u__Fe_H_F if(ar__(79:81) .EQ. '') AgeField = rNULL__ if(ar__(89:93) .EQ. '') v_Fe_H_C = rNULL__ if(ar__(96:100) .EQ. '') v_Fe_H_O = rNULL__ if(ar__(103:107) .EQ. '') v_Fe_H_F = rNULL__ RAdeg = rNULL__ DEdeg = rNULL__ c Derive coordinates RAdeg and DEdeg from input data c (RAdeg and DEdeg are set to rNULL__ when unknown) if(RAh .GT. -180) RAdeg=RAh*15. if(RAm .GT. -180) RAdeg=RAdeg+RAm/4. if(RAs .GT. -180) RAdeg=RAdeg+RAs/240. if(DEd .GE. 0) DEdeg=DEd if(DEm .GE. 0) DEdeg=DEdeg+DEm/60. if(DEs .GE. 0) DEdeg=DEdeg+DEs/3600. if(DE_.EQ.'-'.AND.DEdeg.GE.0) DEdeg=-DEdeg c ..............Just test output........... write(6,1) + Cluster,OtherName,RAh,RAm,RAs,DE_,DEd,DEm,DEs,GLON,GLAT,Rad,R, + Note,AgeCluster,u_AgeCluster,l_AgeField,AgeField,n_AgeField, + E_B_V,v_Fe_H_C,u__Fe_H_C,v_Fe_H_O,u__Fe_H_O,v_Fe_H_F,u__Fe_H_F write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table2.dat' ! Washington photometry C Format for file interpretation 2 format( + A12,1X,I5,1X,F9.3,1X,F8.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X, + F5.3,1X,F6.3) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,1788 read(1,'(A76)')ar__1 read(ar__1,2) + Cluster_1,ID,Xpos,Ypos,T1,e_T1,C_T1,e_C_T1,CHI,SHARP c ..............Just test output........... write(6,2) + Cluster_1,ID,Xpos,Ypos,T1,e_T1,C_T1,e_C_T1,CHI,SHARP c .......End.of.Just test output........... end do close(1) C============================================================================= stop end