Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/719/1784 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-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/719/1784 Yellow supergiants in the SMC (Neugent+, 2010) *================================================================================ *Yellow supergiants in the Small Magellanic Cloud: putting current evolutionary *theory to the test. * Neugent K.F., Massey P., Skiff B., Drout M.R., Meynet G., Olsen K.A.G. * <Astrophys. J., 719, 1784-1795 (2010)> * =2010ApJ...719.1784N C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Properties of observed targets integer*4 nr__ parameter (nr__=497) ! Number of records character*134 ar__ ! Full-size record C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg ! (deg) Right Ascension J2000 real*8 DEdeg ! (deg) Declination J2000 C ---------------------------------- ! (position vector(s) in degrees) character*17 v2MASS ! 2MASS identification character*1 f_2MASS ! [a] averaged resutlt (1) integer*4 RAh ! (h) Hour of Right Ascension (J2000) integer*4 RAm ! (min) Minute of Right Ascension (J2000) real*4 RAs ! (s) Second of Right Ascension (J2000) character*1 DE_ ! Sign of Declination (J2000) integer*4 DEd ! (deg) Degree of Declination (J2000) integer*4 DEm ! (arcmin) Arcminute of Declination (J2000) real*4 DEs ! (arcsec) Arcsecond of Declination (J2000) real*4 Ksmag ! (mag) 2MASS Ks band magnitude real*4 J_Ks ! (mag) The (J-Ks) color index real*4 Vmag ! (mag) ? V band magnitude real*4 B_V ! (mag) ? The (B-V) color index integer*4 r_B_V ! [1/5] The Vmag and B-V photometry reference * (see refs.dat file) real*4 HRV ! (km/s) Radial velocity real*4 r ! Tondry & Davis, 1979AJ.....84.1511T, r parameter integer*4 Cat ! [1/3] Category (G1) character*9 SpT1 ! MK spectral classification from Hydra spectra character*9 SpT2 ! Literature MK spectral classification integer*4 r_SpT2 ! [11/31]? Spectral classification reference (see * refs.dat file) character*28 Comm ! Additional comments (2) *Note (1): These stars were imaged twice and their results were averaged. * The average difference in Vel_obs_ was 2.2km/s and the average * difference in the r parameter was 13.7. *Note (2): Comments include: alternate names for the star, comments on the * blue spectra and comments based on the literature search. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! Derived properties of SMC yellow supergiants integer*4 nr__1 parameter (nr__1=192) ! Number of records character*39 ar__1 ! Full-size record character*17 v2MASS_1 ! 2MASS identification character*1 f_2MASS_1 ! [a] No (B-V) color (1) integer*4 Cat_1 ! [1/2] Category (G1) real*4 Teff ! (10+3K) Effective temperature real*4 logL ! ([Lsun]) Log luminosity character*1 l_EW ! Limit flag on EW real*4 EW ! (0.1nm) Equivalent width of OI 7774{AA} line (2) *Note (1): This star didn't have a known B-V color, so instead we used the * star's J-K color to derive the Teff and logL. *Note (2): We found we couldn't measure OI (7774{AA}) if it had an equivalent * width of less than 0.2{AA}. The units are in Angstroms. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! SMC supergiants not observed integer*4 nr__2 parameter (nr__2=17) ! Number of records character*112 ar__2 ! Full-size record C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg_1 ! (deg) Right Ascension J2000 real*8 DEdeg_1 ! (deg) Declination J2000 C ---------------------------------- ! (position vector(s) in degrees) character*17 v2MASS_2 ! 2MASS name (JHHMMSSss+DDMMSSs) character*1 f_2MASS_2 ! [a] stars we selected but were not observed integer*4 RAh_1 ! (h) Hour of right ascension (J2000) integer*4 RAm_1 ! (min) Minute of right ascension (J2000) real*4 RAs_1 ! (s) Second of right ascension (J2000) character*1 DE__1 ! Sign of declination (J2000) integer*4 DEd_1 ! (deg) Degree of declination (J2000) integer*4 DEm_1 ! (arcmin) Arcminute of declination (J2000) real*4 DEs_1 ! (arcsec) Arcsecond of declination (J2000) real*4 Ksmag_1 ! (mag) 2MASS Ks-band magnitude real*4 J_K ! (mag) J-K color index real*4 Vmag_1 ! (mag) V-band magnitude integer*4 r_Vmag ! [1-3] Reference for Vmag (see refs.dat file) character*5 SpT ! MK spectral type from litterature integer*4 r_SpT ! [18/32] Reference for spectral classification * (see refs.dat file) character*15 AName ! Alternative name(s) character*24 Comm_1 ! Comment c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'refs.dat' ! References integer*4 nr__3 parameter (nr__3=27) ! Number of records character*66 ar__3 ! Full-size record integer*4 Ref ! [1/32] Reference code character*19 BibCode ! Bibcode character*19 Aut ! Author's name(s) character*23 Comm_2 ! Comment C============================================================================= C Loading file 'table1.dat' ! Properties of observed targets C Format for file interpretation 1 format( + A17,1X,A1,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,F5.2, + 1X,F4.2,1X,F5.2,1X,F5.2,1X,I1,1X,F5.1,1X,F5.1,1X,I1,1X,A9,1X, + A9,1X,I2,1X,A28) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,497 read(1,'(A134)')ar__ read(ar__,1) + v2MASS,f_2MASS,RAh,RAm,RAs,DE_,DEd,DEm,DEs,Ksmag,J_Ks,Vmag, + B_V,r_B_V,HRV,r,Cat,SpT1,SpT2,r_SpT2,Comm if(ar__(56:60) .EQ. '') Vmag = rNULL__ if(ar__(62:66) .EQ. '') B_V = rNULL__ if(ar__(104:105) .EQ. '') r_SpT2 = iNULL__ 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) + v2MASS,f_2MASS,RAh,RAm,RAs,DE_,DEd,DEm,DEs,Ksmag,J_Ks,Vmag, + B_V,r_B_V,HRV,r,Cat,SpT1,SpT2,r_SpT2,Comm write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table2.dat' ! Derived properties of SMC yellow supergiants C Format for file interpretation 2 format(A17,1X,A1,1X,I1,1X,F5.3,1X,F5.3,1X,A1,F4.1) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,192 read(1,'(A39)')ar__1 read(ar__1,2)v2MASS_1,f_2MASS_1,Cat_1,Teff,logL,l_EW,EW c ..............Just test output........... write(6,2)v2MASS_1,f_2MASS_1,Cat_1,Teff,logL,l_EW,EW c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table3.dat' ! SMC supergiants not observed C Format for file interpretation 3 format( + A17,1X,A1,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,F5.2, + 1X,F4.2,1X,F5.2,1X,I1,1X,A5,1X,I2,1X,A15,1X,A24) C Effective file loading open(unit=1,status='old',file= +'table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,17 read(1,'(A112)')ar__2 read(ar__2,3) + v2MASS_2,f_2MASS_2,RAh_1,RAm_1,RAs_1,DE__1,DEd_1,DEm_1,DEs_1, + Ksmag_1,J_K,Vmag_1,r_Vmag,SpT,r_SpT,AName,Comm_1 RAdeg_1 = rNULL__ DEdeg_1 = rNULL__ c Derive coordinates RAdeg_1 and DEdeg_1 from input data c (RAdeg_1 and DEdeg_1 are set to rNULL__ when unknown) if(RAh_1 .GT. -180) RAdeg_1=RAh_1*15. if(RAm_1 .GT. -180) RAdeg_1=RAdeg_1+RAm_1/4. if(RAs_1 .GT. -180) RAdeg_1=RAdeg_1+RAs_1/240. if(DEd_1 .GE. 0) DEdeg_1=DEd_1 if(DEm_1 .GE. 0) DEdeg_1=DEdeg_1+DEm_1/60. if(DEs_1 .GE. 0) DEdeg_1=DEdeg_1+DEs_1/3600. if(DE__1.EQ.'-'.AND.DEdeg_1.GE.0) DEdeg_1=-DEdeg_1 c ..............Just test output........... write(6,3) + v2MASS_2,f_2MASS_2,RAh_1,RAm_1,RAs_1,DE__1,DEd_1,DEm_1,DEs_1, + Ksmag_1,J_K,Vmag_1,r_Vmag,SpT,r_SpT,AName,Comm_1 write(6,'(6H Pos: 2F8.4)') RAdeg_1,DEdeg_1 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'refs.dat' ! References C Format for file interpretation 4 format(I2,1X,A19,1X,A19,1X,A23) C Effective file loading open(unit=1,status='old',file= +'refs.dat') write(6,*) '....Loading file: refs.dat' do i__=1,27 read(1,'(A66)')ar__3 read(ar__3,4)Ref,BibCode,Aut,Comm_2 c ..............Just test output........... write(6,4)Ref,BibCode,Aut,Comm_2 c .......End.of.Just test output........... end do close(1) C============================================================================= stop end