[Radiance-general] Errors while transposing with Rcollate.
Greg Ward
gregoryjward at gmail.com
Mon Jun 15 21:58:40 PDT 2015
Anyone else have any ideas or suggestions? Honestly, I don't know why redirecting stdin from a file would fail completely. I thought this was supported under Windows.
I'm stumped.
-G
> From: "Sarith Subramaniam" <sarith at psu.edu>
> Subject: Re: [Radiance-general] Errors while transposing with Rcollate.
> Date: June 15, 2015 9:45:56 PM PDT
>
> Hi Greg,
>
>
> The command that you suggested returns the usage options for rcollate in windows. (ie. Usage: rcollate [-h[io]………..)
>
> Earlier, I had tried feeding the file to rcollate via stdin through using pipe ( | ) as well as the ‘type a.txt’ shell command in windows but didn’t get it work either way.
>
>
> Thanks,
> Sarith
>
> From: Greg Ward [mailto:gregoryjward at gmail.com]
> Sent: Tuesday, June 16, 2015 12:04 AM
> To: Radiance general discussion
> Subject: Re: [Radiance-general] Errors while transposing with Rcollate.
>
> Hi Sarith,
>
> This seems related to the broken handling of text versus binary files under Windows. Try reading the file from stdin, instead:
>
> rcollate –h –fa1 –t < a.txt > d.txt
>
> If this works, let me know and I'll see if I can put in a fix.
>
> Cheers,
> -Greg
>
>
> From: "Sarith Subramaniam" <sarith at psu.edu>
> Subject: [Radiance-general] Errors while transposing with Rcollate.
> Date: June 15, 2015 5:09:13 PM PDT
>
> Hi everyone,
>
>
> I am trying to do a transpose with rcollate. My operating system is Windows. My file contains rgb triplets arranged in a (8760columns x 60rows) matrix. I either get a “error loading file into memory” or an incorrect transpose.
>
>
> I found that I got the same results with a simple ASCII file with tab separated values. My file contains:
>
> 1 2 3 4
> 5 6 7 8
> 9 10 11 12
>
>
> The following commands return “error loading file into memory”:
>
> rcollate –h –fa1 –t a.txt >d.txt
>
> rcollate –h –fa1 –ic 4 –oc 3–t a.txt >d.txt
>
>
> I found that the ‘-t’ flag was responsible for the error, so I tried explicitly stating the values for columns and rows as:
>
> rcollate –h –fa1 –ic 4 –ir 3 –oc 3 –ir 4 a.txt>d.txt
>
> This gave me.
> 1 2 3
> 4 5 6
> 7 8 9
> 10 11 12
>
>
> Am I missing something?
>
>
> Thanks,
> Sarith
> _______________________________________________
> Radiance-general mailing list
> Radiance-general at radiance-online.org
> http://www.radiance-online.org/mailman/listinfo/radiance-general
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20150615/b9ed1f79/attachment.html>
More information about the Radiance-general
mailing list