Glaze.csh header and input format

Dear Radiance Community,

   I'm interested in simulating the glazing and I've checked previous posts on modeling the glazing.

   I was trying to use the glaze.csh with a separate glazing input file and as I read from the thread, it seems that glaze.csh is very sensitive to a spacing of the input header file. I used the header that was posted from the thread but it still prompted me with 'bad header'. So, I'm not sure whether it's the header or my input lines that didn't work.

   I was wondering if someone could share a file with correct spacing of header along with sample input lines that would make glaze.csh run without error? Thank you very much in advance.

Siritip Harn.

Ph.D. Pre-Candidate
Taubman College of Architecture and Urban Planning
University of Michigan

[email protected]

Hi Siritip,

If this is the header file that I posted awhile ago, I think it is ok, however you may need to add an end-of-line to the file.

-Jack

[email protected] wrote:

···

Dear Radiance Community,

  I'm interested in simulating the glazing and I've checked previous posts on modeling the glazing.

  I was trying to use the glaze.csh with a separate glazing input file and as I read from the thread, it seems that glaze.csh is very sensitive to a spacing of the input header file. I used the header that was posted from the thread but it still prompted me with 'bad header'. So, I'm not sure whether it's the header or my input lines that didn't work.

  I was wondering if someone could share a file with correct spacing of header along with sample input lines that would make glaze.csh run without error? Thank you very much in advance.

Siritip Harn.

Ph.D. Pre-Candidate
Taubman College of Architecture and Urban Planning
University of Michigan

[email protected]

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

--
# Jack de Valpine
# president
#
# visarc incorporated
# http://www.visarc.com
#
# channeling technology for superior design and construction

Hi Jack,

   Thank you so much for a prompt reply. Yes, I was using the header that you posted in the thread. I checked the file in vi and it seems to be ok. Here's what it looks like. (I use the data from glaze.csh in this case.)

Surface Tr Tg Tb Rcr Rcg Rcb Rgr Rgg Rgb Part
a 0.862 .89 .886 .074 .077 .079 .074 .077 .079 0
b 0.756 0.808 0.744 0.042 0.049 0.043 0.065 0.058 0.067 0
     I'm not sure if there is something wrong in the glazing input lines. (I'm a novice in both Unix and Radiance :slight_smile:

Thank you very much.
Siritip

Hi Siritip,

If this is the header file that I posted awhile ago, I think it is ok,
however you may need to add an end-of-line to the file.

-Jack

[email protected] wrote:

···

On 2/14/07, Jack de Valpine <[email protected]> wrote:

Dear Radiance Community,

  I'm interested in simulating the glazing and I've checked previous
posts on modeling the glazing.

  I was trying to use the glaze.csh with a separate glazing input file
and as I read from the thread, it seems that glaze.csh is very
sensitive to a spacing of the input header file. I used the header
that was posted from the thread but it still prompted me with 'bad
header'. So, I'm not sure whether it's the header or my input lines
that didn't work.

  I was wondering if someone could share a file with correct spacing
of header along with sample input lines that would make glaze.csh run
without error? Thank you very much in advance.

Siritip Harn.

Ph.D. Pre-Candidate
Taubman College of Architecture and Urban Planning
University of Michigan

[email protected]

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

--
# Jack de Valpine
# president
#
# visarc incorporated
# http://www.visarc.com
#
# channeling technology for superior design and construction

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

Hi Siritip,

Every element in the file should be separated by one tab only, do not use spaces. At the end of your last line (eg the "b" glazing) you should have a carriage return.

I just tested this and it should work fine.

-Jack

[email protected] wrote:

···

Hi Jack,

  Thank you so much for a prompt reply. Yes, I was using the header that you posted in the thread. I checked the file in vi and it seems to be ok. Here's what it looks like. (I use the data from glaze.csh in this case.)

Surface Tr Tg Tb Rcr Rcg Rcb Rgr Rgg Rgb Part
a 0.862 .89 .886 .074 .077 .079 .074 .077 .079 0
b 0.756 0.808 0.744 0.042 0.049 0.043 0.065 0.058 0.067 0
    I'm not sure if there is something wrong in the glazing input lines. (I'm a novice in both Unix and Radiance :slight_smile:

Thank you very much.
Siritip

On 2/14/07, Jack de Valpine <[email protected]> wrote:
Hi Siritip,

If this is the header file that I posted awhile ago, I think it is ok,
however you may need to add an end-of-line to the file.

