Conversion of standardized ReadMe file for
file /./ftp/cats/I/225/ 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-29 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. I/225 Oxford 2 AC Zone Data Reduced to ACRS (Urban+ 1996) *================================================================================ *Oxford 2 AC Zone Data Reduced to ACRS * Urban S.E., Martin J.C., Corbin T.E. * <U.S. Naval Obs., unpublished (1996)> C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'oxf2ac.dat' ! Oxford 2 AC stars reduced using ACRS integer*4 nr__ parameter (nr__=117598) ! Number of records character*97 ar__ ! Full-size record C J2000.0 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg ! (deg) Right Ascension J2000.0 real*8 DEdeg ! (deg) Declination J2000.0 C ---------------------------------- ! (position vector(s) in degrees) integer*4 RAh ! (h) Right Ascension J2000.0 (hours) integer*4 RAm ! (min) Right Ascension J2000.0 (minutes) real*4 RAs ! (s) Right Ascension J2000.0 (seconds) character*1 DE_ ! [+] Declination J2000.0 (sign) integer*4 DEd ! (deg) [30-34] Declination J2000.0 (degrees) integer*4 DEm ! (arcmin) Declination J2000.0 (minutes) real*4 DEs ! (arcsec) Declination J2000.0 (seconds) real*4 B_mag ! (mag) Magnitude from image diameter real*8 EpRA ! (yr) Mean epoch of position, RA real*8 EpDE ! (yr) Mean epoch of position, Dec integer*4 Num ! Number of images used real*4 e_RAs ! (arcsec) ?Standard deviation of mean (RA) real*4 e_DEs ! (arcsec) ?Standard deviation of mean (Dec) integer*4 ISN ! *Internal Star Number ID integer*4 ACRS ! ?ACRS number integer*4 TICr ! ?Tycho Input Catalog (rev) number integer*4 NoteID ! *[1/184]? Note detailed in file notes *Note on ISN: * The Internal Star Number, ISN, is used in the reduction process to * identify all images of the same star that may appear on different * plates. This is generated at U.S. Naval Observatory (USNO) and * added on to the original x,y data. When the original data are * released by USNO, this number can be used to link the original data * to the final catalog. *Note on NoteID: * Detailed notes concerning possible errors in the AC/Tycho matches * can be found in the file notes. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'notes' ! Notes on the AC/Tycho matches integer*4 nr__1 parameter (nr__1=192) ! Number of records character*135 ar__1 ! Full-size record integer*4 NoteID_1 ! [1/184]+= Number from oxf2ac.dat file character*131 Note ! Footnote for this star C============================================================================= C Loading file 'oxf2ac.dat' ! Oxford 2 AC stars reduced using ACRS C Format for file interpretation 1 format( + I2,1X,I2,1X,F6.3,1X,A1,I2,1X,I2,1X,F5.2,2X,F5.2,1X,F8.3,1X, + F8.3,I2,F6.3,F6.3,1X,I8,1X,I8,1X,I9,1X,I4) C Effective file loading open(unit=1,status='old',file= +'oxf2ac.dat') write(6,*) '....Loading file: oxf2ac.dat' do i__=1,117598 read(1,'(A97)')ar__ read(ar__,1) + RAh,RAm,RAs,DE_,DEd,DEm,DEs,B_mag,EpRA,EpDE,Num,e_RAs,e_DEs, + ISN,ACRS,TICr,NoteID if(ar__(53:58) .EQ. '') e_RAs = rNULL__ if(ar__(59:64) .EQ. '') e_DEs = rNULL__ if(ar__(75:82) .EQ. '') ACRS = iNULL__ if(ar__(84:92) .EQ. '') TICr = iNULL__ if(ar__(94:97) .EQ. '') NoteID = 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) + RAh,RAm,RAs,DE_,DEd,DEm,DEs,B_mag,EpRA,EpDE,Num,e_RAs,e_DEs, + ISN,ACRS,TICr,NoteID write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'notes' ! Notes on the AC/Tycho matches C Format for file interpretation 2 format(I4,A131) C Effective file loading open(unit=1,status='old',file= +'notes') write(6,*) '....Loading file: notes' do i__=1,192 read(1,'(A135)')ar__1 read(ar__1,2)NoteID_1,Note c ..............Just test output........... write(6,2)NoteID_1,Note c .......End.of.Just test output........... end do close(1) C============================================================================= stop end