Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
2

findglare and glarendx

asked 2020-02-13 08:54:06 -0500

zjingwen's avatar

updated 2020-02-14 10:50:34 -0500

Dear All,

I tried to use findglare and glarendx to find glare on an .hdr file. However, I encounter 2 problems and dont know which one is the reason for not getting the result could any one help to explain the possible reason for this? 1. findglare return error message with "warning missing 24% of samples" 2. glarendx gets dgi of 0.00 or -1.#IND00 Below is the script I am using. Thanks!

findglare -ga 10-60:10 -p model_M12D22T16_view.hdr > model.glr
glarendx -t dgi -h model.glr > model_M12D22T16.txt
edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
3

answered 2020-02-13 10:23:15 -0500

updated 2020-02-14 06:24:56 -0500

First of all, findglare and glareindx are fairly old programs in the Radiance suite. Since their publication, an entire glare metric (DGP) and tool for calculating DGP (evalglare) have emerged and been added to the Radiance distribution. DGP is more focused on daylight glare (hence the 'D' in DGP), so perhaps you're going more of an electric lighting glare study, but wanted to make this point.

Assuming you are indeed looking at an electric lighting glare evaluation, I'd say based on these warnings you have an issue with the input HDR image, your chosen area of interest (angles in the -ga option), or both.

The person best qualified to answer these questions is Greg Ward but I'm not sure he monitors this forum as frequently as he (and the rest of the Radiance community) monitors the Radance Discourse forums here: https://discourse.radiance-online.org/

Maybe try reposting your issue there...

edit flag offensive delete link more
2

answered 2020-02-14 09:36:10 -0500

updated 2020-02-17 13:25:57 -0500

There is a bug in the dgi calculation of glarendx when sources are behind the viewer. Raphael Compagnon wrote this particular formula, and I am not sure what is wrong with it. I will try writing to him about it again. The 24% missing samples has to do with an insufficient view as Rob points out.

I also recommend looking into the newer evalglare program.

P.S. to the above. I have checked in a fix to the glarendx program, which will need to be recompiled from source until the distributions update. You can find & download it from the CVS repository https://www.radiance-online.org/cgi-bin/viewcvs.cgi/ray/src/util/glarendx.c?view=log

edit flag offensive delete link more
0

answered 2020-02-13 09:27:53 -0500

Yes, I got something similar! Does anyone know what's happening? Is it because I am using Wndows 10?

-60.000000  1.#QNAN0
-50.000000  1.#QNAN0
-40.000000  1.#QNAN0
-30.000000  1.#QNAN0
-20.000000  1.#QNAN0
-10.000000  1.#QNAN0
0.000000    1.#QNAN0
10.000000   1.#QNAN0
20.000000   1.#QNAN0
30.000000   1.#QNAN0
40.000000   1.#QNAN0
50.000000   1.#QNAN0
60.000000   1.#QNAN0
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Careers

Question Tools

1 follower

Stats

Asked: 2020-02-13 08:54:06 -0500

Seen: 174 times

Last updated: Feb 17 '20