Conversion of standardized ReadMe file for
file /./ftp/cats/J/PAZh/27/83 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/PAZh/27/83 Nuclear activity of NGC 4151 in 1989-2000 (Doroshenko+, 2001) *================================================================================ *Nuclear activity of NGC 4151 as inferred from UBVRI observations in 1989-2000. * Doroshenko V.T., Lyuty V.M., Bochkarev N.G., Vlasyuk V.V., Mikhailov V.P., * Spiridonova O.I., Grankin K.N., Ezhkova O.V., Mel'nikov S.Y. * <Pis'ma Astron. Zh. 27, 83 (2001)> * =2001PAZh...27...83D * =2001AstL...27...65D C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table.dat' ! UBVRI observations of NGC 4151 nucleus integer*4 nr__ parameter (nr__=446) ! Number of records character*56 ar__ ! Full-size record real*8 JD (nr__) ! (d) [2447591/2451618] Julian date real*4 Umag (nr__) ! (mag) ? U magnitude real*4 Bmag (nr__) ! (mag) ? B magnitude real*4 Vmag (nr__) ! (mag) ? V magnitude real*4 Rmag (nr__) ! (mag) ? R magnitude real*4 Imag (nr__) ! (mag) ? I magnitude character*8 Note (nr__) ! Origin of the data (1) *Note (1): Origin of the data: * SAIp: Crimean photoelectric data, UBVRI system close to Johnson's * standard photometric system. * SAIc: Crimean CCD data, UBVRI system close to Johnson's * standard photometric system. * Mdn : Maidanac photoelectric data, standard UBVR filters in * Johnson's system. * SAOc: SAO CCD data, BVRI filters. The instrumental photometric system * differs only slightly from Johnson-Cousins' international * system used in CCD photometry. * Mdn-SAIp: average values from Maidanak and Sternberg observations * Mdn-SAO: average values from Maidanak and SAO observations; * SAIc-SAO: average values from Crimea and SAO observations; * SAO-SAIp: average values from SAO and Crimea observations; * Mdn-SAIa: average values from Maidanak and Crimea observations C============================================================================= C Loading file 'table.dat' ! UBVRI observations of NGC 4151 nucleus C Format for file interpretation 1 format(F11.3,2X,F5.2,2X,F5.2,2X,F5.2,2X,F5.2,2X,F5.2,2X,A8) C Effective file loading open(unit=1,status='old',file= +'table.dat') write(6,*) '....Loading file: table.dat' do i__=1,446 read(1,'(A56)')ar__ read(ar__,1) + JD(i__),Umag(i__),Bmag(i__),Vmag(i__),Rmag(i__),Imag(i__), + Note(i__) if(ar__(14:18) .EQ. '') Umag(i__) = rNULL__ if(ar__(21:25) .EQ. '') Bmag(i__) = rNULL__ if(ar__(28:32) .EQ. '') Vmag(i__) = rNULL__ if(ar__(35:39) .EQ. '') Rmag(i__) = rNULL__ if(ar__(42:46) .EQ. '') Imag(i__) = rNULL__ c ..............Just test output........... write(6,1) + JD(i__),Umag(i__),Bmag(i__),Vmag(i__),Rmag(i__),Imag(i__), + Note(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end