Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/413/604 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/ApJ/413/604 30 Dor (Hill+, 1993) *================================================================================ *30 Doradus: ultraviolet and optical stellar photometry * HILL J.K., BOHLIN R.C., CHENG K.-P., FANELLI M.N., HINTZEN P., * O'CONNELL R.W., ROBERTS M.S., SMITH A.M., SMITH E.P., STECHER T.P. * <Astrophys. J. 413, 604 (1993)> * =1993ApJ...413..604H (SIMBAD/NED Reference) C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3' ! Stellar UV and B photometry integer*4 nr__ parameter (nr__=314) ! Number of records character*54 ar__ ! Full-size record integer*4 UIT (nr__) ! Ultraviolet Imaging Telescope (UIT) number real*8 dRA (nr__) ! (arcsec) Right ascension (2000) offset from R136 * (= 5:38:42) real*8 dDE (nr__) ! (arcsec) Declination (2000) offset from R136 * (= -69:6:1) real*8 m162 (nr__) ! (mag) []? m_162 magnitude in the UIT B5 band real*8 m189 (nr__) ! (mag) []? m_189 magnitude in the UIT A2 band real*8 m221 (nr__) ! (mag) []? m_221 magnitude in the UIT A4 band real*8 m256 (nr__) ! (mag) []? m_256 magnitude in the UIT A5 band real*8 B (nr__) ! (mag) []? B magnitude in the optical B band c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table5' ! Fit spectral types and extinctions integer*4 nr__1 parameter (nr__1=314) ! Number of records character*32 ar__1 ! Full-size record integer*4 UIT_1 (nr__1) ! Ultraviolet Imaging Telescope (UIT) number character*8 SP (nr__1) ! Estimated spectral type real*4 E_B_V_F (nr__1) ! (mag) Estimated F curve E(B-V)_F (Fitzpatrick 1985) real*4 E_B_V_FS (nr__1) ! (mag) Estimated FS curve E(B-V)_FS (Fitzpatrick 1984) real*4 RMS (nr__1) ! Estimated rms magnitude differences between * the best-fit model and the observations C============================================================================= C Loading file 'table3' ! Stellar UV and B photometry C Format for file interpretation 1 format(I4,1X,F7.1,F7.1,F7.2,F7.2,F7.2,F7.2,F7.2) C Effective file loading open(unit=1,status='old',file= +'table3') write(6,*) '....Loading file: table3' do i__=1,314 read(1,'(A54)')ar__ read(ar__,1) + UIT(i__),dRA(i__),dDE(i__),m162(i__),m189(i__),m221(i__), + m256(i__),B(i__) if(ar__(20:26) .EQ. '') m162(i__) = rNULL__ if(ar__(27:33) .EQ. '') m189(i__) = rNULL__ if(ar__(34:40) .EQ. '') m221(i__) = rNULL__ if(ar__(41:47) .EQ. '') m256(i__) = rNULL__ if(ar__(48:54) .EQ. '') B(i__) = rNULL__ c ..............Just test output........... write(6,1) + UIT(i__),dRA(i__),dDE(i__),m162(i__),m189(i__),m221(i__), + m256(i__),B(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table5' ! Fit spectral types and extinctions C Format for file interpretation 2 format(I4,2X,A8,F6.2,F6.2,F6.2) C Effective file loading open(unit=1,status='old',file= +'table5') write(6,*) '....Loading file: table5' do i__=1,314 read(1,'(A32)')ar__1 read(ar__1,2) + UIT_1(i__),SP(i__),E_B_V_F(i__),E_B_V_FS(i__),RMS(i__) c ..............Just test output........... write(6,2) + UIT_1(i__),SP(i__),E_B_V_F(i__),E_B_V_FS(i__),RMS(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end