Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/834/196 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-18 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/ApJ/834/196 Galactic novae with m<=10 from 1900 to 2015 (Shafter, 2017) *================================================================================ *The Galactic nova rate revisited. * Shafter A.W. * <Astrophys. J., 834, 196-196 (2017)> * =2017ApJ...834..196S (SIMBAD/NED BibCode) C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Galactic novae since 1900 integer*4 nr__ parameter (nr__=256) ! Number of records character*53 ar__ ! Full-size record C Position composed of: GLON GLAT character*13 Nova (nr__) ! Nova identifier character*9 Name (nr__) ! IAU identifier character*10 Date (nr__) ! ("Y/M/D") UT date of maximum light real*4 GLON (nr__) ! (deg) Galactic longitude real*4 GLAT (nr__) ! (deg) Galactic latitude real*4 mag (nr__) ! (mag) [-1.1/10] Magnitude at maximum (1) integer*4 Ref (nr__) ! Reference (2) *Note (1): Peak magnitude when available, otherwise discovery magnitude. *Note (2): Reference as follows: * 1 = http://asd.gsfc.nasa.gov/Koji.Mukai/novae/novae.html * 2 = http://www.cbat.eps.harvard.edu/nova_list.html * 3 = http://projectpluto.com/galnovae/galnovae.htm * 4 = Schaefer 2010, J/ApJS/187/275 C============================================================================= C Loading file 'table1.dat' ! Galactic novae since 1900 C Format for file interpretation 1 format(A13,1X,A9,1X,A10,1X,F5.1,1X,F5.1,1X,F4.1,1X,I1) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,256 read(1,'(A53)')ar__ read(ar__,1) + Nova(i__),Name(i__),Date(i__),GLON(i__),GLAT(i__),mag(i__), + Ref(i__) c ..............Just test output........... write(6,1) + Nova(i__),Name(i__),Date(i__),GLON(i__),GLAT(i__),mag(i__), + Ref(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end