<?xml version="1.0" encoding="iso-8859-1" ?>
<rss version="0.92">
<channel>
	<docs>http://backend.userland.com/rss092</docs>
	<title>Isis Support Center</title>
	<link>http://isis.astrogeology.usgs.gov/IsisSupport/</link>
	<description>Support, tips, tricks, and discussion of the Isis software packages</description>
	<managingEditor>isisweb@astrogeology.usgs.gov</managingEditor>
	<webMaster>isisweb@astrogeology.usgs.gov</webMaster>
	<lastBuildDate>Fri, 16 May 2008 04:46:42 GMT</lastBuildDate>
<item>
	<title>Isis 3 Support :: RE: Incorrect behavior with reduce followed by cam2map (OPEN JA)</title>
	<link>http://isis.astrogeology.usgs.gov/IsisSupport/viewtopic.php?p=5967#5967</link>
	<description>Author: &lt;a href=&quot;http://isis.astrogeology.usgs.gov/IsisSupport/profile.php?mode=viewprofile&amp;u=5&quot; target=&quot;_blank&quot;&gt;janderson&lt;/a&gt;&lt;br /&gt;

Posted: Thu May 15, 2008 5:17 pm (GMT -7)&lt;br /&gt;
Topic Replies: 1&lt;br /&gt;&lt;br /&gt;
&lt;span class="postbody"&gt;Hi,
&lt;br /&gt;

&lt;br /&gt;
Certainly looks like a problem to me.  We will make the change to the code (AlphaCube) you pointed out and do some testing.   
&lt;br /&gt;

&lt;br /&gt;
I will talk with some other folks around here about adding a forum for software development.  I'm not sure how many people are actually coding in ISIS3 (other than the USGS folks) so it may not see much traffic.  Its probably worth a shot though.
&lt;br /&gt;

&lt;br /&gt;
Jeff
&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>Isis 3 Support :: RE: Cassini ISS to ISIS (OPEN JA)</title>
	<link>http://isis.astrogeology.usgs.gov/IsisSupport/viewtopic.php?p=5964#5964</link>
	<description>Author: &lt;a href=&quot;http://isis.astrogeology.usgs.gov/IsisSupport/profile.php?mode=viewprofile&amp;u=5&quot; target=&quot;_blank&quot;&gt;janderson&lt;/a&gt;&lt;br /&gt;

Posted: Thu May 15, 2008 2:50 pm (GMT -7)&lt;br /&gt;
Topic Replies: 1&lt;br /&gt;&lt;br /&gt;
&lt;span class="postbody"&gt;Hi
&lt;br /&gt;

&lt;br /&gt;
I think you need to download the associated PDS lbl file which is detached from the image data.  Then run the ciss2isis program giving FROM the lbl file.
&lt;br /&gt;

&lt;br /&gt;
Jeff
&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>Isis 3 Support :: Cassini ISS to ISIS (OPEN JA)</title>
	<link>http://isis.astrogeology.usgs.gov/IsisSupport/viewtopic.php?p=5963#5963</link>
	<description>Author: &lt;a href=&quot;http://isis.astrogeology.usgs.gov/IsisSupport/profile.php?mode=viewprofile&amp;u=2291&quot; target=&quot;_blank&quot;&gt;heckofajob&lt;/a&gt;&lt;br /&gt;
Subject: Cassini ISS to ISIS (OPEN JA)&lt;br /&gt;
Posted: Thu May 15, 2008 12:45 pm (GMT -7)&lt;br /&gt;
Topic Replies: 1&lt;br /&gt;&lt;br /&gt;
&lt;span class="postbody"&gt;I have what appears to me to be an exceedingly dumb question, but after days of trying I can't figure it out.
&lt;br /&gt;

&lt;br /&gt;
I am a new ISIS3 user (usually I work with images from telescopes; much easier to understand), and I am trying to look at Cassini ISS images of Titan.
&lt;br /&gt;

&lt;br /&gt;
I download an image from the PDS, such as 
&lt;br /&gt;
W1477461455_6.IMG
&lt;br /&gt;

&lt;br /&gt;
I next try
&lt;br /&gt;
ciss2isis from=W1477461455_6.IMG to=test.cub
&lt;br /&gt;

&lt;br /&gt;
But I just get:
&lt;br /&gt;
**I/O ERROR** Unable to read PVL file [/home/heckofajob/isistest/W1477461455_6.IMG]
&lt;br /&gt;
**PVL ERROR** Invalid PVL format
&lt;br /&gt;
**PARSE ERROR** ASCII data expected but found unprintable (binary) data
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
If I instead try vicar2isis I can indeed get the image into an ISIS cube, but none of the label data are preserved so it doesn't do me much good.
&lt;br /&gt;

