[Radiance-general] Re: Cumulative calculations of irradiance
Christian Humann
chumann at broadviewnet.net
Sun Jun 8 14:47:15 PDT 2008
Hi Greg,
Thanks for the quick response. I've been trying the pcomb line as you
have suggested but the resultant image still seems to show the
cumulative values? I seem to get the same results just using:
pcomb *.raw > annual.pic
Thanks again.
Chris
On Jun 8, 2008, at 11:55 AM, Greg Ward wrote:
> Hi Chris,
>
> I haven't done this, but you should be able to compute the maximum
> values between two images using pcomb like so:
>
> pcomb -h -e 'max(a,b):if(a-b,a,b)' -e 'lo=max(li(1),li(2))' -o
> last_max.pic -o new_vals.pic > cur_max.pic
>
> Renaming cur_max.pic to last_max.pic (using mv -f cur_max.pic
> last_max.pic) before each invocation should maintain the maximum
> values at each pixel over each new addition of new_vals.pic. (The -
> h option is to avoid endless growth of the picture header.)
>
> I hope this helps.
> -Greg
>
>> From: Christian Humann <chumann at broadviewnet.net>
>> Date: June 8, 2008 11:08:44 AM PDT
>>
>> I've been trying to work out a similar solution for generating a
>> composite image of hourly irradiance values over a full year.
>> However, rather than cumulative results, as produced with pcomb, I
>> want each pixel in the final image to only represent the highest
>> value of irradiance that occurs at that pixel location over a years
>> worth of hourly runs. Ex: if a given pixel gets the highest level
>> of irradiance on June 21 @ noon then that will be the value given
>> to that pixel in the final image. Has anyone tackled this before?
>> Thanks.
>>
>> Regards to all,
>> Chris H
>> Berkeley,CA
>
> _______________________________________________
> Radiance-general mailing list
> Radiance-general at radiance-online.org
> http://www.radiance-online.org/mailman/listinfo/radiance-general
>
More information about the Radiance-general
mailing list