Conversion of standardized ReadMe file for
file /./ftp/cats/J/other/Ap/53.123 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-29 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/other/Ap/53.123 FBS 15th list of late M and carbon stars (Gigoyan+, 2010) *================================================================================ *First Byurakan Spectral Sky Survey. Stars of late spectral types. *XV. Zone +45{deg}<={delta}<=+47{deg}. * Gigoyan K.S., Sinamyan P.K., Engels D., Mickaelian A.M. * <Astrophysics, 53, 123-132 (2010)> * =2010Ap.....53..123G C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! The list of FBS late-type stars (zone +45<=DE<=+49) integer*4 nr__ parameter (nr__=72) ! Number of records character*310 ar__ ! Full-size record C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg (nr__) ! (deg) Right Ascension J2000 real*8 DEdeg (nr__) ! (deg) Declination J2000 C ---------------------------------- ! (position vector(s) in degrees) integer*4 Seq (nr__) ! [1/72] FBS late-type star number in the paper character*8 FBS (nr__) ! FBS name in HHMM+DDd format (from 1950 position) integer*4 RA1h (nr__) ! (h) DSS2r B1950 right ascension integer*4 RA1m (nr__) ! (min) DSS2r B1950 right ascension real*4 RA1d (nr__) ! (s) DSS2r B1950 right ascension character*1 DE1_ (nr__) ! DSS2r B1950 declination sign integer*4 DE1d (nr__) ! (deg) DSS2r B1950 declination integer*4 DE1m (nr__) ! (arcmin) DSS2r B1950 declination real*4 DE1s (nr__) ! (arcsec) DSS2r B1950 declination integer*4 RAh (nr__) ! (h) DSS2r J2000 right ascension integer*4 RAm (nr__) ! (min) DSS2r J2000 right ascension real*4 RAs (nr__) ! (s) DSS2r J2000 right ascension character*1 DE_ (nr__) ! DSS2r J2000 declination sign integer*4 DEd (nr__) ! (deg) DSS2r J2000 declination integer*4 DEm (nr__) ! (arcmin) DSS2r J2000 declination real*4 DEs (nr__) ! (arcsec) DSS2r J2000 declination character*12 USNO (nr__) ! USNO-B1.0 catalog name real*4 B1mag (nr__) ! (mag) ? Corrected USNO-B1.0 B1 (blue) magnitude real*4 R1mag (nr__) ! (mag) Corrected USNO-B1.0 R1 (red) magnitude real*4 B2mag (nr__) ! (mag) ? Corrected USNO-B1.0 B2 (blue) magnitude real*4 R2mag (nr__) ! (mag) Corrected USNO-B1.0 R2 (red) magnitude real*4 Imag (nr__) ! (mag) USNO-B1.0 I magnitude real*4 Vmag (nr__) ! (mag) ? GSC 2.3.2 V magnitude character*17 v2MASS (nr__) ! 2MASS catalog name real*4 Jmag (nr__) ! (mag) 2MASS J magnitude real*4 Hmag (nr__) ! (mag) 2MASS H magnitude real*4 Ksmag (nr__) ! (mag) 2MASS Ks magnitude character*23 IRAS (nr__) ! IRAS PSC/FSC catalog names character*8 F12 (nr__) ! (Jy) IRAS PSC/FSC fluxes at 12um character*8 F25 (nr__) ! (Jy) IRAS PSC/FSC fluxes at 25um character*8 F60 (nr__) ! (Jy) IRAS PSC/FSC fluxes at 60um character*8 F100 (nr__) ! (Jy) IRAS PSC/FSC fluxes at 100um character*5 SpT (nr__) ! FBS low-dispersion spectral classification character*5 Lum (nr__) ! Luminosity type (Giant or Dwarf) character*26 Names (nr__) ! names of objects from SIMBAD/CGCVs/NSV character*6 Var (nr__) ! Known variability types or estimations character*14 NSVS (nr__) ! NSVS red variables (Williams et al. 2004) name real*4 Rmag (nr__) ! (mag) ? NSVS red variables mean R magnitude character*1 l_Rmag (nr__) ! Limit flag on Rmag integer*4 Per (nr__) ! (d) ? NSVS red variables period character*1 l_Amp (nr__) ! Limit flag on Amp real*4 Amp (nr__) ! (mag) ? NSVS red variables amplitude character*5 v2Type (nr__) ! NSVS red variables variability type C============================================================================= C Loading file 'table1.dat' ! The list of FBS late-type stars (zone +45<=DE<=+49) C Format for file interpretation 1 format( + I2,2X,A8,2X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,2X,I2,1X, + I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,2X,A12,2X,F5.2,1X,F5.2,1X, + F5.2,1X,F5.2,1X,F5.2,2X,F5.2,2X,A17,2X,F6.3,1X,F6.3,1X,F6.3, + 2X,A23,2X,A8,1X,A8,1X,A8,1X,A8,2X,A5,2X,A5,2X,A26,2X,A6,2X, + A14,2X,F6.3,1X,A1,I3,1X,A1,F5.3,2X,A5) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,72 read(1,'(A310)')ar__ read(ar__,1) + Seq(i__),FBS(i__),RA1h(i__),RA1m(i__),RA1d(i__),DE1_(i__), + DE1d(i__),DE1m(i__),DE1s(i__),RAh(i__),RAm(i__),RAs(i__), + DE_(i__),DEd(i__),DEm(i__),DEs(i__),USNO(i__),B1mag(i__), + R1mag(i__),B2mag(i__),R2mag(i__),Imag(i__),Vmag(i__), + v2MASS(i__),Jmag(i__),Hmag(i__),Ksmag(i__),IRAS(i__),F12(i__), + F25(i__),F60(i__),F100(i__),SpT(i__),Lum(i__),Names(i__), + Var(i__),NSVS(i__),Rmag(i__),l_Rmag(i__),Per(i__),l_Amp(i__), + Amp(i__),v2Type(i__) if(ar__(79:83) .EQ. '') B1mag(i__) = rNULL__ if(ar__(91:95) .EQ. '') B2mag(i__) = rNULL__ if(ar__(110:114) .EQ. '') Vmag(i__) = rNULL__ if(ar__(286:291) .EQ. '') Rmag(i__) = rNULL__ if(ar__(294:296) .EQ. '') Per(i__) = iNULL__ if(ar__(299:303) .EQ. '') Amp(i__) = rNULL__ RAdeg(i__) = rNULL__ DEdeg(i__) = rNULL__ c Derive coordinates RAdeg and DEdeg from input data c (RAdeg and DEdeg are set to rNULL__ when unknown) if(RAh(i__) .GT. -180) RAdeg(i__)=RAh(i__)*15. if(RAm(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAm(i__)/4. if(RAs(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAs(i__)/240. if(DEd(i__) .GE. 0) DEdeg(i__)=DEd(i__) if(DEm(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEm(i__)/60. if(DEs(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEs(i__)/3600. if(DE_(i__).EQ.'-'.AND.DEdeg(i__).GE.0) DEdeg(i__)=-DEdeg(i__) c ..............Just test output........... write(6,1) + Seq(i__),FBS(i__),RA1h(i__),RA1m(i__),RA1d(i__),DE1_(i__), + DE1d(i__),DE1m(i__),DE1s(i__),RAh(i__),RAm(i__),RAs(i__), + DE_(i__),DEd(i__),DEm(i__),DEs(i__),USNO(i__),B1mag(i__), + R1mag(i__),B2mag(i__),R2mag(i__),Imag(i__),Vmag(i__), + v2MASS(i__),Jmag(i__),Hmag(i__),Ksmag(i__),IRAS(i__),F12(i__), + F25(i__),F60(i__),F100(i__),SpT(i__),Lum(i__),Names(i__), + Var(i__),NSVS(i__),Rmag(i__),l_Rmag(i__),Per(i__),l_Amp(i__), + Amp(i__),v2Type(i__) write(6,'(6H Pos: 2F8.4)') RAdeg(i__),DEdeg(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end