Conversion of standardized ReadMe file for
file /./ftp/cats/J/other/JAD/13.2 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-Mar-28 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/other/JAD/13.2 UU Cnc UBVRI differential photometry (Kalv+, 2007) *================================================================================ *Observations of UU Cancri. * Kalv P., Oja T., Harvig V. * <Journal Astronom. Data, 13, 2 (2007)> * =2007JAD....13....2K C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! Times of normal minima of UU Cancri integer*4 nr__ parameter (nr__=94) ! Number of records character*33 ar__ ! Full-size record real*8 JD (nr__) ! (d) Julian date real*4 me (nr__) ! ?=- Mean error on Julian Date real*4 E (nr__) ! (d) Time of normal minima real*4 O_C (nr__) ! (mag) Observed minus computed magnitude character*5 Obs (nr__) ! Observers (1) *Note (1): Observers code as follows: * B = Beyer (1964, Mitt. Hamburg. Sternw. Bergedorf, No.122, 87) * Br = Brelstaff (1985) * E = Eggen (1973PASP...85...42E) * EHH = Eaton, Hall & Honeycutt (1991ApJ...376..289E) * H = Huth (1963, Mitt. Verand. Sterne, No. 744-745) * I = Isles (1986, BAAVS Circ., No. 63, 19) * KCL = Kim, Chun & Lee (1988, Vistas in Astron., 31, 343) * KO = this paper * L = Lause (1938AN....266..237L) * S = Schachowskoi (1956, Bull. AO Stalinabad, No.17, 35) * T = Taylor (1984, BAAVS Circ., No. 58, 11; * 1985, BAAVS Circ., No. 60, 19) * WZ = Winiarski & Zola (1987AcA....37..375W) c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table5.dat' ! Differential magnitudes of UU Cancri integer*4 nr__1 parameter (nr__1=234) ! Number of records character*47 ar__1 ! Full-size record real*8 JD_1 (nr__1) ! (d) Julian date real*4 dUmag (nr__1) ! (mag) ? Differential U magnitude real*4 dBmag (nr__1) ! (mag) ? Differential B magnitude real*4 dVmag (nr__1) ! (mag) ? Differential V magnitude real*4 dRmag (nr__1) ! (mag) ? Differential R magnitude real*4 dImag (nr__1) ! (mag) ? Differential I magnitude C============================================================================= C Loading file 'table3.dat' ! Times of normal minima of UU Cancri C Format for file interpretation 1 format(F10.2,2X,F3.1,1X,F5.1,1X,F5.2,1X,A5) C Effective file loading open(unit=1,status='old',file= +'table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,94 read(1,'(A33)')ar__ read(ar__,1)JD(i__),me(i__),E(i__),O_C(i__),Obs(i__) if (idig(ar__(13:15)).EQ.0) me(i__) = rNULL__ c ..............Just test output........... write(6,1)JD(i__),me(i__),E(i__),O_C(i__),Obs(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table5.dat' ! Differential magnitudes of UU Cancri C Format for file interpretation 2 format(F12.4,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3) C Effective file loading open(unit=1,status='old',file= +'table5.dat') write(6,*) '....Loading file: table5.dat' do i__=1,234 read(1,'(A47)')ar__1 read(ar__1,2) + JD_1(i__),dUmag(i__),dBmag(i__),dVmag(i__),dRmag(i__), + dImag(i__) if(ar__1(14:19) .EQ. '') dUmag(i__) = rNULL__ if(ar__1(21:26) .EQ. '') dBmag(i__) = rNULL__ if(ar__1(28:33) .EQ. '') dVmag(i__) = rNULL__ if(ar__1(35:40) .EQ. '') dRmag(i__) = rNULL__ if(ar__1(42:47) .EQ. '') dImag(i__) = rNULL__ c ..............Just test output........... write(6,2) + JD_1(i__),dUmag(i__),dBmag(i__),dVmag(i__),dRmag(i__), + dImag(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end C Locate position of first digit in string; or return 0 integer function idig(c) character*(*) c character*1 c1 integer lc,i lc=len(c) idig=0 do i=1,lc if(c(i:i).ne.' ') go to 1 end do 1 if(i.gt.lc) return c1=c(i:i) if(c1.eq.'.'.or.c1.eq.'-'.or.c1.eq.'+') i=i+1 if(i.gt.lc) return c1=c(i:i) if(c1.ge.'0'.and.c1.le.'9') idig=i return end