&lt;br /&gt;
I can read it into IDL with vicar_read.pro, which works nicely too for simply looking at the image, but doesn't help much with geometry.
&lt;br /&gt;

&lt;br /&gt;
Any hints anyone?
&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>Isis 3 Support :: RE: ISIS3 CGI Script (OPEN TH)</title>
	<link>http://isis.astrogeology.usgs.gov/IsisSupport/viewtopic.php?p=5962#5962</link>
	<description>Author: &lt;a href=&quot;http://isis.astrogeology.usgs.gov/IsisSupport/profile.php?mode=viewprofile&amp;u=690&quot; target=&quot;_blank&quot;&gt;ollerery&lt;/a&gt;&lt;br /&gt;
Subject: Settingh Environment variable&lt;br /&gt;
Posted: Thu May 15, 2008 12:43 pm (GMT -7)&lt;br /&gt;
Topic Replies: 2&lt;br /&gt;&lt;br /&gt;
&lt;span class="postbody"&gt;I have all the ISIS environment variables set for my web user but i still get a segmentation fault.  I suppose that there could be some other path that i am forgetting to set.  Here is what i currently have set for my regular user account which works, and my web user account which is giving me the segmentation fault.
&lt;br /&gt;

&lt;br /&gt;
This is what the Environment variables look like for my standard user account
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;MANPATH=/usr/share/man&amp;#58;/usr/local/share/man&amp;#58;/usr/X11/man
&lt;br /&gt;
TERM_PROGRAM=iTerm.app
&lt;br /&gt;
ISIS3DATA=/isis/isis3/isis/../data
&lt;br /&gt;
SHELL=/bin/bash
&lt;br /&gt;
TERM=rxvt
&lt;br /&gt;
TMPDIR=/var/folders/LM/LMggH7QEFx8FzFa0vQFzuk+++TY/-Tmp-/
&lt;br /&gt;
ISISROOT=/isis/isis3/isis
&lt;br /&gt;
Apple_PubSub_Socket_Render=/tmp/launch-OGv0Kj/Render
&lt;br /&gt;
ISIS3TESTDATA=/usgs/cpkgs/isis3/testData
&lt;br /&gt;
USER=ryan
&lt;br /&gt;
COMMAND_MODE=legacy
&lt;br /&gt;
SSH_AUTH_SOCK=/tmp/launch-fia9oH/Listeners
&lt;br /&gt;
__CF_USER_TEXT_ENCODING=0x1F9&amp;#58;0&amp;#58;0
&lt;br /&gt;
PATH=/Library/PostgreSQL8/bin&amp;#58;/usr/bin&amp;#58;/bin&amp;#58;/usr/sbin&amp;#58;/sbin&amp;#58;/isis/isis3/isis/bin&amp;#58;/usr/local/bin&amp;#58;/usr/X11/bin&amp;#58;/usr/local/geojasper/
&lt;br /&gt;
PWD=/Library/WebServer/CGI-Executables
&lt;br /&gt;
HOME=/Users/ryan
&lt;br /&gt;
SHLVL=2
&lt;br /&gt;
DYLD_LIBRARY_PATH=/isis/isis3/isis/lib&amp;#58;/isis/isis3/isis/3rdParty/lib
&lt;br /&gt;
LOGNAME=ryan
&lt;br /&gt;
DISPLAY=/tmp/launch-NESMUy/&amp;#58;0
&lt;br /&gt;
SECURITYSESSIONID=5b1a100
&lt;br /&gt;
_=/usr/bin/env
&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;
This is what the Environment variables look like for my web user
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;
&lt;br /&gt;
SERVER_SIGNATURE= 
&lt;br /&gt;
ISIS3DATA=/isis/isis3/isis/../data 
&lt;br /&gt;
ISISROOT=/isis/isis3/isis&amp;nbsp; 
&lt;br /&gt;
HTTP_KEEP_ALIVE=300 
&lt;br /&gt;
ISIS3TESTDATA=/usgs/cpkgs/isis3/testData 
&lt;br /&gt;
HTTP_USER_AGENT=Mozilla/5.0 &amp;#40;Macintosh; U; Intel Mac OS X 10.5; en-US; rv&amp;#58;1.9b5&amp;#41; Gecko/2008032619 Firefox/3.0b5 
&lt;br /&gt;
SERVER_PORT=80 
&lt;br /&gt;
HTTP_HOST=xxxx.xxxx.xxx.xxx 
&lt;br /&gt;
DOCUMENT_ROOT=/Library/WebServer/Documents 
&lt;br /&gt;
HTTP_ACCEPT_CHARSET=ISO-8859-1,utf-8;q=0.7,*;q=0.7 
&lt;br /&gt;
SCRIPT_FILENAME=/Library/WebServer/CGI-Executables/test-cgi 
&lt;br /&gt;
REQUEST_URI=/cgi-bin/test-cgi SCRIPT_NAME=/cgi-bin/test-cgi HTTP_CONNECTION=keep-alive 
&lt;br /&gt;
REMOTE_PORT=xxxxxx 
&lt;br /&gt;
PATH=/usr/bin&amp;#58;/bin&amp;#58;/usr/sbin&amp;#58;/sbin&amp;#58;/isis/isis3/isis/bin 
&lt;br /&gt;
PWD=/Library/WebServer/CGI-Executables 
&lt;br /&gt;
SERVER_ADMIN=you@example.com 
&lt;br /&gt;
HTTP_ACCEPT_LANGUAGE=en-us,en;q=0.5 
&lt;br /&gt;
HTTP_ACCEPT=text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 REMOTE_ADDR=xxx.xx.xxxx.xxxx 
&lt;br /&gt;
SHLVL=1 
&lt;br /&gt;
SERVER_NAME=xxxx.xxxx.xxx.xxx
&lt;br /&gt;
DYLD_LIBRARY_PATH=/isis/isis3/isis/lib&amp;#58;/isis/isis3/isis/3rdParty/lib SERVER_SOFTWARE=Apache/2.2.8 &amp;#40;Unix&amp;#41; mod_ssl/2.2.8 OpenSSL/0.9.7l DAV/2 PHP/5.2.5 QUERY_STRING= 
&lt;br /&gt;
SERVER_ADDR=xxx.xxx.x.xxx 
&lt;br /&gt;
GATEWAY_INTERFACE=CGI/1.1 SERVER_PROTOCOL=HTTP/1.1 HTTP_CACHE_CONTROL=max-age=0 
&lt;br /&gt;
HTTP_ACCEPT_ENCODING=gzip,deflate 
&lt;br /&gt;
REQUEST_METHOD=GET _=/usr/bin/ENV
&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>Isis 3 Support :: Hirise stretch issue</title>
	<link>http://isis.astrogeology.usgs.gov/IsisSupport/viewtopic.php?p=5961#5961</link>
	<description>Author: &lt;a href=&quot;http://isis.astrogeology.usgs.gov/IsisSupport/profile.php?mode=viewprofile&amp;u=231&quot; target=&quot;_blank&quot;&gt;cip&lt;/a&gt;&lt;br /&gt;
