Welcome to iraf.net Thursday, April 25 2024 @ 07:54 AM GMT

Buglog #390

  • Tuesday, February 03 1998 @ 02:46 AM GMT
  • Contributed by:
  • Views: 1,006
MODULE: dataio.export
SYSTEM: V2.11
NUMBER:	390
MODULE:	dataio.export
SYSTEM:	V2.11
DATE:	Mon Feb  2 19:46:41 MST 1998
FROM:	fitz

BUG:	The outbands expression

	    setcmap(zscale(i1,@'i_minpixval',@'i_maxpixval'),'heat')

	will fail to find the colormap name properly because of a confusion
	in counting the quotes when parsing the expression resulting in a 
	'Cannot open requested colormap file' message.

STATUS:	Fixed in V2.11.2.  A code change is required to fix this bug.  As a
	workaround users can first use export to create an IRAF image of
	the scaled values, and then again to apply to colormap.  For example

	    cl> export dev$pix foo imh 
	    >>>     outbands='zscale(i1,@'i_minpixval',@'i_maxpixval')'
	    cl> export foo bar gif outbands='setcmap(i1,'heat')

Buglog #390 | 0 comments | Create New Account

The following comments are owned by whomever posted them. This site is not responsible for what they say.



Privacy Policy
Terms of Use

User Functions

Login