Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/380/478 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/380/478 BVI photometry in NGC 6101 (Marconi+, 2001) *================================================================================ *Mass segregation of different populations inside the cluster NGC 6101. * Marconi G., Andreuzzi G., Pulone L., Cassisi S., Testa V., Buonanno R. * <Astron. Astrophys. 380, 478 (2001)> * =2001A&A...380..478M C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'hst.dat' ! HST V, V-I photometry for NGC 6101 integer*4 nr__ parameter (nr__=12012) ! Number of records character*51 ar__ ! Full-size record real*8 xpos (nr__) ! (pix) x coordinate (G1) real*8 ypos (nr__) ! (pix) y coordinate (G1) real*4 Vmag (nr__) ! (mag) V magnitude (F555W) real*4 e_Vmag (nr__) ! (mag) V photometric error real*4 V_I (nr__) ! (mag) V-I colour index (F555W -F814W) real*4 e_V_I (nr__) ! (mag) V-I photometric error real*8 ID (nr__) ! Identification number (G2) c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'ground.dat' ! Ground V, V-I, B-V photometry for NGC 6101 integer*4 nr__1 parameter (nr__1=8413) ! Number of records character*66 ar__1 ! Full-size record real*8 xpos_1 (nr__1) ! (pix) x coordinate (G1) real*8 ypos_1 (nr__1) ! (pix) y coordinate (G1) real*4 Vmag_1 (nr__1) ! (mag) V magnitude real*4 e_Vmag_1 (nr__1) ! (mag) V photometric error real*4 V_I_1 (nr__1) ! (mag) V-I colour index real*4 e_V_I_1 (nr__1) ! (mag) V-I photometric error real*4 B_V (nr__1) ! (mag) B-V colour index real*4 e_B_V (nr__1) ! (mag) B-V photometric error real*8 ID_1 (nr__1) ! Identification number (G2) C============================================================================= C Loading file 'hst.dat' ! HST V, V-I photometry for NGC 6101 C Format for file interpretation 1 format(F7.3,1X,F7.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F9.3) C Effective file loading open(unit=1,status='old',file= +'hst.dat') write(6,*) '....Loading file: hst.dat' do i__=1,12012 read(1,'(A51)')ar__ read(ar__,1) + xpos(i__),ypos(i__),Vmag(i__),e_Vmag(i__),V_I(i__),e_V_I(i__), + ID(i__) c ..............Just test output........... write(6,1) + xpos(i__),ypos(i__),Vmag(i__),e_Vmag(i__),V_I(i__),e_V_I(i__), + ID(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'ground.dat' ! Ground V, V-I, B-V photometry for NGC 6101 C Format for file interpretation 2 format( + F8.3,1X,F8.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3, + 1X,F9.3) C Effective file loading open(unit=1,status='old',file= +'ground.dat') write(6,*) '....Loading file: ground.dat' do i__=1,8413 read(1,'(A66)')ar__1 read(ar__1,2) + xpos_1(i__),ypos_1(i__),Vmag_1(i__),e_Vmag_1(i__),V_I_1(i__), + e_V_I_1(i__),B_V(i__),e_B_V(i__),ID_1(i__) c ..............Just test output........... write(6,2) + xpos_1(i__),ypos_1(i__),Vmag_1(i__),e_Vmag_1(i__),V_I_1(i__), + e_V_I_1(i__),B_V(i__),e_B_V(i__),ID_1(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end