Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/533/A70 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-Apr-18 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/533/A70 New {beta} Cep stars in NGC 637 (Handler+, 2011) *================================================================================ *New beta Cephei stars in the young open cluster NGC 637. * Handler G., Meingast S. * <Astron. Astrophys. 533, A70 (2011)> * =2011A&A...533A..70H C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'stars.dat' ! Stars list integer*4 nr__ parameter (nr__=9) ! Number of records character*76 ar__ ! Full-size record C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg ! (deg) Right Ascension J2000 real*8 DEdeg ! (deg) Declination J2000 C ---------------------------------- ! (position vector(s) in degrees) integer*4 Star ! Star number integer*4 RAh ! (h) Right ascension (J2000) integer*4 RAm ! (min) Right ascension (J2000) real*4 RAs ! (s) Right ascension (J2000) character*1 DE_ ! Declination sign (J2000) integer*4 DEd ! (deg) Declination (J2000) integer*4 DEm ! (arcmin) Declination (J2000) real*4 DEs ! (arcsec) Declination (J2000) character*8 FileName ! Name of the file with the light curve character*18 SName ! Simbad name real*8 f1 ! (d-1) ? Main (dominant) frequency real*8 f2 ! (d-1) ? Secondary frequency c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'v001.dat' ! Light curves of NGC 637 WEBDA 1 integer*4 nr__1 parameter (nr__1=597) ! Number of records character*18 ar__1 ! Full-size record real*8 Date ! (d) Heliocentric Julian Date of mid exposure, * HJD-2455560 real*8 Vmag ! (mag) Relative V magnitude c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'v003.dat' ! Light curves of NGC 637 WEBDA 3 integer*4 nr__2 parameter (nr__2=599) ! Number of records character*18 ar__2 ! Full-size record real*8 Date_1 ! (d) Heliocentric Julian Date of mid exposure, * HJD-2455560 real*8 Vmag_1 ! (mag) Relative V magnitude c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'v004.dat' ! Light curves of NGC 637 WEBDA 4 integer*4 nr__3 parameter (nr__3=602) ! Number of records character*18 ar__3 ! Full-size record real*8 Date_2 ! (d) Heliocentric Julian Date of mid exposure, * HJD-2455560 real*8 Vmag_2 ! (mag) Relative V magnitude c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'v006.dat' ! Light curves of NGC 637 WEBDA 6 integer*4 nr__4 parameter (nr__4=599) ! Number of records character*18 ar__4 ! Full-size record real*8 Date_3 ! (d) Heliocentric Julian Date of mid exposure, * HJD-2455560 real*8 Vmag_3 ! (mag) Relative V magnitude c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'v007.dat' ! Light curves of NGC 637 WEBDA 7 integer*4 nr__5 parameter (nr__5=600) ! Number of records character*18 ar__5 ! Full-size record real*8 Date_4 ! (d) Heliocentric Julian Date of mid exposure, * HJD-2455560 real*8 Vmag_4 ! (mag) Relative V magnitude c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'v013.dat' ! Light curves of NGC 637 WEBDA 13 integer*4 nr__6 parameter (nr__6=404) ! Number of records character*18 ar__6 ! Full-size record real*8 Date_5 ! (d) Heliocentric Julian Date of mid exposure, * HJD-2455560 real*8 Vmag_5 ! (mag) Relative V magnitude c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'v033.dat' ! Light curves of NGC 637 WEBDA 33 integer*4 nr__7 parameter (nr__7=404) ! Number of records character*18 ar__7 ! Full-size record real*8 Date_6 ! (d) Heliocentric Julian Date of mid exposure, * HJD-2455560 real*8 Vmag_6 ! (mag) Relative V magnitude c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'v068.dat' ! Light curves of NGC 637 WEBDA 68 integer*4 nr__8 parameter (nr__8=601) ! Number of records character*18 ar__8 ! Full-size record real*8 Date_7 ! (d) Heliocentric Julian Date of mid exposure, * HJD-2455560 real*8 Vmag_7 ! (mag) Relative V magnitude c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'v138.dat' ! Light curves of NGC 637 WEBDA 138 integer*4 nr__9 parameter (nr__9=601) ! Number of records character*18 ar__9 ! Full-size record real*8 Date_8 ! (d) Heliocentric Julian Date of mid exposure, * HJD-2455560 real*8 Vmag_8 ! (mag) Relative V magnitude C============================================================================= C Loading file 'stars.dat' ! Stars list C Format for file interpretation 1 format( + I3,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F5.2,1X,A8,1X,A18,4X, + F7.5,2X,F7.5) C Effective file loading open(unit=1,status='old',file= +'stars.dat') write(6,*) '....Loading file: stars.dat' do i__=1,9 read(1,'(A76)')ar__ read(ar__,1) + Star,RAh,RAm,RAs,DE_,DEd,DEm,DEs,FileName,SName,f1,f2 if(ar__(61:67) .EQ. '') f1 = rNULL__ if(ar__(70:76) .EQ. '') f2 = rNULL__ 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) + Star,RAh,RAm,RAs,DE_,DEd,DEm,DEs,FileName,SName,f1,f2 write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'v001.dat' ! Light curves of NGC 637 WEBDA 1 C Format for file interpretation 2 format(1X,F9.6,1X,F7.4) C Effective file loading open(unit=1,status='old',file= +'v001.dat') write(6,*) '....Loading file: v001.dat' do i__=1,597 read(1,'(A18)')ar__1 read(ar__1,2)Date,Vmag c ..............Just test output........... write(6,2)Date,Vmag c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'v003.dat' ! Light curves of NGC 637 WEBDA 3 C Format for file interpretation 3 format(1X,F9.6,1X,F7.4) C Effective file loading open(unit=1,status='old',file= +'v003.dat') write(6,*) '....Loading file: v003.dat' do i__=1,599 read(1,'(A18)')ar__2 read(ar__2,3)Date_1,Vmag_1 c ..............Just test output........... write(6,3)Date_1,Vmag_1 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'v004.dat' ! Light curves of NGC 637 WEBDA 4 C Format for file interpretation 4 format(1X,F9.6,1X,F7.4) C Effective file loading open(unit=1,status='old',file= +'v004.dat') write(6,*) '....Loading file: v004.dat' do i__=1,602 read(1,'(A18)')ar__3 read(ar__3,4)Date_2,Vmag_2 c ..............Just test output........... write(6,4)Date_2,Vmag_2 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'v006.dat' ! Light curves of NGC 637 WEBDA 6 C Format for file interpretation 5 format(1X,F9.6,1X,F7.4) C Effective file loading open(unit=1,status='old',file= +'v006.dat') write(6,*) '....Loading file: v006.dat' do i__=1,599 read(1,'(A18)')ar__4 read(ar__4,5)Date_3,Vmag_3 c ..............Just test output........... write(6,5)Date_3,Vmag_3 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'v007.dat' ! Light curves of NGC 637 WEBDA 7 C Format for file interpretation 6 format(1X,F9.6,1X,F7.4) C Effective file loading open(unit=1,status='old',file= +'v007.dat') write(6,*) '....Loading file: v007.dat' do i__=1,600 read(1,'(A18)')ar__5 read(ar__5,6)Date_4,Vmag_4 c ..............Just test output........... write(6,6)Date_4,Vmag_4 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'v013.dat' ! Light curves of NGC 637 WEBDA 13 C Format for file interpretation 7 format(1X,F9.6,1X,F7.4) C Effective file loading open(unit=1,status='old',file= +'v013.dat') write(6,*) '....Loading file: v013.dat' do i__=1,404 read(1,'(A18)')ar__6 read(ar__6,7)Date_5,Vmag_5 c ..............Just test output........... write(6,7)Date_5,Vmag_5 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'v033.dat' ! Light curves of NGC 637 WEBDA 33 C Format for file interpretation 8 format(1X,F9.6,1X,F7.4) C Effective file loading open(unit=1,status='old',file= +'v033.dat') write(6,*) '....Loading file: v033.dat' do i__=1,404 read(1,'(A18)')ar__7 read(ar__7,8)Date_6,Vmag_6 c ..............Just test output........... write(6,8)Date_6,Vmag_6 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'v068.dat' ! Light curves of NGC 637 WEBDA 68 C Format for file interpretation 9 format(1X,F9.6,1X,F7.4) C Effective file loading open(unit=1,status='old',file= +'v068.dat') write(6,*) '....Loading file: v068.dat' do i__=1,601 read(1,'(A18)')ar__8 read(ar__8,9)Date_7,Vmag_7 c ..............Just test output........... write(6,9)Date_7,Vmag_7 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'v138.dat' ! Light curves of NGC 637 WEBDA 138 C Format for file interpretation 10 format(1X,F9.6,1X,F7.4) C Effective file loading open(unit=1,status='old',file= +'v138.dat') write(6,*) '....Loading file: v138.dat' do i__=1,601 read(1,'(A18)')ar__9 read(ar__9,10)Date_8,Vmag_8 c ..............Just test output........... write(6,10)Date_8,Vmag_8 c .......End.of.Just test output........... end do close(1) C============================================================================= stop end