Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/375/527 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-20 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/375/527 JHKL' photometry of AGB stars (Kerschbaum+, 2001) *================================================================================ *Multi-colour light variation of AGB stars observed with ISO * Kerschbaum F., Lebzelter T., Lazaro C. * <Astron. Astrophys. 375, 527 (2001)> * =2001A&A...375..527K C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'stars.dat' ! Star positions and magnitudes (from Simbad) integer*4 nr__ parameter (nr__=47) ! Number of records character*56 ar__ ! Full-size record C J2000.0 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg ! (deg) Right Ascension J2000.0 real*8 DEdeg ! (deg) Declination J2000.0 C ---------------------------------- ! (position vector(s) in degrees) character*8 GCVS4 ! Object name integer*4 RAh ! (h) Right ascension (J2000.0) integer*4 RAm ! (min) Right ascension (J2000.0) real*4 RAs ! (s) Right ascension (J2000.0) character*1 DE_ ! Declination sign (J2000.0) integer*4 DEd ! (deg) Declination (J2000.0) integer*4 DEm ! (arcmin) Declination (J2000.0) integer*4 DEs ! (arcsec) Declination (J2000.0) real*4 Bmag ! (mag) ? B magnitude real*4 Vmag ! (mag) ? V magnitude character*11 SpType ! Spectral type c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'tableb2.dat' ! Near-infrared photometry of ISO-AGB variables 1 integer*4 nr__1 parameter (nr__1=53) ! Number of records character*74 ar__1 ! Full-size record character*8 GCVS4_1 ! GCVS4 (Cat. <II/214>) name character*10 IRAS ! IRAS designation character*3 Type ! Variable type (1) real*4 Phase ! ? Phase character*1 Chem ! [OC] O-rich or C-rich real*8 JD ! (d) Julian date real*4 Jmag ! (mag) ? J magnitude real*4 Hmag ! (mag) H magnitude real*4 Kmag ! (mag) K magnitude real*4 L_mag ! (mag) ? L' magnitude (3.78 {mu}m)0 character*5 Ref ! Reference for published data (2) *Note (1): Variable type: * Lb: Irregular variable of type Lb * M: Mira * SRa & SRb: Semi-regular variables *Note (2): References for published data: * LBI: Kerschbaum et al., 1996A&AS..118..397K * SRIIa: Kerschbaum & Hron, 1994, Cat. <J/A+AS/106/397> * SRIIb: Kerschbaum, 1995, Cat. <J/A+AS/113/441> c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'tableb3.dat' ! Near-infrared photometry of ISO-AGB variables 2 integer*4 nr__2 parameter (nr__2=56) ! Number of records character*74 ar__2 ! Full-size record character*8 GCVS4_2 ! GCVS4 (Cat. <II/214>) name character*10 IRAS_1 ! IRAS designation character*3 Type_1 ! Variable type (1) real*4 Phase_1 ! ? Phase character*1 Chem_1 ! [OC] O-rich or C-rich real*8 JD_1 ! (d) Julian date real*4 Jmag_1 ! (mag) ? J magnitude real*4 Hmag_1 ! (mag) H magnitude real*4 Kmag_1 ! (mag) K magnitude real*4 L_mag_1 ! (mag) ? L' magnitude (3.78 {mu}m)0 character*5 Ref_1 ! Reference for published data (2) *Note (1): Variable type: * Lb: Irregular variable of type Lb * M: Mira * SRa & SRb: Semi-regular variables *Note (2): References for published data: * LBI: Kerschbaum et al., 1996A&AS..118..397K * SRIIa: Kerschbaum & Hron, 1994, Cat. <J/A+AS/106/397> * SRIIb: Kerschbaum, 1995, Cat. <J/A+AS/113/441> c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'tableb4.dat' ! Near-infrared photometry of ISO-AGB variables 3 integer*4 nr__3 parameter (nr__3=56) ! Number of records character*74 ar__3 ! Full-size record character*8 GCVS4_3 ! GCVS4 (Cat. <II/214>) name character*10 IRAS_2 ! IRAS designation character*3 Type_2 ! Variable type (1) real*4 Phase_2 ! ? Phase character*1 Chem_2 ! [OC] O-rich or C-rich real*8 JD_2 ! (d) Julian date real*4 Jmag_2 ! (mag) ? J magnitude real*4 Hmag_2 ! (mag) H magnitude real*4 Kmag_2 ! (mag) K magnitude real*4 L_mag_2 ! (mag) ? L' magnitude (3.78 {mu}m)0 character*5 Ref_2 ! Reference for published data (2) *Note (1): Variable type: * Lb: Irregular variable of type Lb * M: Mira * SRa & SRb: Semi-regular variables *Note (2): References for published data: * LBI: Kerschbaum et al., 1996A&AS..118..397K * SRIIa: Kerschbaum & Hron, 1994, Cat. <J/A+AS/106/397> * SRIIb: Kerschbaum, 1995, Cat. <J/A+AS/113/441> c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'tableb5.dat' ! Near-infrared photometry of ISO-AGB variables 4 integer*4 nr__4 parameter (nr__4=11) ! Number of records character*74 ar__4 ! Full-size record character*8 GCVS4_4 ! GCVS4 (Cat. <II/214>) name character*10 IRAS_3 ! IRAS designation character*3 Type_3 ! Variable type (1) real*4 Phase_3 ! ? Phase character*1 Chem_3 ! [OC] O-rich or C-rich real*8 JD_3 ! (d) Julian date real*4 Jmag_3 ! (mag) ? J magnitude real*4 Hmag_3 ! (mag) H magnitude real*4 Kmag_3 ! (mag) K magnitude real*4 L_mag_3 ! (mag) ? L' magnitude (3.78 {mu}m)0 character*5 Ref_3 ! Reference for published data (2) *Note (1): Variable type: * Lb: Irregular variable of type Lb * M: Mira * SRa & SRb: Semi-regular variables *Note (2): References for published data: * LBI: Kerschbaum et al., 1996A&AS..118..397K * SRIIa: Kerschbaum & Hron, 1994, Cat. <J/A+AS/106/397> * SRIIb: Kerschbaum, 1995, Cat. <J/A+AS/113/441> C============================================================================= C Loading file 'stars.dat' ! Star positions and magnitudes (from Simbad) C Format for file interpretation 1 format( + A8,2X,I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,I2,3X,F5.2,1X,F5.2, + 1X,A11) C Effective file loading open(unit=1,status='old',file= +'stars.dat') write(6,*) '....Loading file: stars.dat' do i__=1,47 read(1,'(A56)')ar__ read(ar__,1) + GCVS4,RAh,RAm,RAs,DE_,DEd,DEm,DEs,Bmag,Vmag,SpType if(ar__(34:38) .EQ. '') Bmag = rNULL__ if(ar__(40:44) .EQ. '') Vmag = 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) + GCVS4,RAh,RAm,RAs,DE_,DEd,DEm,DEs,Bmag,Vmag,SpType write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'tableb2.dat' ! Near-infrared photometry of ISO-AGB variables 1 C Format for file interpretation 2 format( + A8,1X,A10,1X,A3,2X,F4.2,2X,A1,1X,F10.2,1X,F5.2,1X,F5.2,1X, + F5.2,1X,F5.2,2X,A5) C Effective file loading open(unit=1,status='old',file= +'tableb2.dat') write(6,*) '....Loading file: tableb2.dat' do i__=1,53 read(1,'(A74)')ar__1 read(ar__1,2) + GCVS4_1,IRAS,Type,Phase,Chem,JD,Jmag,Hmag,Kmag,L_mag,Ref if(ar__1(26:29) .EQ. '') Phase = rNULL__ if(ar__1(45:49) .EQ. '') Jmag = rNULL__ if(ar__1(63:67) .EQ. '') L_mag = rNULL__ c ..............Just test output........... write(6,2) + GCVS4_1,IRAS,Type,Phase,Chem,JD,Jmag,Hmag,Kmag,L_mag,Ref c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'tableb3.dat' ! Near-infrared photometry of ISO-AGB variables 2 C Format for file interpretation 3 format( + A8,1X,A10,1X,A3,2X,F4.2,2X,A1,1X,F10.2,1X,F5.2,1X,F5.2,1X, + F5.2,1X,F5.2,2X,A5) C Effective file loading open(unit=1,status='old',file= +'tableb3.dat') write(6,*) '....Loading file: tableb3.dat' do i__=1,56 read(1,'(A74)')ar__2 read(ar__2,3) + GCVS4_2,IRAS_1,Type_1,Phase_1,Chem_1,JD_1,Jmag_1,Hmag_1, + Kmag_1,L_mag_1,Ref_1 if(ar__2(26:29) .EQ. '') Phase_1 = rNULL__ if(ar__2(45:49) .EQ. '') Jmag_1 = rNULL__ if(ar__2(63:67) .EQ. '') L_mag_1 = rNULL__ c ..............Just test output........... write(6,3) + GCVS4_2,IRAS_1,Type_1,Phase_1,Chem_1,JD_1,Jmag_1,Hmag_1, + Kmag_1,L_mag_1,Ref_1 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'tableb4.dat' ! Near-infrared photometry of ISO-AGB variables 3 C Format for file interpretation 4 format( + A8,1X,A10,1X,A3,2X,F4.2,2X,A1,1X,F10.2,1X,F5.2,1X,F5.2,1X, + F5.2,1X,F5.2,2X,A5) C Effective file loading open(unit=1,status='old',file= +'tableb4.dat') write(6,*) '....Loading file: tableb4.dat' do i__=1,56 read(1,'(A74)')ar__3 read(ar__3,4) + GCVS4_3,IRAS_2,Type_2,Phase_2,Chem_2,JD_2,Jmag_2,Hmag_2, + Kmag_2,L_mag_2,Ref_2 if(ar__3(26:29) .EQ. '') Phase_2 = rNULL__ if(ar__3(45:49) .EQ. '') Jmag_2 = rNULL__ if(ar__3(63:67) .EQ. '') L_mag_2 = rNULL__ c ..............Just test output........... write(6,4) + GCVS4_3,IRAS_2,Type_2,Phase_2,Chem_2,JD_2,Jmag_2,Hmag_2, + Kmag_2,L_mag_2,Ref_2 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'tableb5.dat' ! Near-infrared photometry of ISO-AGB variables 4 C Format for file interpretation 5 format( + A8,1X,A10,1X,A3,2X,F4.2,2X,A1,1X,F10.2,1X,F5.2,1X,F5.2,1X, + F5.2,1X,F5.2,2X,A5) C Effective file loading open(unit=1,status='old',file= +'tableb5.dat') write(6,*) '....Loading file: tableb5.dat' do i__=1,11 read(1,'(A74)')ar__4 read(ar__4,5) + GCVS4_4,IRAS_3,Type_3,Phase_3,Chem_3,JD_3,Jmag_3,Hmag_3, + Kmag_3,L_mag_3,Ref_3 if(ar__4(26:29) .EQ. '') Phase_3 = rNULL__ if(ar__4(45:49) .EQ. '') Jmag_3 = rNULL__ if(ar__4(63:67) .EQ. '') L_mag_3 = rNULL__ c ..............Just test output........... write(6,5) + GCVS4_4,IRAS_3,Type_3,Phase_3,Chem_3,JD_3,Jmag_3,Hmag_3, + Kmag_3,L_mag_3,Ref_3 c .......End.of.Just test output........... end do close(1) C============================================================================= stop end