Subject: Hirise stretch issue&lt;br /&gt;
Posted: Thu May 15, 2008 11:38 am (GMT -7)&lt;br /&gt;
Topic Replies: 0&lt;br /&gt;&lt;br /&gt;
&lt;span class="postbody"&gt;Hi,
&lt;br /&gt;
Trying to save time I downloaded the files from Hirise site (jpeg2000 format). In order to save some space and use them into some GIS soft I tried to convert them from the declared 16 bit format to 8 bit raw format with envi and project to different map. The result is what you see in the screen capture atached (the majority of high end DN turn to 255 maximum in 8bit). Tried to import it to ISIS3 with raw2isis, use the stretch from ISIS2raw to a 8 bit and the same result. 
&lt;br /&gt;
Is there a special value in the data that mess the statistics? Actualy when I do the statistics on this particular image it says that the values range from 0-1023 but the last reported value in the list is 1020. See 2nd atachment.
&lt;br /&gt;
Any idea how to avoid this? And is not the only one that behaves this way.
&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>Isis 2 Support :: RE: qview bus error</title>
	<link>http://isis.astrogeology.usgs.gov/IsisSupport/viewtopic.php?p=5958#5958</link>
	<description>Author: &lt;a href=&quot;http://isis.astrogeology.usgs.gov/IsisSupport/profile.php?mode=viewprofile&amp;u=333&quot; target=&quot;_blank&quot;&gt;schenk&lt;/a&gt;&lt;br /&gt;

Posted: Wed May 14, 2008 4:08 pm (GMT -7)&lt;br /&gt;
Topic Replies: 3&lt;br /&gt;&lt;br /&gt;
&lt;span class="postbody"&gt;forgot.
&lt;br /&gt;

