Conversion of standardized ReadMe file for
file /./ftp/cats/V/68A 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. V/68A Stellar Maser Observations (Benson+ 1990) *================================================================================ *A Catalog of Observations for Stellar Masers * Benson P.J., Little-Marenin I.R., Attridge J., Blais K., Randolph D., * Woods T., Rubiera M., Keefe H. * <ApJS, 74, 911 (1990)> * =1990ApJS...74..911B C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Basic stellar data integer*4 nr__ parameter (nr__=3656) ! Number of records character*254 ar__ ! Full-size record C 1950 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg ! (deg) Right Ascension 1950 real*8 DEdeg ! (deg) Declination 1950 C ---------------------------------- ! (position vector(s) in degrees) integer*4 ObsNum ! *[1/3656]+ Number in Right Ascension order character*16 Name ! Generally Variable name (GCVS) * (constellation in 21-23) character*13 Name2 ! Second name character*13 Name3 ! Third name (generally IRAS) integer*4 RAh ! (h) RA hours (1950) integer*4 RAm ! (min) RA minutes (1950) real*4 RAs ! (s) ? RA seconds character*1 DE_ ! Dec sign integer*4 DEd ! (deg) Dec degrees (1950) integer*4 DEm ! (arcmin) Dec arcminutes integer*4 DEs ! (arcsec) [0,60]? dec arcseconds real*4 VLSR ! (km/s) ?=9999. LSR radial velocity; character*1 u_VLSR ! [*:] asterisk means heliocentric velocity character*15 SpType ! Spectral type character*5 VarType ! Variable type real*8 Period ! (d) ? Period in days character*1 u_Period ! Uncertainty flag (:) on Period character*1 H2O ! *[YN] detected in H2O? character*1 SiO ! *[YN] detected in SiO? character*1 OH ! *[YN] detected in OH? character*148 note ! Comments *Note on ObsNum: * The number differs from the publication *Note on H2O, SiO, OH: * The field for detected H2O, SiO, or OH is blank if no observations * was published. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! Bibliography and comments integer*4 nr__1 parameter (nr__1=12159) ! Number of records character*80 ar__1 ! Full-size record integer*4 ObsNum_1 ! [1/3656]+= Number as in table1 character*16 Name_1 ! Name as in table1 character*3 Mol ! [H2OHSi ] Molecule H2O, SiO or OH integer*4 RefID ! Reference detailed in file refs character*1 Note_1 ! *[NT*?.] Result of observation character*45 Comment ! Text of comment *Note on Note: * N indicates that the observation was negative; * T indicates a thermal emission of SiO * * = N T * ? indicates an uncertain detection * . when there is a comment c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'refs.dat' ! References integer*4 nr__2 parameter (nr__2=873) ! Number of records character*511 ar__2 ! Full-size record integer*4 RefID_1 ! Reference code, as in table2.dat character*20 Author1 ! author1 character*20 Author2 ! author2 character*20 Author3 ! author3 character*20 Author4 ! author4 character*20 Author5 ! author5 character*20 Author6 ! author6 character*20 Author7 ! author7 character*20 Author8 ! author8 character*20 Author9 ! author9 character*20 Author10 ! author10 character*170 Title ! title character*25 Journal ! journal character*5 Volume ! volume character*5 Page ! page character*25 Btitle ! book-title character*20 Editor1 ! editor1 character*20 Editor2 ! editor2 character*20 Pub ! publisher character*15 City ! city C============================================================================= C Loading file 'table1.dat' ! Basic stellar data C Format for file interpretation 1 format( + 3X,I4,A16,A13,A13,I2,I2,F4.1,A1,I2,I2,I2,F6.1,A1,A15,A5,F10.4, + A1,1X,A1,A1,A1,A148) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,3656 read(1,'(A254)')ar__ read(ar__,1) + ObsNum,Name,Name2,Name3,RAh,RAm,RAs,DE_,DEd,DEm,DEs,VLSR, + u_VLSR,SpType,VarType,Period,u_Period,H2O,SiO,OH,note if(ar__(54:57) .EQ. '') RAs = rNULL__ if(ar__(63:64) .EQ. '') DEs = iNULL__ if(ar__(92:101) .EQ. '') Period = 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) + ObsNum,Name,Name2,Name3,RAh,RAm,RAs,DE_,DEd,DEm,DEs,VLSR, + u_VLSR,SpType,VarType,Period,u_Period,H2O,SiO,OH,note write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table2.dat' ! Bibliography and comments C Format for file interpretation 2 format(3X,I4,A16,1X,A3,1X,I6,A1,A45) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,12159 read(1,'(A80)')ar__1 read(ar__1,2)ObsNum_1,Name_1,Mol,RefID,Note_1,Comment c ..............Just test output........... write(6,2)ObsNum_1,Name_1,Mol,RefID,Note_1,Comment c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'refs.dat' ! References C Format for file interpretation 3 format( + I6,A20,A20,A20,A20,A20,A20,A20,A20,A20,A20,A170,A25,A5,A5,A25, + A20,A20,A20,A15) C Effective file loading open(unit=1,status='old',file= +'refs.dat') write(6,*) '....Loading file: refs.dat' do i__=1,873 read(1,'(A511)')ar__2 read(ar__2,3) + RefID_1,Author1,Author2,Author3,Author4,Author5,Author6, + Author7,Author8,Author9,Author10,Title,Journal,Volume,Page, + Btitle,Editor1,Editor2,Pub,City c ..............Just test output........... write(6,3) + RefID_1,Author1,Author2,Author3,Author4,Author5,Author6, + Author7,Author8,Author9,Author10,Title,Journal,Volume,Page, + Btitle,Editor1,Editor2,Pub,City c .......End.of.Just test output........... end do close(1) C============================================================================= stop end