





























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






























Input documentation for SBDART (summer 2002 release)
This file documents input parameters for SBDART, (Santa Barbara DISORT Atmospheric Radiative Transfer). SBDART is a software tool that computes plane-parallel radiative transfer in clear and cloudy conditions within the Earth's atmosphere and at the surface. For a general description and review of the program please refer to Ricchiazzi et al 1998. (Bulletin of the American Meteorological Society, October 1998).
SBDART's main input file is called INPUT. This file contains a single NAMELIST input block also named INPUT. A significant advantage of NAMELIST input is that not all elements of an input block need be specified by the user. Since most of the code inputs have been initialized with reasonable default values, new users can start by specifying just a few interesting input parameters. The default state of input parameters may be determined by removing INPUT from the current working directory. When SBDART detects the absence of file INPUT, it will print the default settings of all input parameters. This output may be redirected to a file for editing.
The default configuration of INPUT is as follows:
idatm = 4 , amix = 0.0 , isat = 0 , wlinf = 0.550 , wlsup = 0.550 , wlinc = 0.0 , sza = 0.0 , csza = -1.0 , solfac = 1.0 , nf = 2 , iday = 0 , time = 16.0 , alat = -64.7670 , alon = -64.0670 , zpres = -1.0 , pbar = -1.0 , sclh2o = -1.0 , uw = -1.0 , uo3 = -1.0 , o3trp = -1.0 , ztrp = 0.0 , xrsc = 1.0 , xn2 = -1.0 , xo2 = -1.0 , xco2 = -1.0 , xch4 = -1.0 , xn2o = -1.0 , xco = -1.0 , xno2 = -1.0 , xso2 = -1.0 , xnh3 = -1.0 , xno = -1.0 , xhno3 = -1.0 , xo4 = 1.0 , isalb = 0 , albcon = 0.0 , sc = 1.0,30.0 , zcloud = 50.0 , tcloud = 50.0 , lwp = 50.0 , nre = 58.0 , rhcld = -1.0 , krhclr = 0 , jaer = 50 , zaer = 50.0 , taerst = 50.0 , iaer = 0 , vis = 23.0 , rhaer = -1.0 , wlbaer = 470.0 , tbaer = 470.0 , abaer = -1.0 , wbaer = 470.950 , gbaer = 470.70 , pmaer = 9400.0 , zbaer = 50-1.0 , dbaer = 50-1.0 , nothrm = -1 , nosct = 0 , kdist = 3 , zgrid1 = 0.0 , zgrid2 = 30.0 , ngrid = 50 , zout = 0.0,100.0 , iout = 10 , deltam = t , lamber = t , ibcnd = 0 , saza = 180.0 , prnt = 7f , ipth = 1 , fisot = 0.0 , temis = 0.0 , nstr = 4 , nzen = 0 , uzen = 20-1.0 , vzen = 2090 , nphi = 0 , phi = 20-1.0 , imomc = 3 , imoma = 3 , ttemp = -1.0 , btemp = -1.0 , spowder = f , idb = 20 /
NOTE: Unfortunately, many fortran compilers produce rather cryptic error messages in response to improper NAMELIST input files. Here are three common NAMELIST error messages and their meaning:
MEANING: you misspelled one of the NAMELIST variable names
MEANING: you specified too many values for a variable, most likely because you separated variables by more than one comma.
MEANING: There are two possibilities: A) you didn't include a NAMELIST block specifier (INPUT, DINPUT or END) or you misspelled it; or B) You used the wrong character to signify a namelist block name. FORTRAN90 expects the namelist blocks to start with & and end with /, but most FORTRAN77 compilers used the $, $END convention.
Other input files are sometimes required by SBDART:
atms.dat -- atmospheric profile (see input quantity IDATM) aerosol.dat -- aerosol information (see input quantity IAER) albedo.dat -- spectral surface albedo (see input quantity ISALB) filter.dat -- sensor filter function (see input quantity ISAT) solar.dat -- solar spectrum (see input quantity NF) usrcld.dat -- cloud vertical profile (see input quantity TCLOUD)
SBDART usually lists computational results directly to the standard output device (i.e., the terminal, if run interactively). However, some warning messages are written to files named SBDART_WARNING.?? where the question marks indicate a warning message number. When running SBDART iteratively over many inputs, the SBDART_WARNING files will only be created once, on the first iteration that generated the warning condition. The warning files contain a warning message and a copy of the input file that triggered the warning.
0 WLINF TO WLSUP WITH FILTER FUNCTION = 1 (default)
NOTE: if ISAT=0 and KDIST=-1, then the values of WLINF and WLSUP only have an effect if they have been changed from their default values such that WLINF .ne. WLSUP. Otherwise the wavelength sample points are as specified in the CKTAU file.
12 GTR-100 ch 13 GTR-100 ch 14 GTR-100 410nm channel 15 GTR-100 936nm channel 16 MFRSR 415nm channel 17 MFRSR 500nm channel 18 MFRSR 610nm channel 19 MFRSR 665nm channel 20 MFRSR 862nm channel 21 MFRSR 940nm channel 22 AVHRR3 (nominal) 23 AVHRR4 (nominal) 24 AVHRR5 (nominal) 25 Biological action spectra for DNA damage by UVB radiation 26 AIRS1 380-460nm 27 AIRS2 520-700nm 28 AIRS3 670-975nm 29 AIRS4 415-1110nm
NOTE: If ISAT=-1 a user supplied filter data file "filter.dat" is read from the current working directory. This ASCII file is read with the following free format read (numbers may be separated by spaces, commas or carriage returns);
read(13,*,end=100) (wlfilt(i),filt(i),i=1,huge(0)) 100 continue
where, wlfilt wavelength sample points (microns)
filt filter response value (unitless)
The number of wavelength sample points read from filter.dat should be less than or equal to 1000
This file format is new. Previous versions of SBDART used a different format for spectral input files albedo.dat, filter.dat and solar.dat. A perl script 'newform' is available from ftp::/ftp.icess.ucsb.edu/pub/esrg/sbdart to convert old data files to the new format.
WLINF: lower wavelength limit when ISAT=0 (WLINF > .250 microns) central wavelength when ISAT=-2,-3,-
WLSUP: upper wavelength limit when ISAT=0 (WLSUP < 100.0 microns) equivalent width when ISAT=-2,-3,-
If ISAT eq -2, a rectangular filter (constant with wavelength) is used, with central wavelength at WLINF and an equivalent width of WLSUP (full width = WLSUP)
If ISAT eq -3, a triangular filter function is used with the central wavelength at WLINF and an equivalent width of WLSUP (full width = 2*WLSUP) (filter function is zero at end points, and one at WLINF).
If ISAT eq -4, a gaussian filter function is used with the central wavelength at WLINF and an equivalent width of WLSUP (full width = 4*WLSUP)
If output is desired at a single wavelength, set WLINF=WLSUP and ISAT=0. In this case, SBDART will set WLINC=1 (the user specified value of WLINC is ignored) and the output will be in units of (W/m2/um) for irradiance and (W/m2/um/sr) for radiance.
WLINC: This parameter specifies the spectral resolution of the SBDART run. Though the spectral limits of the calculation are always input in terms of wavelength, the spectral step size can be specified in terms of constant increments of wavelength, log(wavelength) [same as constant increment of log(wavenumber)] or wavenumber. Which one to choose depends on where in the spectral bandpass you want to place the most resolution.
Since SBDART is based on LOWTRAN7 band models, which have a spectral resolution of 20 cm-1, it would be extreme overkill to allow spectral step size less than 1 cm-1. On the other hand a spectral resolution coarser than 1 um is also pretty useless. Therefore the way WLINC is interpreted depends on whether it is less than zero, between zero and one, or greater than 1.
coordinates using an internal solar ephemeris algorithm (see subroutine zensun). IDAY is the number of days into a standard "year", with IDAY=1 and the 1st of January and IDAY=365 on the 31st of December if IDAY > 365, IDAY is replaced internally by mod(IDAY-1,365)+1.
If IDAY < 0, the code writes the values of abs(iday),time, alat,alon,sza,azm, and solfac to standard output and exits.
TIME: UTC time (Grenwich) in decimal hours ALAT: latitude of point on earth's surface ALON: east longitude of point on earth's surface
NOTE: TIME, ALAT and ALON are ignored if IDAY .eq. 0
SOLFAC: solar distance factor. Use this factor to account for seasonal variations of the earth-sun distance. If R is the earth-sun distance in Astronomical Units then SOLFAC=1./R**2. SOLFAC is set internally when the solar geometry is set through IDAY, TIME, ALAT and ALON. In this case SOLFAC is set to,
SOLFAC = ( 1.-epscos(2pi*(IDAY-perh)/365) )
where eps = orbital eccentricity = 0. and perh = day of perihelion = 2 (jan 2)
NOTE: seasonal variations in earth-sun distance produce a +/-3.4% perturbation in the TOA solar flux. This factor should be included when making detailed comparisons to surface measurements.
NOSCT: aerosol scattering mode used for boundary layer aerosols: 0 normal scattering and absorption treatment 1 reduce optical depth by (1-ssa*asym), set ssa= 2 set ssa= 3 reduce optical depth by (1-ssa), set ssa=
where ssa=single scattering albedo, and asym=asymmetry factor
nosct does not affect the stratospheric aerosol models or the iaer=5 boundary layer model.
-1 -spectral surface albedo read from "albedo.dat" 0 -user specified, spectrally uniform albedo set with ALBCON
1 -snow 2 -clear water 3 -lake water
4 -sea water 5 -sand (data range 0.4 - 2.3um) 6 -vegetation (data range 0.4 - 2.6um)
7 -ocean water brdf, includes bio-pigments, foam, and sunglint additional input parameters provided in SC.
8 -Hapke analytic brdf model. additional input parameters provided in SC.
9 -Ross-thick Li-sparse brdf model. additional input parameters in SC.
NOTE: isalb = 7, 8, 9 causes sbdart to use a non-Lambertian surface reflectance. Since the reflectance BRDF must first be expanded in terms of orthogonal functions, this mode of operation is somewhat more time consuming than the normal Lambertian reflectance models, In some cases flux calculations may be accurately computed in Lambertian mode by using directional albedo computed from the brdf, assuming all the incomming radiation is along the solar beam direction. Of course this approach will probably fail in cases where the solar direct beam doesn't dominate the downwelling radiation (e.g., in the infrared or under clouds). SBDART may be run with directional albedos by setting isalb to -7, -8 or -9.
10 -combination of snow, seawater, sand and vegetation partition factors set by input quantity SC
NOTE: If ISALB=-1 a user supplied spectral reflectance file "albedo.dat" is read from the current working directory. This ASCII file is read with the following free format read (numbers may be separated by spaces, commas or carriage returns);
read(13,*,end=100) (wlalb(i),alb(i),i=1,huge(0)) 100 continue
where, wlalb wavelength sample points (microns) alb spectral albedo (unitless)
The number of wavelength sample points read from albedo.dat should be less than or equal to 1000
The user specified reflectance may cover any wavelength range and have arbitrarily high resolution. This contrasts with the standard reflectance models (sand, vegetation, lake water and sea water) which are only specified in in the range .25 to 4 um at 5nm resolution.
Prior to version 2.0, SBDART used a different format
illumination or viewing directions may be incorrect. Additional information is available from "Second Simulation of the Satellite Signal in the Solar Spectrum (6S), user's guide" by Vermote, E., D. Tanre, J.L. Deuze, M. Herman, and J.J. Morcrette (1995).
---------- isalb=8 ----------
SC specifies Hapke analytic brdf model parameters:
SC(1): Single scattering albedo of surface particles SC(2): Asymmetry factor of scattering by surface particles SC(3): Magnitude of hot spot (opposition effect) SC(4): Width of hot spot
NOTE: This model is based on Hapke, 1981
also see P. Pinet, A. Cord, S. Chevrel and Y. Daydou, (2003): 'Experimental determination of the Hapke parameters for planetary regolith surface analogs'
Generic vegetation (actually clover), may be described with sc=0.101,-0.263, 0.589, 0.046. (From Pinty and Verstraete, 1991).
Snow may be described with sc=0.99, 0.6, 0.0, 0.995. (From Domingue et al., 1997; and Verbiscer and Veverka, 1990).
---------- isalb=9 ----------
SC specifies the Ross-thick Li-sparse brdf model parameters
SC(1)=isotropic coefficient SC(2)=volumetric coefficient SC(3)=geometric shadowing coefficient SC(4)=hot spot magnitude SC(5)=hot spot width
(Ross, 1981; Li and Strahler, 1992).
---------- isalb=10 ----------
SC specifies mixing ratios snow, ocean, sand and vegetation
Composite albedo fractions (applies only when ISALB=10) SC(1): fraction of snow SC(2): fraction of ocean SC(3): fraction of sand SC(4): fraction of vegetation
NOTE: SC(1)+SC(2)+SC(3)+SC(4) need not sum to 1. Thus, it is possible to use the SC factor to boost the overall reflectance of a given surface type. For example, SC=0,0,2,0 yields
results for a surface with spectral reflectivity twice that of sand. Beware, total reflectance greater than one will produce unphysical results.
default ozone(atm-cm) IDATM: ATMOSPHERIC PROFILE: water vapor (g/cm2) total below_10km
0 User Specified 1 TROPICAL 4.117 0.253. 2 MID-LATITUDE SUMMER 2.924 0.324. 3 MID-LATITUDE WINTER 0.854 0.403. 4 SUB-ARCTIC SUMMER 2.085 0.350. 5 SUB-ARCTIC WINTER 0.418 0.486. 6 US62 1.418 0.349. -n List to standard out
If IDATM = 0, a user supplied atmospheric profile, "atms.dat", is read from the current working directory. This ASCII file is read with the following free format read statements (input values may be separated by spaces, commas or carriage returns);
read(13,) nn do 10 i=1,nn read(13,) z(i),p(i),t(i),wh(i),wo(i) 10 continue
where nn is the number atmospheric layers nn should be less or equal to than MXLY, a parameter used in SBDART (see params.f) to set the maximum number of levels in the vertical grids.
z is the layer altitude in km (z must be monotonically decreasing) p is the pressure in millibars t is the temperature is Kelvin wh water vapor density g/m wo ozone density g/m
If IDATM is set to a negative number in the range - to -6 SBDART prints the atmospheric model corresponding to abs(idatm) to standard out, and then quits. The output atmospheric profile will reflect any modifications caused by input parameters UW, UO3, O3TRP, PBAR, ZPRES, RHCLD, and KRHCLR.
AMIX: weighting factor, when positive this factor controls how much of the atms.dat atmospheric profile to mix in with one of the standard internal profiles selected by IDATM. For example IDATM=1 and AMIX=.7 specifies a 70% weighting of atms.dat and a 30% weighting of profile TROPIC. No (default=-1)
default set of VMRs do not add up to 10^ because of the exclusion of the noble gases which do not have any radiative effects.
XRSC: sensitivity factor for Rayleigh scattering (default=1) This factor varies the strength of Rayleigh scattering for sensitivity studies.
XO4 sensitivity factor to adjust strength of absorption by oxygen collisional complexes (default=1, see comments in subroutine o4cont)
PBAR: surface pressure in millibars.
PBAR > 0 causes each pressure to be multiplied by the factor (PBAR/P0) where P0 is the surface pressure of the original atmosphere. The absorption due to mixed gases is affected, but absorption by ozone and water vapor is not (they are separately controlled by UW and UO3). The Rayleigh scattering optical depth is proportional to the PBAR/P0 factor.
PBAR = 0 disables Rayleigh scattering and all atmospheric absorption (including water vapor and ozone). Scattering by aerosols or clouds is not affected.
PBAR < 0, causes the original pressure profile to be used. (this is the default)
NOTE: PBAR has no effect of the CKTAU optical depths.
ZPRES: Surface altitude in kilometers. This parameter is just an alternate way of setting the surface pressure, and should not be set when PBAR is specified. When ZPRES is set PBAR is obtained by logarithmic interpolation on the current model's atmosphere pressure and altitude arrays. Changing ZPRES does not alter other parameters in the atmospheric model in any way. Note that setting a large value of ZPRES may push the tropopause (where dT/dz=0) to an unrealistically high altitude.
SCLH2O: Water vapor scale height in km.
If SCLH2O .gt. 0, then water vapor is vertically distributed as exp(-z/SCLH2O)
If SCLH2O .le. 0, then the original vertical profile is used. Changing SCLH2O has no effect on the total water vapor amount.
ZCLOUD: Altitude of cloud layers (km) (up to 5 values), Cloud layers may be specified in two ways. To specify separate cloud layers, set ZCLOUD to a sequence of monotonically increasing altitudes. A cloud layer with optical depth TCLOUD(j) will start at the highest computation level for which z(i).le.ZCLOUD(j)+.001 and will extend to the next higher level, z(i+1).
To specify a range of altitudes which will be filled by cloud, tag the second element of the range with a minus sign. In this case the element of TCLOUD that corresponds to the negative element of ZCLOUD specifies the gradient of the optical depth. Setting this element of TCLOUD to 1 causes a uniform opacity between the lower and upper limits of the cloud layer. See description of TCLOUD input. Consider,
zcloud=1,-3,10,- tcloud=4, 1, 8, 1 nre =6, 6, 10, 20
In this example two continuous cloud layers are defined, the lower one extends from 1 to 3 km and has a total optical depth of 4 and an effective radius of 6um. The upper cloud layer extends from 10 to 15 km, has a total optical thickness of 8 and a sliding value of effective radius which starts 10um at the bottom of the cloud and ramps up to 20um at 15km The ramping function is logarithmic, i.e., nre(12km)=10(20/10)*((12-10)/15-10)). Note that the actual location of the cloud layers is determined by the resolution and placement of vertical grid points in SBDART, as explained below.
SBDART puts the i'th cloud layer at the highest vertical grid point, k, such that
z(k) .le. abs(ZCLOUD(i)+.001)
NOTE: A cloud with a nominal altitude equal to that of one of the computational layer altitudes, Z(K), actually extends from Z(k) to the next higher grid point. For example, a cloud layer at Z(k) will not affect the direct beam flux at Z(k+1) (one layer above) but will strongly affect it at Z(k). (You can check this out your self by setting IOUT=10 and ZCLOUD=1 and messing around with ZOUT to get outputs just above or below the cloud).
Suppose the bottom of your computational grid looks like
k z(k) ... ... 6 2.
where Q is the extinction efficiency, which is a function of effective radius and wavelength (see discussion of LWP for a definition of Q). The code contains a look-up table of Q that covers effective radii in the range 2 to 128um for water clouds and for a single effective radius of 106um for ice clouds. The wavelengths range is 0.29 to 333.33 um for water clouds and .29 to 20 um for ice clouds.
When specifying an optical depth for a range of grid levels, the second TCLOUD entry corresponding to the cloud top altitude is usually set to one. This produces a uniform distribution of opacity over the altitude range.
For example,
ZCLOUD= 1 ,-5,0,0,0 # uniformly distributed opacity TCLOUD= 10, 1,0,0,0 # for a cloud of extent 4 km NRE= 10,20 # 2.5 optical depths per km
A linearly varying opacity distribution can be obtained by setting the second TCLOUD entry to a factor which represents the ratio of the opacity in the highest layer to that in the lowest layer
For example,
ZCLOUD= 1 ,-5,0,0,0 # linearly distributed opacity TCLOUD= 10, 4,0,0,0 # for a cloud of extent 4 km
NOTE: if r is the ratio of the top to bottom and t is the average opacity per level then,
tau(top_level)=t*2r/(1+r)
tau(bot_level)=t*2/(1+r)
NOTE: a linear increase in opacity, starting from zero at the cloud bottom, is obtained by setting,
r=1 + 2*zdiff/dz
where dz is the grid spacing and zdiff is the total altitude range over which the cloud extends. This formula assumes constant grid spacing over the cloud altitude range. Thus, if dz=1 then ZCLOUD= 1,-5 and TCLOUD= 10,7 yeilds a linear
increase from zero.
NRE: Cloud drop effective radius (microns). (up to 5 values) Default value of NRE=8.
The absolute value of NRE should be a floating point number in the range 2.0 to 128.0. NRE < 0 selects mie scattering parameters for ice particles NRE > 0 selects mie scattering parameters for water droplets
The drop size distribution is assumed to follow a gamma distribution:
(p-1) (-r/Ro) N(r) = C * (r/Ro) e
where C is a normalization constant [C=1./(Ro*gamma(p))], p=7, and Ro=NRE/(p+2)
The factor (p+2) relating Ro to NRE follows from the defining equation of NRE:
NRE = < r N(r) > / < r N(r) >,
where the angle brackets indicate integration over all drop radii.
Another frequently used parameter to describe the size distribution is the mode radius, Rm, which is defined as the radius at which N(r) is maximized. For our drop size distribution Rm=(p-1)Ro. Using the relation between Ro and NRE we find that, Rm=(p-1)NRE/(p+2)
NOTE: If the first element of NRE is zero, the values of TCLOUD, ZCLOUD, LWP and NRE are ignored and cloud specification records are read from file usrcld.dat. The first record in this file corresponds to the lowest layer in the atmosphere, that is between the surface and the lowest cell boundary altitude. Each following record sets values for the next higher atmospheric layer in the model atmosphere. usrcld.dat is read with the following fortran statements:
do i=1,nz- read(13,*,end=100) lwp(i),re(i),fwp(i),rei(i),cldfrac(i) enddo 100 continue
where lwp liquid water path in layer i. (g/m2) (default=0)
re effective radius of liquid water (um) in layer i. (default=8um)
For more details see the discussion of TCLOUD.
NOTE: a 1 mm column of liquid water = 1000 g/m2,
NOTE: LWP and TCLOUD cannot be used at the same time
NOTE: The cloud optical depth is related to LWP by
3 Q(wl) * LWP tau = ------------- 4 RHO * NRE
where Q is the scattering efficiency and RHO is the density of liquid water (1 g/cm3). The value of Q that applies to a distribution of cloud droplets can be expressed in terms of the extinction cross-section at a given wavelength and liquid drop radius.
Let sigma = extinction cross-section at a given wavelength and drop radius
q = sigma/(pi*r^2) (dimensionless)
where (pi*r^2) is the geometrical cross-section of the cloud drop
then Q is a weighted average over drop radius, given by:
Q = < r q N(r) > / < r N(r) >
for visible light Q is typically about 2 (dimensionless).
For example: NRE = 10um and LWP= 200g/m2 = 0.2mm => tau = 30
RHCLD: The relative humidity within a cloud layer (a floating point value between 0.0 and 1.0). RHCLD<0 disables the adjustment of relative humidity, in which case the relative humidity in the cloud layer is unchanged (it varies with the temperature and water vapor density of the initial model atmosphere). This parameter has no effect when KDIST<
KRHCLR: If zero, water vapor mixing ratio in clear layers is proportionately reduced to maintain the water vapor path specified by WH. This option has no effect if RHCLD is negative or TCLOUD is zero. if KRHCLR=1, the relative humidity in clear layers is unchanged. (default=0)
NOTE: if KRHCLR=1 and clouds are present, the actual water vapor path will differ from that specified by WH. On the other hand, if KRHCLR=0, the normalization procedure
may drive the water vapor in clear layers to zero and still be unable produce a given WVP. This parameter has no effect when KDIST<
JAER: 5 element array of stratospheric aerosol types
0-no aerosol 1-background stratospheric 2-aged volcanic 3-fresh volcanic 4-meteor dust
ZAER: altitudes (above the surface) of stratospheric aerosol layers (km) Up to 5 layer altitudes may be specified. NOTE: even though these models are for stratospheric aerosols, the scattering layer may be placed anywhere within the numerical grid. See ZCLOUD for a discussion of how aerosol (cloud) layers are positioned within SBDART's computational grid.
TAERST: optical depth (at 0.55 microns) of each stratospheric aerosol layer. Up to 5 layer optical depths may be specified.
IAER: Boundary layer aerosol type selector
-1-read aerosol optical depth and scattering parameters from aerosol.dat. See subroutine AEREAD.
the file format is readable by the following Fortran code:
read(11,) nn, moma do k=1,huge(0) read(11,,end=100) wl(k) do i=nz-nn+1,nz read(11,*) dtau(i,k),waer(i,k),pmom(1:moma,i,k) enddo enddo 100 continue
where nn is the number of atmospheric levels for which aerosol information is specified.
moma number of phase function moments
wl(k) is the wavelength [ wl(k) < wl(k+1) ]