&lt;br /&gt;
10.5.2 system....
&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>Isis 2 Support :: Cassini ISS to ISIS conversion</title>
	<link>http://isis.astrogeology.usgs.gov/IsisSupport/viewtopic.php?p=5957#5957</link>
	<description>Author: &lt;a href=&quot;http://isis.astrogeology.usgs.gov/IsisSupport/profile.php?mode=viewprofile&amp;u=2290&quot; target=&quot;_blank&quot;&gt;drallen1&lt;/a&gt;&lt;br /&gt;
Subject: Cassini ISS to ISIS conversion&lt;br /&gt;
Posted: Wed May 14, 2008 3:22 pm (GMT -7)&lt;br /&gt;
Topic Replies: 0&lt;br /&gt;&lt;br /&gt;
&lt;span class="postbody"&gt;I am currently working on some raw Cassini ISS images and need to convert them to ISIS format.  I tried raw2isis, and it gave me the following error message:
&lt;br /&gt;

&lt;br /&gt;
[TAE-TMISPAR] Missing parameters:  ITYPE, NS, NL
&lt;br /&gt;

&lt;br /&gt;
I believe the NS and NL are 1024 and the ITYPE is 2.  I tried that, and the resulting .cub file doesn't look right.  I have some images that were previously processed using vicar2isis, but I understand that doesn't exist in Isis 2.  Any help or suggestions would be appreciated.
&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>Isis 3 Support :: RE: ISIS3 CGI Script (OPEN TH)</title>
	<link>http://isis.astrogeology.usgs.gov/IsisSupport/viewtopic.php?p=5955#5955</link>
	<description>Author: &lt;a href=&quot;http://isis.astrogeology.usgs.gov/IsisSupport/profile.php?mode=viewprofile&amp;u=115&quot; target=&quot;_blank&quot;&gt;thare&lt;/a&gt;&lt;br /&gt;

Posted: Wed May 14, 2008 8:56 am (GMT -7)&lt;br /&gt;
Topic Replies: 2&lt;br /&gt;&lt;br /&gt;
&lt;span class="postbody"&gt;I don't have a solution but when and how unix reset environments has always been tricky for me to understand.
&lt;br /&gt;

&lt;br /&gt;
I was given a hint that maybe you need set up the enivronment correctly for the &amp;quot;webuser&amp;quot; then the cgi script whould run under that.  Hopefully the webusers isn't root but a limited account for apache or other server software.
&lt;br /&gt;

&lt;br /&gt;
This will probably take some looking into on how to set up web cgi script environment properly.
&lt;br /&gt;

&lt;br /&gt;
Trent
&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>GIS and Isis :: RE: Projections used in &amp;quot;daisy&amp;quot; to make globes</title>
	<link>http://isis.astrogeology.usgs.gov/IsisSupport/viewtopic.php?p=5954#5954</link>
	<description>Author: &lt;a href=&quot;http://isis.astrogeology.usgs.gov/IsisSupport/profile.php?mode=viewprofile&amp;u=115&quot; target=&quot;_blank&quot;&gt;thare&lt;/a&gt;&lt;br /&gt;

Posted: Tue May 13, 2008 8:18 pm (GMT -7)&lt;br /&gt;
Topic Replies: 8&lt;br /&gt;&lt;br /&gt;
&lt;span class="postbody"&gt;To run the PERL script, make_gores.pl, you just need the file to be PPM so I don't think you need the PPM library.  But maybe you are just looking for Netpbm anyway. To save out a PPM file from other formats you can use the freeware imagemagick (for most systems) or irfanview (windows).  If you want ppmglobe then you do need netbpm but it looks like it is included on most systems including cygwin for Windows. older list of OSs: &lt;a href=&quot;http://www.math.utah.edu/~beebe/unix/p/ppmglobe.html&quot; target=&quot;_blank&quot;&gt;http://www.math.utah.edu/~beebe/unix/p/ppmglobe.html&lt;/a&gt;
&lt;br /&gt;

&lt;br /&gt;
BTW, if you are stuck on Windows and can't run PERL scripts you can get ActivePerl for Windows.  Once installed, you can check out perl2exe to create an executable from a PERL script.
&lt;br /&gt;

&lt;br /&gt;
-Trent
&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>GIS and Isis :: RE: Projections used in &amp;quot;daisy&amp;quot; to make globes</title>
	<link>http://isis.astrogeology.usgs.gov/IsisSupport/viewtopic.php?p=5953#5953</link>
	<description>Author: &lt;a href=&quot;http://isis.astrogeology.usgs.gov/IsisSupport/profile.php?mode=viewprofile&amp;u=2252&quot; target=&quot;_blank&quot;&gt;globuli&lt;/a&gt;&lt;br /&gt;

