Conversion of standardized ReadMe file for
file /./ftp/cats/VI/104 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. VI/104 The Ultraviolet Imaging Telescope (UIT) (1990, 1995) *================================================================================ *The Ultraviolet Imaging Telescope (UIT), ASTRO 1 and ASTRO 2 shuttle missions *(1990, 1995) * Stecher T.P., et al. * <Astophysical Journal 395, L1 (1992)> * =1992ApJ...395L...1S *Correcting the distortion of images taken with the Ultraviolet Imaging Telescope * Greason M.R., Offenberg J.D., Cornett R.H., Hill R.S., Stecher T.P. * <Publ. Astron. Soc. Pac. 106, 1151 (1994)> * =1994PASP..106.1151G C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'uitlist.dat' ! UIT Observation Log integer*4 nr__ parameter (nr__=1481) ! Number of records character*121 ar__ ! Full-size record C J2000 position composed of: RAdeg DEdeg character*8 Target (nr__) ! Target name specified by UIT mission real*8 RAdeg (nr__) ! (deg) RA in J2000 decimal degrees real*8 DEdeg (nr__) ! (deg) DEC in J2000 decimal degrees character*7 PointID (nr__) ! ASTRO Pointid (1) character*4 Jotfid (nr__) ! The first 4 digits of the PointID character*35 Category (nr__) ! Translation of the the jotfid integer*4 Start_Y (nr__) ! (yr) [1990-1995] Start time (year) integer*4 Start_M (nr__) ! ("month") [1-12] Start time (month) integer*4 Start_D (nr__) ! (d) [1-31] Start time (day) integer*4 Start_h (nr__) ! (h) [0-24] Start time (hour) integer*4 Start_m_1 (nr__) ! (min) [0-60] Start time (minute) integer*4 Start_s (nr__) ! (s) [0-60] Start time (second) real*8 ExpTime (nr__) ! (s) The total exposure time in seconds. character*2 Filter (nr__) ! Filter ID (2) integer*4 ASTRO (nr__) ! [1,2] Astro mission number character*7 DataID (nr__) ! Dataset identification (3) *Note (1): All three ASTRO missions assigned a unique pointing ID * for each target: * Digit one - see the "Science Class" section below * Digit two - Science Subclass See Bottom * Digits 3/4 - Target Numbers within Subclass * Digit 5 - N => Nth pointing at target with different roll or offset * Digit 6 - 0 => only one pointing for target * N => Nth pointing * Digits 5 and 6 often not available *Note (2): The UIT instrument included two six-position filter wheels. * The "A" filters were sensitive in the near-UV while the "B" * filters were sensitive in the Far-UV. *Note (3): Dataset identification as used by preview page generator etc. C============================================================================= C Loading file 'uitlist.dat' ! UIT Observation Log C Format for file interpretation 1 format( + A8,1X,F10.6,1X,F10.6,1X,A7,1X,A4,1X,A35,2X,I4,1X,I2,1X,I2,1X, + I2,1X,I2,1X,I2,1X,F7.1,1X,A2,1X,I1,1X,A7) C Effective file loading open(unit=1,status='old',file= +'uitlist.dat') write(6,*) '....Loading file: uitlist.dat' do i__=1,1481 read(1,'(A121)')ar__ read(ar__,1) + Target(i__),RAdeg(i__),DEdeg(i__),PointID(i__),Jotfid(i__), + Category(i__),Start_Y(i__),Start_M(i__),Start_D(i__), + Start_h(i__),Start_m_1(i__),Start_s(i__),ExpTime(i__), + Filter(i__),ASTRO(i__),DataID(i__) c ..............Just test output........... write(6,1) + Target(i__),RAdeg(i__),DEdeg(i__),PointID(i__),Jotfid(i__), + Category(i__),Start_Y(i__),Start_M(i__),Start_D(i__), + Start_h(i__),Start_m_1(i__),Start_s(i__),ExpTime(i__), + Filter(i__),ASTRO(i__),DataID(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end