Conversion of standardized ReadMe file for
file /./ftp/cats/J/BaltA/11/441 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/BaltA/11/441 Extinction along Cam and Per border (Zdanavicius+, 2002) *================================================================================ *Interstellar extinction along the Camelopardalis and Perseus border. * Zdanavicius J., Zdanavicius K. * <Baltic Astron., 11, 441 (2002)> * =2002BaltA..11..441Z C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! Interstellar extinction and photometric distances of the stars integer*4 nr__ parameter (nr__=186) ! Number of records character*57 ar__ ! Full-size record integer*4 v_ZZ2002_ (nr__) ! Sequential number character*8 BD (nr__) ! BD number character*10 SpType (nr__) ! MK spectral type real*4 VMAG (nr__) ! (mag) Absolute V magnitude real*4 E_Y_V (nr__) ! (mag) Extinction in Y-V real*4 AV (nr__) ! (mag) Absorption in V band real*4 Dist (nr__) ! (kpc) Distance integer*4 Qual (nr__) ! [1/6] Quality flag on the classification (G1) c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table4.dat' ! Interstellar extinction and distances for stars observed by Hipparcos integer*4 nr__1 parameter (nr__1=100) ! Number of records character*68 ar__1 ! Full-size record integer*4 v_ZZ2002__1(nr__1) ! Sequential number character*8 BD_1 (nr__1) ! BD number integer*4 HIP (nr__1) ! HIP number character*9 SpType_1 (nr__1) ! MK spectral type real*4 VMAG_1 (nr__1) ! (mag) Absolute V magnitude real*4 e_VMAG (nr__1) ! (mag) rms uncertainty on VMAG real*4 E_Y_V_1 (nr__1) ! (mag) Extinction in Y-V real*4 AV_1 (nr__1) ! (mag) Absorption in V band integer*4 Dist_1 (nr__1) ! (pc) Distance real*4 Plx (nr__1) ! (mas) Parallax real*4 e_Plx (nr__1) ! (mas) rms uncertainty on Plx integer*4 Qual_1 (nr__1) ! [1/5] Quality flag on the classification (G1) c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table5.dat' ! Interstellar extinction for stars without reliable distances integer*4 nr__2 parameter (nr__2=54) ! Number of records character*43 ar__2 ! Full-size record integer*4 v_ZZ2002__2(nr__2) ! Sequential number character*8 BD_2 (nr__2) ! BD number character*11 SpType_2 (nr__2) ! MK spectral type real*4 E_Y_V_1 (nr__2) ! (mag) Extinction in Y-V real*4 AV_2 (nr__2) ! (mag) Absorption in V band integer*4 Qual_2 (nr__2) ! [1/4] Quality flag on the classification (G1) C============================================================================= C Loading file 'table3.dat' ! Interstellar extinction and photometric * distances of the stars C Format for file interpretation 1 format(I3,1X,A8,1X,A10,1X,F4.1,3X,F5.2,4X,F4.2,4X,F4.2,4X,I1) C Effective file loading open(unit=1,status='old',file= +'table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,186 read(1,'(A57)')ar__ read(ar__,1) + v_ZZ2002_(i__),BD(i__),SpType(i__),VMAG(i__),E_Y_V(i__), + AV(i__),Dist(i__),Qual(i__) c ..............Just test output........... write(6,1) + v_ZZ2002_(i__),BD(i__),SpType(i__),VMAG(i__),E_Y_V(i__), + AV(i__),Dist(i__),Qual(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table4.dat' ! Interstellar extinction and distances for stars * observed by Hipparcos C Format for file interpretation 2 format( + I3,1X,A8,1X,I5,1X,A9,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,2X,I3,1X, + F5.2,1X,F4.2,1X,I1) C Effective file loading open(unit=1,status='old',file= +'table4.dat') write(6,*) '....Loading file: table4.dat' do i__=1,100 read(1,'(A68)')ar__1 read(ar__1,2) + v_ZZ2002__1(i__),BD_1(i__),HIP(i__),SpType_1(i__),VMAG_1(i__), + e_VMAG(i__),E_Y_V_1(i__),AV_1(i__),Dist_1(i__),Plx(i__), + e_Plx(i__),Qual_1(i__) c ..............Just test output........... write(6,2) + v_ZZ2002__1(i__),BD_1(i__),HIP(i__),SpType_1(i__),VMAG_1(i__), + e_VMAG(i__),E_Y_V_1(i__),AV_1(i__),Dist_1(i__),Plx(i__), + e_Plx(i__),Qual_1(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table5.dat' ! Interstellar extinction for stars without * reliable distances C Format for file interpretation 3 format(I3,1X,A8,1X,A11,2X,F4.2,4X,F4.2,4X,I1) C Effective file loading open(unit=1,status='old',file= +'table5.dat') write(6,*) '....Loading file: table5.dat' do i__=1,54 read(1,'(A43)')ar__2 read(ar__2,3) + v_ZZ2002__2(i__),BD_2(i__),SpType_2(i__),E_Y_V_1(i__), + AV_2(i__),Qual_2(i__) c ..............Just test output........... write(6,3) + v_ZZ2002__2(i__),BD_2(i__),SpType_2(i__),E_Y_V_1(i__), + AV_2(i__),Qual_2(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end