Posted: Tue May 13, 2008 6:48 pm (GMT -7)&lt;br /&gt;
Topic Replies: 8&lt;br /&gt;&lt;br /&gt;
&lt;span class="postbody"&gt;netpbm[1] is open source. you can get it using your packet manager, or typing apt-get netpbm in terminal if you are on linux. but: chances are, that you will still miss ppmglobe since it is not included in the debian package[2] of netpbm. but you can download the source and just compile ppmglobe only and put it to the rest of the netpbm package, that works for me.
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
[1] &lt;a href=&quot;http://netpbm.sourceforge.net&quot; target=&quot;_blank&quot; class=&quot;postlink&quot;&gt;http://netpbm.sourceforge.net&lt;/a&gt;
&lt;br /&gt;
[2] &lt;a href=&quot;http://netpbm.alioth.debian.org&quot; target=&quot;_blank&quot; class=&quot;postlink&quot;&gt;http://netpbm.alioth.debian.org&lt;/a&gt;
&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>GIS and Isis :: RE: Projections used in &amp;quot;daisy&amp;quot; to make globes</title>
	<link>http://isis.astrogeology.usgs.gov/IsisSupport/viewtopic.php?p=5952#5952</link>
	<description>Author: &lt;a href=&quot;http://isis.astrogeology.usgs.gov/IsisSupport/profile.php?mode=viewprofile&amp;u=2289&quot; target=&quot;_blank&quot;&gt;0adrian&lt;/a&gt;&lt;br /&gt;

Posted: Tue May 13, 2008 6:38 pm (GMT -7)&lt;br /&gt;
Topic Replies: 8&lt;br /&gt;&lt;br /&gt;
&lt;span class="postbody"&gt;Hi all, I'm new to this forum.
&lt;br /&gt;

&lt;br /&gt;
I just wonder is Netpbm freeware? How to get it?
&lt;br /&gt;

&lt;br /&gt;
Thanks, 
&lt;br /&gt;

&lt;br /&gt;
Adrian
&lt;br /&gt;_________________&lt;br /&gt;&lt;a href=&quot;http://www.sharewarecheap.com&quot; target=&quot;_blank&quot; class=&quot;postlink&quot;&gt;Software Library&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>Isis 2 Support :: RE: qview bus error</title>
	<link>http://isis.astrogeology.usgs.gov/IsisSupport/viewtopic.php?p=5951#5951</link>
	<description>Author: &lt;a href=&quot;http://isis.astrogeology.usgs.gov/IsisSupport/profile.php?mode=viewprofile&amp;u=333&quot; target=&quot;_blank&quot;&gt;schenk&lt;/a&gt;&lt;br /&gt;

Posted: Tue May 13, 2008 4:57 pm (GMT -7)&lt;br /&gt;
Topic Replies: 3&lt;br /&gt;&lt;br /&gt;
&lt;span class="postbody"&gt;most of the rest of ISIS2 works fine, although i havent tried everything.
&lt;br /&gt;

&lt;br /&gt;
paul
&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>Isis 3 Support :: Incorrect behavior with reduce followed by cam2map (OPEN JA)</title>
	<link>http://isis.astrogeology.usgs.gov/IsisSupport/viewtopic.php?p=5950#5950</link>
	<description>Author: &lt;a href=&quot;http://isis.astrogeology.usgs.gov/IsisSupport/profile.php?mode=viewprofile&amp;u=2190&quot; target=&quot;_blank&quot;&gt;mbroxton&lt;/a&gt;&lt;br /&gt;
Subject: Incorrect behavior with reduce followed by cam2map (OPEN JA)&lt;br /&gt;
Posted: Tue May 13, 2008 2:10 pm (GMT -7)&lt;br /&gt;
Topic Replies: 1&lt;br /&gt;&lt;br /&gt;
&lt;span class="postbody"&gt;Hi there,
&lt;br /&gt;

&lt;br /&gt;
I'm using ISIS 3.1.15 on an Intel Mac running OSX 10.5.2, and I've encountered some strange behavior when I try to subsample an image using the 'reduce' command and then map project it using 'cam2map'.
&lt;br /&gt;

&lt;br /&gt;
Starting with a raw Clemenetine image I imported into ISIS, I run:
&lt;br /&gt;

