ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/doc/man/man1/genssky.1
(Generate patch)

Comparing ray/doc/man/man1/genssky.1 (file contents):
Revision 1.1 by greg, Fri Jul 5 18:04:36 2024 UTC vs.
Revision 1.2 by greg, Fri Jul 19 23:38:28 2024 UTC

# Line 2 | Line 2
2   .TH "GENSSKY" "1" "8/31/24" "RADIANCE" ""
3   .SH "NAME"
4   genssky - generates a RADIANCE description of the spectral daylight sources
5 + .br
6 +
7   .SH "SYNOPSIS"
8 < \fBgenssky month day hour [-y year] [-d AOD] [-c cloud_cover] [-l file] [-g grefl] [-n nproc] [-r res] [-f out]\fR
8 > \fBgenssky month day hour [-y year] [-d AOD] [-c cloud_cover] [-l file] [-p dir] [-g grefl] [-n nproc] [-r res] [-f outname]\fR
9 > .br
10 >
11   .SH "DESCRIPTION"
12 < \fIGenssky\fR produces a RADIANCE scene description of spectral sky
13 < and ground using the precomputed atmospheric scattering method
14 < (Bruneton et al). For a given atmospheric condition, a set of
15 < Radiance data files are pre-computed and reused for other solar
16 < positions. Precomputation can be sped up using multithreading with
17 < the \fI-n\fR flag. Extraterestrial solar radiation are spectrally
18 < resolved from 380-780nm at 20nm interval and constant regardless
19 < of location and time. The resulting sky source is in the same spectra
20 < range. The output are three files defaults to {prefix}.rad,
21 < {prefix}_sky.hsr, {prefix}_ground.hsr. The default prefix is "out"
22 < and can be changed using \fI-f\fR flag. The two .hsr files stores
23 < the fisheye spectral image of the sky and ground, with a default
24 < resolution of 128x128, which can be changed using \fI-r\fR flag.
25 < .PP
26 < Non-clear conditions are modeled by linearly interpolating between
27 < clear sky and CIE overcast sky.  The resulting sky is the weight
24 < (cloud cover) average of clear and overcast sky. The overcast sky
25 < has a CCT of 6415K, from which the daylight spectra was computed.
26 < .PP
27 < Genssky models the Mie scattering differently from the original
28 < implementation.  Instead of assuming exponential decay uniformly
29 < across the spectral range, the Mie scattering coefficients, as a
30 < functinon of the altitude, are computed into a lookup table using
31 < libradtran radiative transfer solver and interpolated directly
32 < during precomputation. The default Mie scattering profile is OPAC
33 < continental average, and can be overridden using the \fI-l\fR flag.
34 < The overall aerosol profile can also be scaled linearly by applying
35 < a broadband aerosol depth value using the \fI-d\fR flag.
36 < .PP
37 < Rayleigh scattering as a function of altitude is assumed to be
38 < exponential decay. The Rayleigh scattering coefficients at sea level
39 < are taken from Anderson et al (1986). There are a total of five
40 < sets of Rayleigh scattering data: mid-latitude summer, mid-latitude
41 < winter, sub-arctic summer, sub-arctic winter, and tropical. Latitudes
42 < are divided at 23.5 and 62.5 deg and summer is from month [4-9].
43 < The scale-height of each Rayleigh scattering profile are tuned to
44 < fit the corresponding results from a libradtran calculation.
45 < .PP
12 > \fIGenssky\fR produces a RADIANCE scene description of spectral sky and ground using the precomputed atmospheric scattering method (Bruneton et al). For a given atmospheric condition, a set of Radiance data files are pre-computed and reused for other solar positions. A "atmos_data" directory will be created in the current working directory to store the precomputed atmospheric data. This directory can be created elsewhere using the \fI-p\fR flag. Precomputation can be sped up using multithreading with the \fI-n\fR flag. Extraterestrial solar radiation are spectrally resolved from 380-780nm at 20nm interval and constant regardless of location and time. The resulting sky source is in the same spectra range written to stdout. The sky and ground hyperspectral map are written to files {prefix}_sky.hsr, {prefix}_ground.hsr. The default prefix is "out" and can be changed using \fI-f\fR flag. The two .hsr files stores the fisheye spectral image of the sky and ground, with a default resolution of 128x128, which can be changed using \fI-r\fR flag.
13 >
14 > .br
15 >
16 > Genssky models the mie scattering differently from the original implementation.  Instead of assuming exponential decay uniformly across the spectral range, the mie scattering coefficients, as a functinon of the altitude, are computed into a lookup table using libradtran radiative transfer solver and interpolated directly during precomputation. The default mie scattering profile is OPAC continental average, and can be overridden using the \fI-l\fR flag. The overall aerosol profile can also be scaled linearly by applying a broadband aerosol depth value using the \fI-d\fR flag.
17 >
18 > .br
19 >
20 > Rayleigh scattering as a function of altitude is assumed to be exponential decay. The Rayleigh scattering coefficients at sea level are taken from Anderson et al (1986). There are a total of five sets of Rayleigh scattering data: mid-latitude summer, mid-latitude winter, sub-arctic summer, sub-arctic winter, and tropical. Latitudes are divided at 23.5 and 62.5 deg and summer is from month [4-9]. The scale-height of each Rayleigh scattering profile are tuned to fit the corresponding results from a libradtran calculation.
21 >
22 > .br
23 >
24 > Non-clear conditions are modeled by linearly interpolating between clear sky and CIE overcast sky.  The resulting sky is the weighted (cloud cover) average of clear and overcast sky. The overcast sky has a CCT of 6415K, from which the daylight spectra was computed.
25 >
26 > .br
27 >
28   \fIgenssky\fR can be used with the following input parameters.
29 < .PP
29 >
30 > .br
31 >
32   \fB-a        Latitude in degree, north positive. Used along with datetime to determine solar angle and Rayleigh scattering profile.
33   .br
34  
# Line 54 | Line 38 | fit the corresponding results from a libradtran calcul
38   \fB-d        Broadband aerosol optical depth, default: 0.115. This parameter linearlly scales the overall aerosol scattering, default=0.115.
39   .br
40  
41 < \fB-f        Output file name, default="out"
41 > \fB-f        Output sky map file name prefix, default="out"
42   .br
43  
44   \fB-g        Average ground reflectance, default=0.2
# Line 72 | Line 56 | fit the corresponding results from a libradtran calcul
56   \fB-o        Longitude in degree, west positive. Used to calculated solar angle.
57   .br
58  
59 + \fB-p        Set directory to store the precomputed atmopsheric data directory, default=current working directory.
60 + .br
61 +
62   \fB-r        Sky and ground hyperspectral image resolution. default=128. Increase this value to reduce artifacts at horizon.
63   .br
64  
65 + \fB-y        Set year to invoke a more accurate algorithm to calculate solar angles, default=0.
66 + .br
67  
68 +
69   .SH "EXAMPLES"
70   To generate a clear sky for March 2th at 3:15pm standard time at a site latitude of 42 degrees, 108 degrees west longitude, and a 110 degrees standard meridian, using 8 threads:
71   .br
# Line 101 | Line 91 | Taoning Wang
91   .br
92  
93   .SH "SEE ALSO"
94 < gensky(1), gensky(1), rcomb(1), rcontrib(1), rpict(1), rtpict(1),
94 > gensky(1), rcomb(1), rcontrib(1), rpict(1), rtpict(1),
95   rtrace(1), xform(1)
96   .br

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines