Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/403/993 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-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/A+A/403/993 Revised HIP periods for long-period variables (Knapp+, 2003) *================================================================================ *Reprocessing the Hipparcos data of evolved stars. *III. Revised Hipparcos period-luminosity relationship for galactic *long-period variable stars. * Knapp G.R., Pourbaix D., Platais I., Jorissen A. * <Astron. Astrophys. 403, 993 (2003)> * =2003A&A...403..993K C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Stars for which a new solution based on the Hipparcos observations was derived integer*4 nr__ parameter (nr__=268) ! Number of records character*64 ar__ ! Full-size record integer*4 HIP (nr__) ! Hipparcos (Cat. <I/239>) Catalogue number character*11 GCVS (nr__) ! GCVS variable star name or Bayer name real*4 plx (nr__) ! (mas) Revised parallax real*4 e_plx (nr__) ! (mas) standard error on the revised parallax real*8 Dplx (nr__) ! Difference of parallax (plx - plxHIP)/e_plxHIP (1) real*4 AK (nr__) ! (mag) Circumstellar+interstellar absorption in K (2) real*4 Kmag (nr__) ! (mag) Apparent K (2.2{mu}m) magnitude real*4 Per (nr__) ! (d) Period character*3 Var (nr__) ! Variability type from GCVS (Cat. <II/214>) character*1 Chem (nr__) ! [COS] Carbon/oxygen chemistry of the atmosphere *Note (1): diff=(plx-plxHIP)/e_plxHIP is the difference between the revised * parallax and the published one reckoned in units of the standard * error in the Hipparcos (Cat. <I/239>) parallax. *Note (2): AK is the total interstellar and circumstellar extinction * in the K band (see text of the paper). C============================================================================= C Loading file 'table1.dat' ! Stars for which a new solution based on the * Hipparcos observations was derived C Format for file interpretation 1 format( + I6,2X,A11,1X,F6.2,1X,F4.2,1X,F7.2,1X,F5.2,1X,F5.2,1X,F6.2,1X, + A3,1X,A1) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,268 read(1,'(A64)')ar__ read(ar__,1) + HIP(i__),GCVS(i__),plx(i__),e_plx(i__),Dplx(i__),AK(i__), + Kmag(i__),Per(i__),Var(i__),Chem(i__) c ..............Just test output........... write(6,1) + HIP(i__),GCVS(i__),plx(i__),e_plx(i__),Dplx(i__),AK(i__), + Kmag(i__),Per(i__),Var(i__),Chem(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end