-Jack

[email protected] wrote:

Dear Radiance Community,

  I'm interested in simulating the glazing and I've checked previous
posts on modeling the glazing.

  I was trying to use the glaze.csh with a separate glazing input file
and as I read from the thread, it seems that glaze.csh is very
sensitive to a spacing of the input header file. I used the header
that was posted from the thread but it still prompted me with 'bad
header'. So, I'm not sure whether it's the header or my input lines
that didn't work.

  I was wondering if someone could share a file with correct spacing
of header along with sample input lines that would make glaze.csh run
without error? Thank you very much in advance.

Siritip Harn.

Ph.D. Pre-Candidate
Taubman College of Architecture and Urban Planning
University of Michigan

[email protected]

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

--
# Jack de Valpine
# president
#
# visarc incorporated
# http://www.visarc.com
#
# channeling technology for superior design and construction

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

--
# Jack de Valpine
# president
#
# visarc incorporated
# http://www.visarc.com
#
# channeling technology for superior design and construction

Hi again,

   Thank you so much. I got the file to be added finally. One question is that, after new types were added to supported surface types, then, when I select the glazing type, it exits as "Missing -." I selected one clear glass layer (1) and another was from the glazing.dat which was just added. (My input data was the same as posted yesterday.)

Thank you so much for your help.
Siritip

Hi Siritip,

Hmm, ok I guess this is another vagary of input for glaze.csh. I got the same error that you did. In order to fix this (without messing with the script), I made sure that all decimal units are expressed in the form "x.x" as opposed to ".x", thus I added 0 to the front of decimals units ".x". Now it seems to work.

-Jack

[email protected] wrote:

···

Hi again,

  Thank you so much. I got the file to be added finally. One question is that, after new types were added to supported surface types, then, when I select the glazing type, it exits as "Missing -." I selected one clear glass layer (1) and another was from the glazing.dat which was just added. (My input data was the same as posted yesterday.)

Thank you so much for your help.
Siritip

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

--
# Jack de Valpine
# president
#
# visarc incorporated
# http://www.visarc.com
#
# channeling technology for superior design and construction

Hi Jack,

   I edited the file as you suggested but still it exits with 'missing.'. Here's the latest file.

Surface Tr Tg Tb Rcr Rcg Rcb Rgr Rgg Rgb Part
a 0.862 0.890 0.886 0.074 0.077 0.079 0.074 0.077 0.079 0
b 0.756 0.808 0.744 0.042 0.049 0.043 0.065 0.058 0.067 0

I've been testing other options in the input file like having only one line input but it still exits after asking for glazing type. I'll try to check with it again to see if I could get it to work :slight_smile: Thank you very much for your help.

Siritip

Hi Siritip,

Ok, I withdraw my last answer. I re-entered your data from your original email. It works fine... as is. So this is a bit puzzling as I cannot get the error to reoccur.

Can you try starting from scratch and see what happens?

Also where are you getting your data from?

-Jack

[email protected] wrote:

···

Hi Jack,

  I edited the file as you suggested but still it exits with 'missing.'. Here's the latest file.

Surface Tr Tg Tb Rcr Rcg Rcb Rgr Rgg Rgb Part
a 0.862 0.890 0.886 0.074 0.077 0.079 0.074 0.077 0.079 0
b 0.756 0.808 0.744 0.042 0.049 0.043 0.065 0.058 0.067 0

I've been testing other options in the input file like having only one line input but it still exits after asking for glazing type. I'll try to check with it again to see if I could get it to work :slight_smile: Thank you very much for your help.

Siritip

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

--
# Jack de Valpine
# president
#
# visarc incorporated
# http://www.visarc.com
#
# channeling technology for superior design and construction

Make sure the end-of-line characters are Unix linefeeds, not the cr-lf found in Windows files or the cr found at the end-of-line in old Macintosh files.

-Greg

···

From: Jack de Valpine <[email protected]>
Date: February 15, 2007 10:43:14 AM PST

Hi Siritip,

Ok, I withdraw my last answer. I re-entered your data from your original email. It works fine... as is. So this is a bit puzzling as I cannot get the error to reoccur.

Can you try starting from scratch and see what happens?

Also where are you getting your data from?

-Jack

Hi again,

   I got it to run finally!! Thank you so much for your advice. I created the file again using vi and it's running fine now. I think it's really the end-of-line thing between unix and windows.

Thank you so much for your help :slight_smile:
Siritip