[argyllcms] Re: spotread -H

  • From: Graeme Gill <graeme@xxxxxxxxxxxxx>
  • To: argyllcms@xxxxxxxxxxxxx
  • Date: Sat, 26 Dec 2009 13:27:48 +1100

Kai-Uwe Behrmann wrote:
playing with "spotread -Hs" this programm responded with:
"spotread: Error - i1pro: run out of high res filter space" issued from Argyll_V1.0.3/spectro/i1pro_imp.c:5239 where a
#define MXNOFC 64
if (m->mtx_nocoef2[j] >= MXNOFC)
is not meet.
The programm was compiled from sources.

Hmm. I wasn't able to reproduce this using my instrument on a 64 bit Linux
using either V1.0.3 or V1.1.0. It's possible that it is peculiar to
your particular instrument, in that it is sensitive to the calibration
information in it.

In my situation no more than 4 of the 64 filter slots get used in
high res mode. Try un-commenting the diagnostic

        printf("~1 fshmax = %f\n",fshmax);

at about line 6775 (in V1.1.0)

and also add/uncomment the line

        printf("~1 filter %d, cwl %f, rwl %f, ix %d, we %f, nocoefs 
%d\n",j,cwl,rwl,i,we,m->mtx_nocoef2[j]-
);

at about line 6880 and see what this reveals (I've added nocoefs to it here).

Graeme Gill.

Other related posts: