This is driving me nuts...

print "Info for lut : " . $lu->info . "\n";
print "Info for year: " . $yr->info . "\n";
$ypdl->wpic("model_output/$file", {LUT => $lut});

prints...


Info for lut : PDL: Byte D [3,256]
Info for year: PDL: Byte D [252,189]
PDL::index: invalid index -2147483648 (valid range 0..255) at
/usr/local/lib/perl5/site_perl/5.12.1/darwin-2level/PDL/ImageRGB.pm
line 147.


As far as I can see, $yr has nothing funky in it. I used Craig's
bigstring method to print out the bighonkingpdl, and it is mostly a
bunch of zeroes.

What gives?


-- 
Puneet Kishor

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to