I have a question on gensky. It is stated in the manual that "If the
time is preceded by a plus sign ('+'), then it is interpreted as local
solar time instead." However, I use the following command:
gensky 3 21 +10.00EST -a 40.77 -o 73.967
The program echoes:
gensky: bad time format: +10.00EST
I look into gensky.c and find out that
if ( (tsolar = *cp == '+') ) cp++;
if (tsolar || !isalpha(*cp)) {
fprintf(stderr, "%s: bad time format: %s\n", progname, hs);
exit(1);
}
If tsolar is 1, then the program will exit. Does it mean that the
local solar time is not supported? Thanks.
I have a question on gensky. It is stated in the manual that "If the
time is preceded by a plus sign ('+'), then it is interpreted as local
solar time instead." However, I use the following command:
gensky 3 21 +10.00EST -a 40.77 -o 73.967 The program echoes:
gensky: bad time format: +10.00EST
I look into gensky.c and find out that
if ( (tsolar = *cp == '+') ) cp++;
if (tsolar || !isalpha(*cp)) {
fprintf(stderr, "%s: bad time format: %s\n", progname,
hs);
exit(1);
}
If tsolar is 1, then the program will exit. Does it mean that the local
solar time is not supported? Thanks.
(1) The book of "Rendering with radiance" says luminous efficacy is set to
179 for all CIE sky models. Is that true for current version?
(2) If I know Solar direct radiation and diffuse radiation, I hope to use
Perez's (source: Modeling daylight availability and irradiance components
from direct and global irradiance, 1990 solar energy) models (that is,
interpolate two CIE sky model according to radiation), is that possible to
generate a new sky luminance distribution model by interpolation of two
standard CIE model in Radiance in order to calculate the interior
illuminance more accurately?
(1) The book of "Rendering with radiance" says luminous efficacy is set to 179 for all CIE sky models. Is that true for current version?
The 179 lm/watt is the standard luminous efficacy conversion for Radiance, and yes it's still the same for the current version.
(2) If I know Solar direct radiation and diffuse radiation, I hope to use Perez's (source: Modeling daylight availability and irradiance components from direct and global irradiance, 1990 solar energy) models (that is, interpolate two CIE sky model according to radiation), is that possible to generate a new sky luminance distribution model by interpolation of two standard CIE model in Radiance in order to calculate the interior illuminance more accurately?
If you know direct and diffuse radiation, you can use gendaylit (recently added to the default Radiance distro) to generate a Perez sky model directly. Check the manpage for gendaylit. I have been using it lately for some studies based on TMY weather file info and it works well!
Do you mean I should download the latest version to use that? My OP is
Ubuntu and I am not sure whether the latest one is compatible with this OP.
Jia
···
On Fri, Mar 26, 2010 at 12:46 AM, Rob Guglielmetti <[email protected]>wrote:
Hi Jia,
On Mar 25, 2010, at 7:20 PM, Jia Hu wrote:
> I have some questions relating to gensky command.
>
> (1) The book of "Rendering with radiance" says luminous efficacy is set
to 179 for all CIE sky models. Is that true for current version?
The 179 lm/watt is the standard luminous efficacy conversion for Radiance,
and yes it's still the same for the current version.
> (2) If I know Solar direct radiation and diffuse radiation, I hope to use
Perez's (source: Modeling daylight availability and irradiance components
from direct and global irradiance, 1990 solar energy) models (that is,
interpolate two CIE sky model according to radiation), is that possible to
generate a new sky luminance distribution model by interpolation of two
standard CIE model in Radiance in order to calculate the interior
illuminance more accurately?
If you know direct and diffuse radiation, you can use gendaylit (recently
added to the default Radiance distro) to generate a Perez sky model
directly. Check the manpage for gendaylit. I have been using it lately for
some studies based on TMY weather file info and it works well!
I saw it was developed in 1994 from manual page. My version should contain
that. Thanks,
Jia
···
On Fri, Mar 26, 2010 at 12:46 AM, Rob Guglielmetti <[email protected]>wrote:
Hi Jia,
On Mar 25, 2010, at 7:20 PM, Jia Hu wrote:
> I have some questions relating to gensky command.
>
> (1) The book of "Rendering with radiance" says luminous efficacy is set
to 179 for all CIE sky models. Is that true for current version?
The 179 lm/watt is the standard luminous efficacy conversion for Radiance,
and yes it's still the same for the current version.
> (2) If I know Solar direct radiation and diffuse radiation, I hope to use
Perez's (source: Modeling daylight availability and irradiance components
from direct and global irradiance, 1990 solar energy) models (that is,
interpolate two CIE sky model according to radiation), is that possible to
generate a new sky luminance distribution model by interpolation of two
standard CIE model in Radiance in order to calculate the interior
illuminance more accurately?
If you know direct and diffuse radiation, you can use gendaylit (recently
added to the default Radiance distro) to generate a Perez sky model
directly. Check the manpage for gendaylit. I have been using it lately for
some studies based on TMY weather file info and it works well!
gendaylit was only included in the source distribution for the last couple months (maybe even less than that, the days are blurring together lately). Not sure what you mean by "it" was developed in 1994. Are you using pre-compiled binaries, or some kind of rpm distribution? If so, I doubt you have gendaylit installed, as this was included in the Radiance source distribution only recently. Gendaylit has been around a while, but prior to the new Radiance release, you had to go get it and compile it yourself. If you are compiling from source, then you could grab the latest official release (announced very recently) and compile, and you'd have it.
At any rate, it's worth seeking it out one way or another because you can use it for precisely what you're talking about.
- Rob
···
On Mar 25, 2010, at 10:56 PM, Jia Hu wrote:
Hi Rob:
I saw it was developed in 1994 from manual page. My version should contain that. Thanks,
Jia
On Fri, Mar 26, 2010 at 12:46 AM, Rob Guglielmetti <[email protected]> wrote:
Hi Jia,
On Mar 25, 2010, at 7:20 PM, Jia Hu wrote:
> I have some questions relating to gensky command.
>
> (1) The book of "Rendering with radiance" says luminous efficacy is set to 179 for all CIE sky models. Is that true for current version?
The 179 lm/watt is the standard luminous efficacy conversion for Radiance, and yes it's still the same for the current version.
> (2) If I know Solar direct radiation and diffuse radiation, I hope to use Perez's (source: Modeling daylight availability and irradiance components from direct and global irradiance, 1990 solar energy) models (that is, interpolate two CIE sky model according to radiation), is that possible to generate a new sky luminance distribution model by interpolation of two standard CIE model in Radiance in order to calculate the interior illuminance more accurately?
If you know direct and diffuse radiation, you can use gendaylit (recently added to the default Radiance distro) to generate a Perez sky model directly. Check the manpage for gendaylit. I have been using it lately for some studies based on TMY weather file info and it works well!
On Fri, Mar 26, 2010 at 1:05 AM, Rob Guglielmetti <[email protected]>wrote:
Hi Jia,
gendaylit was only included in the source distribution for the last couple
months (maybe even less than that, the days are blurring together lately).
Not sure what you mean by "it" was developed in 1994. Are you using
pre-compiled binaries, or some kind of rpm distribution? If so, I doubt you
have gendaylit installed, as this was included in the Radiance source
distribution only recently. Gendaylit has been around a while, but prior to
the new Radiance release, you had to go get it and compile it yourself. If
you are compiling from source, then you could grab the latest official
release (announced very recently) and compile, and you'd have it.
At any rate, it's worth seeking it out one way or another because you can
use it for precisely what you're talking about.
- Rob
On Mar 25, 2010, at 10:56 PM, Jia Hu wrote:
Hi Rob:
I saw it was developed in 1994 from manual page. My version should contain
that. Thanks,
Jia
On Fri, Mar 26, 2010 at 12:46 AM, Rob Guglielmetti <[email protected]>wrote:
Hi Jia,
On Mar 25, 2010, at 7:20 PM, Jia Hu wrote:
> I have some questions relating to gensky command.
>
> (1) The book of "Rendering with radiance" says luminous efficacy is set
to 179 for all CIE sky models. Is that true for current version?
The 179 lm/watt is the standard luminous efficacy conversion for Radiance,
and yes it's still the same for the current version.
> (2) If I know Solar direct radiation and diffuse radiation, I hope to
use Perez's (source: Modeling daylight availability and irradiance
components from direct and global irradiance, 1990 solar energy) models
(that is, interpolate two CIE sky model according to radiation), is that
possible to generate a new sky luminance distribution model by interpolation
of two standard CIE model in Radiance in order to calculate the interior
illuminance more accurately?
If you know direct and diffuse radiation, you can use gendaylit (recently
added to the default Radiance distro) to generate a Perez sky model
directly. Check the manpage for gendaylit. I have been using it lately for
some studies based on TMY weather file info and it works well!
Could you be more specific on the error you're getting? Sounds like it's probably a permissions error, but I'm not sure. Are you running the makeall script as root (using the sudo command)?
On Fri, Mar 26, 2010 at 1:05 AM, Rob Guglielmetti <[email protected]> wrote:
Hi Jia,
gendaylit was only included in the source distribution for the last couple months (maybe even less than that, the days are blurring together lately). Not sure what you mean by "it" was developed in 1994. Are you using pre-compiled binaries, or some kind of rpm distribution? If so, I doubt you have gendaylit installed, as this was included in the Radiance source distribution only recently. Gendaylit has been around a while, but prior to the new Radiance release, you had to go get it and compile it yourself. If you are compiling from source, then you could grab the latest official release (announced very recently) and compile, and you'd have it.
At any rate, it's worth seeking it out one way or another because you can use it for precisely what you're talking about.
- Rob
On Mar 25, 2010, at 10:56 PM, Jia Hu wrote:
Hi Rob:
I saw it was developed in 1994 from manual page. My version should contain that. Thanks,
Jia
On Fri, Mar 26, 2010 at 12:46 AM, Rob Guglielmetti <[email protected]> wrote:
Hi Jia,
On Mar 25, 2010, at 7:20 PM, Jia Hu wrote:
> I have some questions relating to gensky command.
>
> (1) The book of "Rendering with radiance" says luminous efficacy is set to 179 for all CIE sky models. Is that true for current version?
The 179 lm/watt is the standard luminous efficacy conversion for Radiance, and yes it's still the same for the current version.
> (2) If I know Solar direct radiation and diffuse radiation, I hope to use Perez's (source: Modeling daylight availability and irradiance components from direct and global irradiance, 1990 solar energy) models (that is, interpolate two CIE sky model according to radiation), is that possible to generate a new sky luminance distribution model by interpolation of two standard CIE model in Radiance in order to calculate the interior illuminance more accurately?
If you know direct and diffuse radiation, you can use gendaylit (recently added to the default Radiance distro) to generate a Perez sky model directly. Check the manpage for gendaylit. I have been using it lately for some studies based on TMY weather file info and it works well!
Hi, I forgot to use sudo command. it is a permission error. It is installed
now by using: sudo ./makeall install. In the end, the Gnome terminal
indicates there are some errors. But it seems that it is running without
problems.
Thank you.
···
On Sat, Mar 27, 2010 at 12:23 PM, Rob Guglielmetti <[email protected]>wrote:
Could you be more specific on the error you're getting? Sounds like it's
probably a permissions error, but I'm not sure. Are you running the makeall
script as root (using the sudo command)?
On Fri, Mar 26, 2010 at 1:05 AM, Rob Guglielmetti <[email protected]>wrote:
Hi Jia,
gendaylit was only included in the source distribution for the last couple
months (maybe even less than that, the days are blurring together lately).
Not sure what you mean by "it" was developed in 1994. Are you using
pre-compiled binaries, or some kind of rpm distribution? If so, I doubt you
have gendaylit installed, as this was included in the Radiance source
distribution only recently. Gendaylit has been around a while, but prior to
the new Radiance release, you had to go get it and compile it yourself. If
you are compiling from source, then you could grab the latest official
release (announced very recently) and compile, and you'd have it.
At any rate, it's worth seeking it out one way or another because you can
use it for precisely what you're talking about.
- Rob
On Mar 25, 2010, at 10:56 PM, Jia Hu wrote:
Hi Rob:
I saw it was developed in 1994 from manual page. My version should contain
that. Thanks,
Jia
On Fri, Mar 26, 2010 at 12:46 AM, Rob Guglielmetti <[email protected]>wrote:
Hi Jia,
On Mar 25, 2010, at 7:20 PM, Jia Hu wrote:
> I have some questions relating to gensky command.
>
> (1) The book of "Rendering with radiance" says luminous efficacy is set
to 179 for all CIE sky models. Is that true for current version?
The 179 lm/watt is the standard luminous efficacy conversion for
Radiance, and yes it's still the same for the current version.
> (2) If I know Solar direct radiation and diffuse radiation, I hope to
use Perez's (source: Modeling daylight availability and irradiance
components from direct and global irradiance, 1990 solar energy) models
(that is, interpolate two CIE sky model according to radiation), is that
possible to generate a new sky luminance distribution model by interpolation
of two standard CIE model in Radiance in order to calculate the interior
illuminance more accurately?
If you know direct and diffuse radiation, you can use gendaylit (recently
added to the default Radiance distro) to generate a Perez sky model
directly. Check the manpage for gendaylit. I have been using it lately for
some studies based on TMY weather file info and it works well!
If you did not download and install the "rad3R9supp" package you are
probably missing libtiff and the makeall script complains about errors
related to that. ra_tiff has not been created and other converters
have not been installed to the ../bin directory. Those were the
problems I remember; it's worth checking.
Hi, I forgot to use sudo command. it is a permission error. It is installed
now by using: sudo ./makeall install. In the end, the Gnome terminal
indicates there are some errors. But it seems that it is running without
problems.
Thank you, I will install it again to see if the errors still exist.
···
On Sat, Mar 27, 2010 at 1:31 PM, Thomas Bleicher <[email protected]>wrote:
If you did not download and install the "rad3R9supp" package you are
probably missing libtiff and the makeall script complains about errors
related to that. ra_tiff has not been created and other converters
have not been installed to the ../bin directory. Those were the
problems I remember; it's worth checking.
Thomas
On Sat, Mar 27, 2010 at 4:46 PM, Jia Hu <[email protected]> wrote:
> Hi, I forgot to use sudo command. it is a permission error. It is
installed
> now by using: sudo ./makeall install. In the end, the Gnome terminal
> indicates there are some errors. But it seems that it is running without
> problems.
Hi, I am new for ubuntu and confused with different kinds of files for
Radiance. I used the following command to install Radiance, is that right?
navigate to the directory"rad3R9pp"
run: ./makeall install (nearly all options in this process are yes
(default). it says there are some error at this step)
Then, ./makeall library
navigate to the directory "ray" (unpack the package downloaded from http://radsite.lbl.gov/radiance/framed.html)
run: ./makeall install (still there are some error)
then, ./makeall library
then, ./makeall clean
Thank you, I will install it again to see if the errors still exist.
On Sat, Mar 27, 2010 at 1:31 PM, Thomas Bleicher <[email protected] > > wrote:
If you did not download and install the "rad3R9supp" package you are
probably missing libtiff and the makeall script complains about errors
related to that. ra_tiff has not been created and other converters
have not been installed to the ../bin directory. Those were the
problems I remember; it's worth checking.
Thomas
On Sat, Mar 27, 2010 at 4:46 PM, Jia Hu <[email protected]> wrote:
> Hi, I forgot to use sudo command. it is a permission error. It is
installed
> now by using: sudo ./makeall install. In the end, the Gnome terminal
> indicates there are some errors. But it seems that it is running without
> problems.
The current official release is 4.0 from radsite.lbl.gov. This package
contains all files for the core tools. It does not contain source
files for libtiff which is only required if you want to compile the
tool ra_tiff which allows conversion from and to TIF images. However,
there is a small bug in the makeall script: if it can't compile
ra_tiff it will not install any of the other converters. It will
report errors instead.
To avoid these errors you need to download an additional package,
rad3R9supp.tar.gz (or any other archive). This file contains the
libtiff sources and a lot of other material (example scenes, images,
mesh objects). It's a pretty big file and because it's not essential
for the core Radiance tools it was spit out in a separate package.
Don't worry about the version number. The "supp" file should work with
the new 4.0 Radiance from radsite.lbl.gov. All other files on radiance-online.org need to be updated. The official 4.0 release of
Radiance is only a couple of days old so there was no time yet to
update that site, too.
The best way to compile is:
1) Download and unpack rad4R0all.tar.gz. This will create a "ray" directory
2) Download and unpack rad3R9supp.tar.gz. Unpack this in the same
directory. This will extract its files in the same "ray" directory
that was created before.
3) cd into "ray"
4) compile with "sudo ./makeall install | tee makeall.output"
This will create a file called "makeall.output" with all the stuff
that's scrolling by on your terminal during the process. You can check
it for errors later. If you see the message about errors again send
this file and we can see what was going wrong.
A small correction to this. The "rad4R0all.tar.gz" download does contain the TIFF library and all the example files and directories.
Best,
-Greg
···
From: Thomas Bleicher <[email protected]>
Date: March 27, 2010 1:13:54 PM PDT
Jia.
The current official release is 4.0 from radsite.lbl.gov. This package
contains all files for the core tools. It does not contain source
files for libtiff which is only required if you want to compile the
tool ra_tiff which allows conversion from and to TIF images. However,
there is a small bug in the makeall script: if it can't compile
ra_tiff it will not install any of the other converters. It will
report errors instead.
To avoid these errors you need to download an additional package,
rad3R9supp.tar.gz (or any other archive). This file contains the
libtiff sources and a lot of other material (example scenes, images,
mesh objects). It's a pretty big file and because it's not essential
for the core Radiance tools it was spit out in a separate package.
Don't worry about the version number. The "supp" file should work with
the new 4.0 Radiance from radsite.lbl.gov. All other files on radiance-online.org need to be updated. The official 4.0 release of
Radiance is only a couple of days old so there was no time yet to
update that site, too.
The best way to compile is:
1) Download and unpack rad4R0all.tar.gz. This will create a "ray" directory
2) Download and unpack rad3R9supp.tar.gz. Unpack this in the same
directory. This will extract its files in the same "ray" directory
that was created before.
3) cd into "ray"
4) compile with "sudo ./makeall install | tee makeall.output"
This will create a file called "makeall.output" with all the stuff
that's scrolling by on your terminal during the process. You can check
it for errors later. If you see the message about errors again send
this file and we can see what was going wrong.
I downloaded and installed it following your instruction. The last line in
makeall.output says "there are some error".
I attach this file in the email and wish you could help me check whether it
is serious or not.
On Sat, Mar 27, 2010 at 4:13 PM, Thomas Bleicher <[email protected]>wrote:
Jia.
The current official release is 4.0 from radsite.lbl.gov. This package
contains all files for the core tools. It does not contain source
files for libtiff which is only required if you want to compile the
tool ra_tiff which allows conversion from and to TIF images. However,
there is a small bug in the makeall script: if it can't compile
ra_tiff it will not install any of the other converters. It will
report errors instead.
To avoid these errors you need to download an additional package,
rad3R9supp.tar.gz (or any other archive). This file contains the
libtiff sources and a lot of other material (example scenes, images,
mesh objects). It's a pretty big file and because it's not essential
for the core Radiance tools it was spit out in a separate package.
Don't worry about the version number. The "supp" file should work with
the new 4.0 Radiance from radsite.lbl.gov. All other files on radiance-online.org need to be updated. The official 4.0 release of
Radiance is only a couple of days old so there was no time yet to
update that site, too.
The best way to compile is:
1) Download and unpack rad4R0all.tar.gz. This will create a "ray" directory
2) Download and unpack rad3R9supp.tar.gz. Unpack this in the same
directory. This will extract its files in the same "ray" directory
that was created before.
3) cd into "ray"
4) compile with "sudo ./makeall install | tee makeall.output"
This will create a file called "makeall.output" with all the stuff
that's scrolling by on your terminal during the process. You can check
it for errors later. If you see the message about errors again send
this file and we can see what was going wrong.
Your compile results are strange. It seems like all the binary files are being compiled, but the final copy to your executable destination is usually skipped. This may be due to a false error being reported by the linker or some other configuration problem. I would try rerunning "makeall install" a second time to see if that doesn't fix it. It shouldn't be necessary, but something is wrong with your build system.
-Greg
···
From: Jia Hu <[email protected]>
Date: March 27, 2010 1:53:24 PM PDT
Hello Thomas:
Thank you very much for your help.
I downloaded and installed it following your instruction. The last line in makeall.output says "there are some error".
I attach this file in the email and wish you could help me check whether it is serious or not.
On Sat, Mar 27, 2010 at 5:09 PM, Greg Ward <[email protected]> wrote:
Hi Jia,
Your compile results are strange. It seems like all the binary files are
being compiled, but the final copy to your executable destination is usually
skipped. This may be due to a false error being reported by the linker or
some other configuration problem. I would try rerunning "makeall install" a
second time to see if that doesn't fix it. It shouldn't be necessary, but
something is wrong with your build system.
I downloaded and installed it following your instruction. The last line in
makeall.output says "there are some error".
I attach this file in the email and wish you could help me check whether
it is serious or not.
On Sat, Mar 27, 2010 at 5:09 PM, Greg Ward <[email protected]> > wrote:
Hi Jia,
Your compile results are strange. It seems like all the binary files are being compiled, but the final copy to your executable destination is usually skipped. This may be due to a false error being reported by the linker or some other configuration problem. I would try rerunning "makeall install" a second time to see if that doesn't fix it. It shouldn't be necessary, but something is wrong with your build system.
-Greg
From: Jia Hu <[email protected]>
Date: March 27, 2010 1:53:24 PM PDT
Hello Thomas:
Thank you very much for your help.
I downloaded and installed it following your instruction. The last line in makeall.output says "there are some error".
I attach this file in the email and wish you could help me check whether it is serious or not.
On Sat, Mar 27, 2010 at 5:09 PM, Greg Ward <[email protected]> >> wrote:
Hi Jia,
Your compile results are strange. It seems like all the binary files are
being compiled, but the final copy to your executable destination is usually
skipped. This may be due to a false error being reported by the linker or
some other configuration problem. I would try rerunning "makeall install" a
second time to see if that doesn't fix it. It shouldn't be necessary, but
something is wrong with your build system.
-Greg
From: Jia Hu <[email protected]>
Date: March 27, 2010 1:53:24 PM PDT
Hello Thomas:
Thank you very much for your help.
I downloaded and installed it following your instruction. The last line in
makeall.output says "there are some error".
I attach this file in the email and wish you could help me check whether
it is serious or not.