CDS.headStuff2
FORTRAN Generation
Conversion of standardized ReadMe file for
catalog 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-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/PASP/122/17 BV light curves of 2MASS J06451725+4122158 (Jeon+, 2010) *================================================================================ *New high-amplitude SX Phoenicis ({delta} Scuti?) star in the direction of the *Galactic anti-center: 2MASS 06451725+4122158. * Jeon Y.-B., Kim S.-L., Nemec J.M. * <Publ. Astron. Soc. Pac., 122, 17-26 (2010)> * =2010PASP..122...17J C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! B differential magnitudes of 2MASS J06451725+4122158 integer*4 nr__ parameter (nr__=689) ! Number of records character*32 ar__ ! Full-size record integer*4 Seq ! Sequential number of the observation real*8 HJD ! (d) Heliocentric Julian date (1) real*4 Dmag ! (mag) Differential magnitude real*4 e_Dmag ! (mag) rms uncertainty on Dmag character*1 Band ! [BV] Band *Note (1): In table3, the HJD is troncated. Only the first 7 lines are complete. * HJD=2453742. corresponds to 3741.6-3742.0 HJD range, 82 obs. * HJD=2453743. corresponds to 3742.6-3743.0 HJD range, 110 obs. * HJD=2453744. corresponds to 3743.7-3744.0 HJD range, 60 obs. * HJD=2453745. corresponds to 3744.6-3745.0 HJD range, 110 obs. * HJD=2453746. corresponds to 3745.6-3746.0 HJD range, 108 obs. * HJD=2453747. corresponds to 3746.6-3747.0 HJD range, 108 obs. * HJD=2453749. corresponds to 3748.6-3749.0 HJD range, 104 obs. C============================================================================= C Loading file 'table3.dat' ! B differential magnitudes of 2MASS J06451725+4122158 C Format for file interpretation 1 format(I4,1X,F12.4,1X,F6.3,1X,F5.3,1X,A1) C Effective file loading open(unit=1,status='old',file= +'J/PASP/122/17/table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,689 read(1,'(A32)')ar__ read(ar__,1)Seq,HJD,Dmag,e_Dmag,Band c ..............Just test output........... write(6,1)Seq,HJD,Dmag,e_Dmag,Band c .......End.of.Just test output........... end do close(1) C============================================================================= stop end