Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/408/305 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-Mar-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/408/305 Cat of Stellar Lyman-Alpha Fluxes (Landsman, Simon 1993) *================================================================================ *A catalog of stellar Lyman-alpha fluxes * LANDSMAN W.B. , SIMON T. * <Astrophys. J. 408, 305 (1993)> * =1993ApJ...408..305L C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1' ! Lyman-alpha fluxes integer*4 nr__ parameter (nr__=275) ! Number of records character*80 ar__ ! Full-size record character*10 Name ! Star Name integer*4 HD ! []? HD number character*14 Sp ! Spectral type real*4 V ! (mag) V magnitude real*4 B_V ! (mag) B-V color integer*4 Image ! IUE SWP image number integer*4 ExpTim ! (s) IUE Exposure Time character*1 n_Flux ! [H ] 'H' if high-dispersion spectrum character*1 l_Flux ! limit flag on Lyman alpha flux integer*4 Flux ! (10-16W/m2/nm) Lyman alpha flux (in 10-14 erg/cm2/s/A) integer*4 q_Flux ! *[-1/4] Measurement quality (1) character*1 l_NFlux ! limit flag on normalized Lyman alpha flux real*8 NFlux ! Normalized Lyman alpha flux * (in 10-7 x normalization) *Note on q_Flux: * Each measurement was assigned a data quality code according to the * signal to noise after removal of the diffuse Lyman alpha background * emission. * -1 - upper limit * 1 - good quality * 2 - fair quality * 3 - poor quality * 4 - contains saturated pixels C============================================================================= C Loading file 'table1' ! Lyman-alpha fluxes C Format for file interpretation 1 format( + A10,1X,I7,1X,A14,1X,F5.2,1X,F5.2,1X,I5,1X,I5,1X,A1,1X,A1,1X, + I5,1X,I2,1X,A1,1X,F7.1) C Effective file loading open(unit=1,status='old',file= +'table1') write(6,*) '....Loading file: table1' do i__=1,275 read(1,'(A80)')ar__ read(ar__,1) + Name,HD,Sp,V,B_V,Image,ExpTim,n_Flux,l_Flux,Flux,q_Flux, + l_NFlux,NFlux if(ar__(12:18) .EQ. '') HD = iNULL__ c ..............Just test output........... write(6,1) + Name,HD,Sp,V,B_V,Image,ExpTim,n_Flux,l_Flux,Flux,q_Flux, + l_NFlux,NFlux c .......End.of.Just test output........... end do close(1) C============================================================================= stop end