Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/482/989 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 2026-Jun-13
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/482/989 Spectropolarimetric model for Earth-like planets (Stam, 2008)
*================================================================================
*Spectropolarimetric signatures of Earth--like extrasolar planets.
* Stam D.M.
* <Astron. Astrophys. 482, 989 (2008)>
* =2008A&A...482..989S
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'lambert_00_0/*' ! Lambertian surface, wavelength independent
surface albedo 0.0, cloudfree
integer*4 nr__
parameter (nr__=91) ! Number of records
character*48 ar__ ! Full-size record
real*8 lambda (nr__) ! (um) [0.3,1.0] Wavelength (1)
real*4 a1 (nr__) ! Matrix element a1
real*4 b1 (nr__) ! Matrix element b1
real*8 Pol (nr__) ! Degree of linear polarization (ratio -b1/a1)
*Note (1): The wavelength ranges from 0.3 to 1.0 microns, with steps of 1nm
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'lambert_01_0/*' ! Lambertian surface, wavelength independent
surface albedo 0.1, cloudfree
integer*4 nr__1
parameter (nr__1=91) ! Number of records
character*48 ar__1 ! Full-size record
real*8 lambda_1 (nr__1) ! (um) [0.3,1.0] Wavelength (1)
real*4 a1_1 (nr__1) ! Matrix element a1
real*4 b1_1 (nr__1) ! Matrix element b1
real*8 Pol_1 (nr__1) ! Degree of linear polarization (ratio -b1/a1)
*Note (1): The wavelength ranges from 0.3 to 1.0 microns, with steps of 1nm
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'lambert_02_0/*' ! Lambertian surface, wavelength independent
surface albedo 0.2, cloudfree
integer*4 nr__2
parameter (nr__2=91) ! Number of records
character*48 ar__2 ! Full-size record
real*8 lambda_2 (nr__2) ! (um) [0.3,1.0] Wavelength (1)
real*4 a1_2 (nr__2) ! Matrix element a1
real*4 b1_2 (nr__2) ! Matrix element b1
real*8 Pol_2 (nr__2) ! Degree of linear polarization (ratio -b1/a1)
*Note (1): The wavelength ranges from 0.3 to 1.0 microns, with steps of 1nm
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'lambert_04_0/*' ! Lambertian surface, wavelength independent
surface albedo 0.4, cloudfree
integer*4 nr__3
parameter (nr__3=91) ! Number of records
character*48 ar__3 ! Full-size record
real*8 lambda_3 (nr__3) ! (um) [0.3,1.0] Wavelength (1)
real*4 a1_3 (nr__3) ! Matrix element a1
real*4 b1_3 (nr__3) ! Matrix element b1
real*8 Pol_3 (nr__3) ! Degree of linear polarization (ratio -b1/a1)
*Note (1): The wavelength ranges from 0.3 to 1.0 microns, with steps of 1nm
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'lambert_06_0/*' ! Lambertian surface, wavelength independent
surface albedo 0.6, cloudfree
integer*4 nr__4
parameter (nr__4=91) ! Number of records
character*48 ar__4 ! Full-size record
real*8 lambda_4 (nr__4) ! (um) [0.3,1.0] Wavelength (1)
real*4 a1_4 (nr__4) ! Matrix element a1
real*4 b1_4 (nr__4) ! Matrix element b1
real*8 Pol_4 (nr__4) ! Degree of linear polarization (ratio -b1/a1)
*Note (1): The wavelength ranges from 0.3 to 1.0 microns, with steps of 1nm
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'lambert_08_0/*' ! Lambertian surface, wavelength independent
surface albedo 0.8, cloudfree
integer*4 nr__5
parameter (nr__5=91) ! Number of records
character*48 ar__5 ! Full-size record
real*8 lambda_5 (nr__5) ! (um) [0.3,1.0] Wavelength (1)
real*4 a1_5 (nr__5) ! Matrix element a1
real*4 b1_5 (nr__5) ! Matrix element b1
real*8 Pol_5 (nr__5) ! Degree of linear polarization (ratio -b1/a1)
*Note (1): The wavelength ranges from 0.3 to 1.0 microns, with steps of 1nm
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'lambert_10_0/*' ! Lambertian surface, wavelength independent
surface albedo 1.0, cloudfree
integer*4 nr__6
parameter (nr__6=91) ! Number of records
character*48 ar__6 ! Full-size record
real*8 lambda_6 (nr__6) ! (um) [0.3,1.0] Wavelength (1)
real*4 a1_6 (nr__6) ! Matrix element a1
real*4 b1_6 (nr__6) ! Matrix element b1
real*8 Pol_6 (nr__6) ! Degree of linear polarization (ratio -b1/a1)
*Note (1): The wavelength ranges from 0.3 to 1.0 microns, with steps of 1nm
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'forest_0/*' ! Lambertian surface, wavelength dependent albedo
of forest, cloudfree
integer*4 nr__7
parameter (nr__7=91) ! Number of records
character*48 ar__7 ! Full-size record
real*8 lambda_7 (nr__7) ! (um) [0.3,1.0] Wavelength (1)
real*4 a1_7 (nr__7) ! Matrix element a1
real*4 b1_7 (nr__7) ! Matrix element b1
real*8 Pol_7 (nr__7) ! Degree of linear polarization (ratio -b1/a1)
*Note (1): The wavelength ranges from 0.3 to 1.0 microns, with steps of 1nm
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'forest_1/*' ! Lambertian surface, wavelength dependent albedo
of forest, completely cloudy
integer*4 nr__8
parameter (nr__8=91) ! Number of records
character*48 ar__8 ! Full-size record
real*8 lambda_8 (nr__8) ! (um) [0.3,1.0] Wavelength (1)
real*4 a1_8 (nr__8) ! Matrix element a1
real*4 b1_8 (nr__8) ! Matrix element b1
real*8 Pol_8 (nr__8) ! Degree of linear polarization (ratio -b1/a1)
*Note (1): The wavelength ranges from 0.3 to 1.0 microns, with steps of 1nm
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'ocean_0/*' ! Fresnel surface, wavelength independent
surface albedo 0.0, cloudfree
integer*4 nr__9
parameter (nr__9=91) ! Number of records
character*48 ar__9 ! Full-size record
real*8 lambda_9 (nr__9) ! (um) [0.3,1.0] Wavelength (1)
real*4 a1_9 (nr__9) ! Matrix element a1
real*4 b1_9 (nr__9) ! Matrix element b1
real*8 Pol_9 (nr__9) ! Degree of linear polarization (ratio -b1/a1)
*Note (1): The wavelength ranges from 0.3 to 1.0 microns, with steps of 1nm
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'ocean_1/*' ! Fresnel surface, wavelength independent
surface albedo 0.0, completely cloudy
integer*4 nr__10
parameter (nr__10=91) ! Number of records
character*48 ar__10 ! Full-size record
real*8 lambda_10 (nr__10) ! (um) [0.3,1.0] Wavelength (1)
real*4 a1_10 (nr__10) ! Matrix element a1
real*4 b1_10 (nr__10) ! Matrix element b1
real*8 Pol_10 (nr__10) ! Degree of linear polarization (ratio -b1/a1)
*Note (1): The wavelength ranges from 0.3 to 1.0 microns, with steps of 1nm
C=============================================================================
C Loading file 'lambert_00_0/*' ! Lambertian surface, wavelength independent
* surface albedo 0.0, cloudfree
C Format for file interpretation
1 format(2X,F7.5,1X,E12.6,2X,E12.6,2X,F10.8)
C Effective file loading
open(unit=1,status='old',file=
+'lambert_00_0/*')
write(6,*) '....Loading file: lambert_00_0/*'
do i__=1,91
read(1,'(A48)')ar__
read(ar__,1)lambda(i__),a1(i__),b1(i__),Pol(i__)
c ..............Just test output...........
write(6,1)lambda(i__),a1(i__),b1(i__),Pol(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'lambert_01_0/*' ! Lambertian surface, wavelength independent
* surface albedo 0.1, cloudfree
C Format for file interpretation
2 format(2X,F7.5,1X,E12.6,2X,E12.6,2X,F10.8)
C Effective file loading
open(unit=1,status='old',file=
+'lambert_01_0/*')
write(6,*) '....Loading file: lambert_01_0/*'
do i__=1,91
read(1,'(A48)')ar__1
read(ar__1,2)lambda_1(i__),a1_1(i__),b1_1(i__),Pol_1(i__)
c ..............Just test output...........
write(6,2)lambda_1(i__),a1_1(i__),b1_1(i__),Pol_1(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'lambert_02_0/*' ! Lambertian surface, wavelength independent
* surface albedo 0.2, cloudfree
C Format for file interpretation
3 format(2X,F7.5,1X,E12.6,2X,E12.6,2X,F10.8)
C Effective file loading
open(unit=1,status='old',file=
+'lambert_02_0/*')
write(6,*) '....Loading file: lambert_02_0/*'
do i__=1,91
read(1,'(A48)')ar__2
read(ar__2,3)lambda_2(i__),a1_2(i__),b1_2(i__),Pol_2(i__)
c ..............Just test output...........
write(6,3)lambda_2(i__),a1_2(i__),b1_2(i__),Pol_2(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'lambert_04_0/*' ! Lambertian surface, wavelength independent
* surface albedo 0.4, cloudfree
C Format for file interpretation
4 format(2X,F7.5,1X,E12.6,2X,E12.6,2X,F10.8)
C Effective file loading
open(unit=1,status='old',file=
+'lambert_04_0/*')
write(6,*) '....Loading file: lambert_04_0/*'
do i__=1,91
read(1,'(A48)')ar__3
read(ar__3,4)lambda_3(i__),a1_3(i__),b1_3(i__),Pol_3(i__)
c ..............Just test output...........
write(6,4)lambda_3(i__),a1_3(i__),b1_3(i__),Pol_3(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'lambert_06_0/*' ! Lambertian surface, wavelength independent
* surface albedo 0.6, cloudfree
C Format for file interpretation
5 format(2X,F7.5,1X,E12.6,2X,E12.6,2X,F10.8)
C Effective file loading
open(unit=1,status='old',file=
+'lambert_06_0/*')
write(6,*) '....Loading file: lambert_06_0/*'
do i__=1,91
read(1,'(A48)')ar__4
read(ar__4,5)lambda_4(i__),a1_4(i__),b1_4(i__),Pol_4(i__)
c ..............Just test output...........
write(6,5)lambda_4(i__),a1_4(i__),b1_4(i__),Pol_4(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'lambert_08_0/*' ! Lambertian surface, wavelength independent
* surface albedo 0.8, cloudfree
C Format for file interpretation
6 format(2X,F7.5,1X,E12.6,2X,E12.6,2X,F10.8)
C Effective file loading
open(unit=1,status='old',file=
+'lambert_08_0/*')
write(6,*) '....Loading file: lambert_08_0/*'
do i__=1,91
read(1,'(A48)')ar__5
read(ar__5,6)lambda_5(i__),a1_5(i__),b1_5(i__),Pol_5(i__)
c ..............Just test output...........
write(6,6)lambda_5(i__),a1_5(i__),b1_5(i__),Pol_5(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'lambert_10_0/*' ! Lambertian surface, wavelength independent
* surface albedo 1.0, cloudfree
C Format for file interpretation
7 format(2X,F7.5,1X,E12.6,2X,E12.6,2X,F10.8)
C Effective file loading
open(unit=1,status='old',file=
+'lambert_10_0/*')
write(6,*) '....Loading file: lambert_10_0/*'
do i__=1,91
read(1,'(A48)')ar__6
read(ar__6,7)lambda_6(i__),a1_6(i__),b1_6(i__),Pol_6(i__)
c ..............Just test output...........
write(6,7)lambda_6(i__),a1_6(i__),b1_6(i__),Pol_6(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'forest_0/*' ! Lambertian surface, wavelength dependent albedo
* of forest, cloudfree
C Format for file interpretation
8 format(2X,F7.5,1X,E12.6,2X,E12.6,2X,F10.8)
C Effective file loading
open(unit=1,status='old',file=
+'forest_0/*')
write(6,*) '....Loading file: forest_0/*'
do i__=1,91
read(1,'(A48)')ar__7
read(ar__7,8)lambda_7(i__),a1_7(i__),b1_7(i__),Pol_7(i__)
c ..............Just test output...........
write(6,8)lambda_7(i__),a1_7(i__),b1_7(i__),Pol_7(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'forest_1/*' ! Lambertian surface, wavelength dependent albedo
* of forest, completely cloudy
C Format for file interpretation
9 format(2X,F7.5,1X,E12.6,2X,E12.6,2X,F10.8)
C Effective file loading
open(unit=1,status='old',file=
+'forest_1/*')
write(6,*) '....Loading file: forest_1/*'
do i__=1,91
read(1,'(A48)')ar__8
read(ar__8,9)lambda_8(i__),a1_8(i__),b1_8(i__),Pol_8(i__)
c ..............Just test output...........
write(6,9)lambda_8(i__),a1_8(i__),b1_8(i__),Pol_8(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'ocean_0/*' ! Fresnel surface, wavelength independent
* surface albedo 0.0, cloudfree
C Format for file interpretation
10 format(2X,F7.5,1X,E12.6,2X,E12.6,2X,F10.8)
C Effective file loading
open(unit=1,status='old',file=
+'ocean_0/*')
write(6,*) '....Loading file: ocean_0/*'
do i__=1,91
read(1,'(A48)')ar__9
read(ar__9,10)lambda_9(i__),a1_9(i__),b1_9(i__),Pol_9(i__)
c ..............Just test output...........
write(6,10)lambda_9(i__),a1_9(i__),b1_9(i__),Pol_9(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'ocean_1/*' ! Fresnel surface, wavelength independent
* surface albedo 0.0, completely cloudy
C Format for file interpretation
11 format(2X,F7.5,1X,E12.6,2X,E12.6,2X,F10.8)
C Effective file loading
open(unit=1,status='old',file=
+'ocean_1/*')
write(6,*) '....Loading file: ocean_1/*'
do i__=1,91
read(1,'(A48)')ar__10
read(ar__10,11)lambda_10(i__),a1_10(i__),b1_10(i__),Pol_10(i__)
c ..............Just test output...........
write(6,11)lambda_10(i__),a1_10(i__),b1_10(i__),Pol_10(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end