&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;
&lt;br /&gt;
&amp;gt; reduce from=lua0825f.cub to=lua0825f-reduce.cub lscale=2 sscale=2
&lt;br /&gt;
&amp;gt; cam2map from=lua0825f-reduce.cub to=lua0825f-reduce-map.cub
&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;
as well as
&lt;br /&gt;

&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;&amp;nbsp;
&lt;br /&gt;
&amp;gt; cam2map from=lua0825f.cub to=lua0825f-map.cub
&lt;br /&gt;
&amp;gt; reduce from=lua0825f-map.cub to=lua0825f-map-reduce.cub lscale=2 sscale=2
&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;
Then, using qview or 'camrange' tool, I check to see if the lat/lon extents of the reduced image are still the same as the original.  
&lt;br /&gt;

&lt;br /&gt;
Here's are the original lat/lon extents:
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;
&lt;br /&gt;
&amp;gt; camrange from=lua0825f.cub
&lt;br /&gt;
Group = UniversalGroundRange
&lt;br /&gt;
....
&lt;br /&gt;
&amp;nbsp; MinimumLatitude&amp;nbsp; &amp;nbsp; = -36.712850392335
&lt;br /&gt;
&amp;nbsp; MaximumLatitude&amp;nbsp; &amp;nbsp; = -34.731334937095
&lt;br /&gt;
&amp;nbsp; MinimumLongitude&amp;nbsp; &amp;nbsp;= 97.010056321466
&lt;br /&gt;
&amp;nbsp; MaximumLongitude&amp;nbsp; &amp;nbsp;= 100.27835504082
&lt;br /&gt;
....
&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;
And here are the extents for the reduced, then map projected image.  As you can see, the extents have been incorrectly(?) reduced by a factor of two.
&lt;br /&gt;

&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;
&lt;br /&gt;
&amp;gt; camrange from=lua0825f-reduce-map.cub
&lt;br /&gt;

&lt;br /&gt;
Group = UniversalGroundRange
&lt;br /&gt;
...
&lt;br /&gt;
&amp;nbsp; MinimumLatitude&amp;nbsp; &amp;nbsp; = -36.712850392335
&lt;br /&gt;
&amp;nbsp; MaximumLatitude&amp;nbsp; &amp;nbsp; = -35.724705674756
&lt;br /&gt;
&amp;nbsp; MinimumLongitude&amp;nbsp; &amp;nbsp;= 98.645182040178
&lt;br /&gt;
&amp;nbsp; MaximumLongitude&amp;nbsp; &amp;nbsp;= 100.27835504082
&lt;br /&gt;
...
&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;
And here are the extents if you map project first, then reduce the image.   Here the lat lon extents are almost identical to the original image.  (I'm assuming the difference is probably due to a 0.5 pixel offset...)
&lt;br /&gt;

&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;
&lt;br /&gt;
&amp;gt; camrange from=lua0825f-map-reduce.cub
&lt;br /&gt;

&lt;br /&gt;
Group = UniversalGroundRange
&lt;br /&gt;
...
&lt;br /&gt;
&amp;nbsp; MinimumLatitude&amp;nbsp; &amp;nbsp; = -36.717890136024
&lt;br /&gt;
&amp;nbsp; MaximumLatitude&amp;nbsp; &amp;nbsp; = -34.729458400171
&lt;br /&gt;
&amp;nbsp; MinimumLongitude&amp;nbsp; &amp;nbsp;= 97.004622729826
&lt;br /&gt;
&amp;nbsp; MaximumLongitude&amp;nbsp; &amp;nbsp;= 100.30077912936
&lt;br /&gt;
...
&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;
I dug around a bit and I found what looks to be the relevant bit of code on lines 83-104 of src/base/apps/reduce/reduce.cpp.  I've added some of my own comments inline with the code below to point out a few things that have me a little confused.
&lt;br /&gt;

&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;
&lt;br /&gt;
&amp;nbsp; try &amp;#123;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; PvlGroup &amp;amp;mapgroup = cube.Label&amp;#40;&amp;#41;-&amp;gt;FindGroup&amp;#40;&amp;quot;Mapping&amp;quot;, Pvl&amp;#58;&amp;#58;Traverse&amp;#41;;
&lt;br /&gt;

&lt;br /&gt;
&amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; if&amp;#40;sscale != lscale&amp;#41; &amp;#123;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; //
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; // This if clause has me a little confused.&amp;nbsp; Am I correct in 
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; // interpreting that if the scale factors are non-isotropic, 
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; // 'reduce' will blow away the map projection information 
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; // entirely?
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; //
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; opack-&amp;gt;DeleteGroup&amp;#40;&amp;quot;Mapping&amp;quot;&amp;#41;;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;#125;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; else &amp;#123;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; //
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; // This is the code that correctly changes the scale factor
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; // when your run 'reduce' on a map projected image.&amp;nbsp; However,
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; // I was wondering why it only changes the &amp;quot;PixelResolution&amp;quot; tag,
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; // and not also the &amp;quot;Scale&amp;quot; tag.&amp;nbsp; &amp;#40;My map projected Clementine
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; // image had both tags, and only one was correctly updated.&amp;#41;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; //
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; double pixres = mapgroup&amp;#91;&amp;quot;PixelResolution&amp;quot;&amp;#93;;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; mapgroup&amp;#91;&amp;quot;PixelResolution&amp;quot;&amp;#93; = pixres * sscale;&amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; opack-&amp;gt;PutGroup&amp;#40;mapgroup&amp;#41;;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;#125;
&lt;br /&gt;
&amp;nbsp; &amp;#125;
&lt;br /&gt;
&amp;nbsp; catch&amp;#40;iException &amp;amp;e&amp;#41; &amp;#123;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; e.Clear&amp;#40;&amp;#41;;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; //
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; // I think that the following line is the root of the problem.&amp;nbsp; 
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; // If I understand AlphaCubes correctly, I would have thought
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; // that the &amp;quot;AlphaEndingSample&amp;quot; and &amp;quot;AlphaEndingLine&amp;quot; should 
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; // be left unchanged by 'reduce'; it should only affect the &amp;quot;BetaLines&amp;quot;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; // and &amp;quot;BetaSamples&amp;quot; tags in the AlphaCube group.
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; // it should read as&amp;#58; 
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; //
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; //&amp;nbsp; &amp;nbsp; &amp;nbsp;AlphaCube alpha&amp;#40;cube.Samples&amp;#40;&amp;#41;, cube.Lines&amp;#40;&amp;#41;,
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; //&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; opack-&amp;gt;Samples&amp;#40;&amp;#41;, opack-&amp;gt;Lines&amp;#40;&amp;#41;,
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; //&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0.5, 0.5, cube.Samples&amp;#40;&amp;#41;+0.5, cube.Lines&amp;#40;&amp;#41;+0.5&amp;#41;;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; //
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; AlphaCube alpha&amp;#40;cube.Samples&amp;#40;&amp;#41;, cube.Lines&amp;#40;&amp;#41;,
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; opack-&amp;gt;Samples&amp;#40;&amp;#41;, opack-&amp;gt;Lines&amp;#40;&amp;#41;,
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0.5, 0.5, ons+0.5, onl+0.5&amp;#41;;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; opack-&amp;gt;UpdateAlphaCube&amp;#40;alpha&amp;#41;;
&lt;br /&gt;
&amp;nbsp; &amp;#125;
&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;
I also wanted to point to this post, which looks to be closely related to this problem: &lt;a href=&quot;http://isis.astrogeology.usgs.gov/IsisSupport/viewtopic.php?t=1510&amp;amp;sid=85f9ef28fa4c22dd38870b7f855185b6&quot; target=&quot;_blank&quot;&gt;http://isis.astrogeology.usgs.gov/IsisSupport/viewtopic.php?t=1510&amp;amp;sid=85f9ef28fa4c22dd38870b7f855185b6&lt;/a&gt;
&lt;br /&gt;

&lt;br /&gt;
I think that's probably enough information to get the thread started on this issue.  Thanks in advance for taking the time to look at it.
&lt;br /&gt;

&lt;br /&gt;
One other quick related question while I'm posting -- I was thinking that it would be great if you added a new forum within the ISIS Support Center for programming and under-the-hood types of questions such as this.  Something like &amp;quot;ISIS Development&amp;quot; would be a handy place for folks like me to share our experiences in compiling our own code against the ISIS libraries and building ISIS ourselves.
&lt;br /&gt;

&lt;br /&gt;
Thanks again!
&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>Isis 3 Support :: ISIS3 CGI Script (OPEN TH)</title>
	<link>http://isis.astrogeology.usgs.gov/IsisSupport/viewtopic.php?p=5949#5949</link>
	<description>Author: &lt;a href=&quot;http://isis.astrogeology.usgs.gov/IsisSupport/profile.php?mode=viewprofile&amp;u=690&quot; target=&quot;_blank&quot;&gt;ollerery&lt;/a&gt;&lt;br /&gt;
Subject: ISIS3 CGI Script (OPEN TH)&lt;br /&gt;
Posted: Tue May 13, 2008 12:58 pm (GMT -7)&lt;br /&gt;
Topic Replies: 2&lt;br /&gt;&lt;br /&gt;
&lt;span class="postbody"&gt;I am trying to use ISIS within a perl CGI script but when the ISIS call is made I get a segmentation fault.  I am using a shell script to set up all my ISIS environment variables and then to make the ISIS call, which is called by the CGI script.  When i execute the shell script from the command line it works fine.  But when i access the cgi script from a web browser the print lines will execute but not the ISIS commands.
&lt;br /&gt;

&lt;br /&gt;
Here is my cgi script
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;
&lt;br /&gt;
#!/usr/bin/perl
&lt;br /&gt;

&lt;br /&gt;
print &amp;quot;Content-type&amp;#58; text/html\n\n&amp;quot;;
&lt;br /&gt;
print &amp;quot;&amp;lt;html&amp;gt;&amp;lt;head&amp;gt;&amp;quot;;
&lt;br /&gt;
print &amp;quot;&amp;lt;title&amp;gt;CGI Test&amp;lt;/title&amp;gt;&amp;quot;;
&lt;br /&gt;
print &amp;quot;&amp;lt;/head&amp;gt;&amp;quot;;
&lt;br /&gt;
print &amp;quot;&amp;lt;body&amp;gt;&amp;lt;h1&amp;gt;PERL Header&amp;lt;/h1&amp;gt;&amp;quot;;
&lt;br /&gt;

&lt;br /&gt;
my $listing = `./vtest.sh`;
&lt;br /&gt;
my @output = split&amp;#40;/\n/,$listing&amp;#41;;
&lt;br /&gt;

&lt;br /&gt;
print &amp;quot;spiceinit output&amp;#58; $listing &amp;lt;br&amp;gt;\n\n&amp;quot;;
&lt;br /&gt;

&lt;br /&gt;
foreach $out &amp;#40;@output&amp;#41; &amp;#123;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;print &amp;quot;-&amp;gt; $out &amp;lt;br&amp;gt;\n&amp;quot;;
&lt;br /&gt;
&amp;#125;
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
print &amp;quot;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&amp;quot;;
&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;
Here is the shell script
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;
&lt;br /&gt;
#! /bin/bash
&lt;br /&gt;

&lt;br /&gt;
ISISROOT=/isis/isis3/isis
&lt;br /&gt;
export ISISROOT
&lt;br /&gt;

&lt;br /&gt;
. $ISISROOT/scripts/isis3Startup.sh
&lt;br /&gt;

&lt;br /&gt;
spiceinit from=/test/PSP_001503_1645_RED9.histitch.cub
&lt;br /&gt;

&lt;br /&gt;
echo &amp;quot;End Perl script&amp;quot;
&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;
Here is the error that i am getting in my apache error_log
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;
&lt;br /&gt;
./vtest.sh&amp;#58; line 9&amp;#58;&amp;nbsp; 5017 Segmentation fault&amp;nbsp; &amp;nbsp; &amp;nbsp; isis2std from=/test/PSP_001503_1645_RED9.histitch.cub
&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>Isis 2 Support :: RE: qview bus error</title>
	<link>http://isis.astrogeology.usgs.gov/IsisSupport/viewtopic.php?p=5948#5948</link>
	<description>Author: &lt;a href=&quot;http://isis.astrogeology.usgs.gov/IsisSupport/profile.php?mode=viewprofile&amp;u=1847&quot; target=&quot;_blank&quot;&gt;jani&lt;/a&gt;&lt;br /&gt;

Posted: Tue May 13, 2008 12:56 pm (GMT -7)&lt;br /&gt;
Topic Replies: 3&lt;br /&gt;&lt;br /&gt;
&lt;span class="postbody"&gt;This may be a problem with Leopard. Nice test case - two computers identical in all but OS: The one with Tiger (Mac OS 10.4.11) runs ISIS2, but the one with Leopard (10.5) gives me a bus error.
&lt;br /&gt;

&lt;br /&gt;
Are there any plans to compile ISIS2 on Leopard? If not, we've got to wait to upgrade, but will probably be forced by computer society to cave eventually...
&lt;br /&gt;

&lt;br /&gt;
Thanks -
&lt;br /&gt;
Jani
&lt;/span&gt;&lt;br /&gt;
</description>
</item>
</channel>
</rss>

