<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>HiBlog: HiRISE Team Blog &#187; Software</title>
	<atom:link href="http://hirise.lpl.arizona.edu//HiBlog/tag/software/feed/" rel="self" type="application/rss+xml" />
	<link>http://hirise.lpl.arizona.edu/HiBlog</link>
	<description>High Resolution Imaging Science Experiment</description>
	<lastBuildDate>Thu, 19 Nov 2009 16:51:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Problems with IAS Viewer / .jnlp files?</title>
		<link>http://hirise.lpl.arizona.edu/HiBlog/2009/07/02/problems-with-ias-viewer-jnlp-files/</link>
		<comments>http://hirise.lpl.arizona.edu/HiBlog/2009/07/02/problems-with-ias-viewer-jnlp-files/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 23:30:52 +0000</pubDate>
		<dc:creator>Kite</dc:creator>
				<category><![CDATA[HiRISE]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[IAS viewer]]></category>
		<category><![CDATA[jnlp]]></category>
		<category><![CDATA[JP2]]></category>
		<category><![CDATA[JPEG2000]]></category>

		<guid isPermaLink="false">http://hirise.lpl.arizona.edu/HiBlog/?p=330</guid>
		<description><![CDATA[Do you use the IAS Viewer to view our JPEG2000 (JP2) image files at full-resolution (which we highly recommend!)? If you use a Mac running OSX, you might be having trouble. Don&#8217;t worry, there&#8217;s a solution!
It appears that a recent Java patch causes problems launching the IAS Viewer client and other Java-based software launched via [...]]]></description>
			<content:encoded><![CDATA[<p>Do you use the IAS Viewer to view our JPEG2000 (JP2) image files at full-resolution (which we highly recommend!)? If you use a Mac running OSX, you might be having trouble. Don&#8217;t worry, there&#8217;s a solution!</p>
<p>It appears that a recent Java patch causes problems launching the IAS Viewer client and other Java-based software launched via Java Web Start. The update changed the location of the Java Web Start application so that the system opens the downloaded JNLP file as a text file, most likely with something called Dashcode.  One of our system administrators found a solution on an Apple support discussion archive. You should only have to do this once to fix the problem:</p>
<p><span id="more-330"></span></p>
<ol>
<li>Find any *.jnlp file in the Finder. These may be on your Desktop, or in a download folder, depending on how your web browser is configured.</li>
<li>Highlight the file by clicking on it, then select &#8216;Get Info&#8217; from the File menu.</li>
<li>In the Open with: section, click on the popup menu and select &#8216;Other&#8230;&#8217;.</li>
<li>In the file chooser window that pops up, under Devices, pick the hard disk icon that corresponds to the name of your system hard disk (probably has the same name as your computer).</li>
<li>From there, select the System folder, then Library, then CoreServices, and scroll down to find the Java Web Start application, select it and click the &#8216;Add&#8217; button. <em>(Note, the location of Java Web Start application may differ on your system.)</em> </li>
<li>Back in the Get Info window, click the button that says change all to apply this change to all of your JNLP files, then close the Get Info window.</li>
</ol>
<p>When something tries to open a .jnlp file now, it should be properly handled by Java Web Start, launching the corresponding application.</p>
<p><em>Thanks to one of our <a href="https://twitter.com/HiRISE">twitter</a> followers, <a href="http://twitter.com/doug_ellison">@doug_ellison</a>, for pointing out that many of you are having this problem!</em></p>
<p>Please note, we offer this for informative purposes, and you should make changes at your own discretion.</p>
]]></content:encoded>
			<wfw:commentRss>http://hirise.lpl.arizona.edu/HiBlog/2009/07/02/problems-with-ias-viewer-jnlp-files/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>&#8220;Google Mars&#8221; (kind of)</title>
		<link>http://hirise.lpl.arizona.edu/HiBlog/2008/01/25/google-mars-kind-of/</link>
		<comments>http://hirise.lpl.arizona.edu/HiBlog/2008/01/25/google-mars-kind-of/#comments</comments>
		<pubDate>Sat, 26 Jan 2008 00:31:08 +0000</pubDate>
		<dc:creator>Kite</dc:creator>
				<category><![CDATA[HiRISE]]></category>
		<category><![CDATA[Images & Science]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[3D]]></category>
		<category><![CDATA[basemap]]></category>
		<category><![CDATA[Candor Chasma]]></category>
		<category><![CDATA[context map]]></category>
		<category><![CDATA[CTX]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[footprint]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Google Earth]]></category>
		<category><![CDATA[Google Mars]]></category>
		<category><![CDATA[KML]]></category>
		<category><![CDATA[map]]></category>
		<category><![CDATA[MDIM]]></category>
		<category><![CDATA[MOLA]]></category>
		<category><![CDATA[Ross Beyer]]></category>

		<guid isPermaLink="false">http://hirise.lpl.arizona.edu/HiBlog/?p=132</guid>
		<description><![CDATA[One of our team members, Ross Beyer, put together a way of getting MRO data into the Google Earth tool: http://orrery.us/node/54
I finally got around to trying it out, and it&#8217;s very easy to set up following his instructions.  It allows you to see the footprints of acquired HiRISE images on a larger context map, [...]]]></description>
			<content:encoded><![CDATA[<p>One of our team members, Ross Beyer, put together a way of getting MRO data into the <a href="http://earth.google.com/">Google Earth</a> tool: <a href="http://orrery.us/node/54">http://orrery.us/node/54</a></p>
<p>I finally got around to trying it out, and it&#8217;s very easy to set up following his instructions.  It allows you to see the footprints of acquired HiRISE images on a larger context map, and the Google [Planet] interface is really easy to use.  Clicking on a red H footprint gives you a short description of the image, and a link right to our image release page, where you can browse or download the image products.  CTX footprints are available, too.  If I&#8217;m understanding this right, these KML files pull all currently released data from the <a href="http://pds.jpl.nasa.gov/">PDS</a>, so whenever we release data, the new stuff is automatically included.</p>
<p><a href='http://hirise.lpl.arizona.edu/HiBlog/wp-content/uploads/2008/01/screenshot_1.png' title='Screenshot of Google Mars over Candor Chasma'><img src='http://hirise.lpl.arizona.edu/HiBlog/wp-content/uploads/2008/01/screenshot_1.png' alt='Screenshot of Google Mars over Candor Chasma' HEIGHT=300 ALIGN=LEFT /></a> The basemaps aren&#8217;t in 3-D (yet &#8211; maybe someday?!), so the perspective view isn&#8217;t much use, but you can kind of trick yourself into thinking it looks 3-D with the shaded relief maps.  You can &#8220;fly&#8221; over the planet, zooming in &#038; out, which is really fun.  </p>
<p>I had trouble trying to get two basemaps visible at once (colorized MOLA elevation over the greyscale MDIM). With just one basemap, though, it works just fine, and it&#8217;s very fast (this probably depends a lot on your internet connection).  </p>
<p>One really nice thing about the Google interface is when there are two overlapping footprints (which all of our stereo images are), clicking on them expands the choices and allows you to pick one or the other.  Other tools I&#8217;ve used don&#8217;t handle this as nicely, and sometimes it&#8217;s impossible to select the &#8220;bottom&#8221; one.  </p>
<p>Nice job, Ross &#038; Google!  <img src='http://hirise.lpl.arizona.edu/HiBlog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://hirise.lpl.arizona.edu/HiBlog/2008/01/25/google-mars-kind-of/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>April HiJinks</title>
		<link>http://hirise.lpl.arizona.edu/HiBlog/2007/04/09/april-hijinks/</link>
		<comments>http://hirise.lpl.arizona.edu/HiBlog/2007/04/09/april-hijinks/#comments</comments>
		<pubDate>Mon, 09 Apr 2007 20:26:48 +0000</pubDate>
		<dc:creator>Kite</dc:creator>
				<category><![CDATA[HiRISE]]></category>
		<category><![CDATA[Operations]]></category>
		<category><![CDATA[People]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[April Fools]]></category>
		<category><![CDATA[evil]]></category>
		<category><![CDATA[face]]></category>
		<category><![CDATA[HiPlan]]></category>
		<category><![CDATA[HiWall]]></category>
		<category><![CDATA[LPL]]></category>

		<guid isPermaLink="false">http://hirise.lpl.arizona.edu/HiBlog/?p=80</guid>
		<description><![CDATA[On Monday morning, I started up HiPlan, our image planning and targeting tool (see this post for more about HiPlan), and this unexpected window popped up:

My first pre-coffee reaction was to panic, but then I read it more closely and realized what day it was.     Turns out the HiCommander had snuck [...]]]></description>
			<content:encoded><![CDATA[<p>On Monday morning, I started up HiPlan, our image planning and targeting tool (see <a href="http://hirise.lpl.arizona.edu/HiBlog/?p=77">this post</a> for more about HiPlan), and this unexpected window popped up:</p>
<p><img src="http://hirise.lpl.arizona.edu/HiBlog/wp-content/uploads/2007/04/screenshot_1.jpg" alt="April HiPlan popup" /></p>
<p>My first pre-coffee reaction was to panic, but then I read it more closely and realized what day it was.  <img src='http://hirise.lpl.arizona.edu/HiBlog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />   Turns out the <a href="http://hirise.lpl.arizona.edu/HiBlog/?author=12">HiCommander</a> had snuck some &#8220;special&#8221; updates into a recent release of HiPlan.</p>
<p>The <a href="http://hirise.lpl.arizona.edu/HiBlog/?p=28">HiWall</a> was also displaying a certain <a href="http://www.lpl.arizona.edu/people/faculty/drake.html">department head&#8217;</a>s &#8220;face on Mars&#8221; all day. <img src='http://hirise.lpl.arizona.edu/HiBlog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://hirise.lpl.arizona.edu/HiBlog/2007/04/09/april-hijinks/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Meeting the Team</title>
		<link>http://hirise.lpl.arizona.edu/HiBlog/2007/03/01/team-meeting/</link>
		<comments>http://hirise.lpl.arizona.edu/HiBlog/2007/03/01/team-meeting/#comments</comments>
		<pubDate>Thu, 01 Mar 2007 19:46:54 +0000</pubDate>
		<dc:creator>Kite</dc:creator>
				<category><![CDATA[HiRISE]]></category>
		<category><![CDATA[Images & Science]]></category>
		<category><![CDATA[Operations]]></category>
		<category><![CDATA[Special Events]]></category>
		<category><![CDATA[anaglyph]]></category>
		<category><![CDATA[analysis]]></category>
		<category><![CDATA[CRISM]]></category>
		<category><![CDATA[ENVI]]></category>
		<category><![CDATA[HiPlan]]></category>
		<category><![CDATA[IDL]]></category>
		<category><![CDATA[ISIS]]></category>
		<category><![CDATA[meeting]]></category>
		<category><![CDATA[People]]></category>
		<category><![CDATA[planning]]></category>
		<category><![CDATA[Science]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[team]]></category>
		<category><![CDATA[THEMIS]]></category>
		<category><![CDATA[training]]></category>
		<category><![CDATA[Tucson]]></category>

		<guid isPermaLink="false">http://hirise.lpl.arizona.edu/HiBlog/?p=78</guid>
		<description><![CDATA[We&#8217;re just finishing up four days of having the whole HiRISE team visiting us here in Tucson.  It&#8217;s been a great team meeting!  We had updates on operations, and heard a lot about science results from HiRISE images.  Some CRISM and THEMIS team members participated, too, so we got to see what [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;re just finishing up four days of having the whole HiRISE team visiting us here in Tucson.  It&#8217;s been a great team meeting!  We had updates on operations, and heard a lot about science results from HiRISE images.  Some <a href="http://crism.jhuapl.edu/">CRISM</a> and <a href="http://themis.asu.edu/">THEMIS</a> team members participated, too, so we got to see what other teams are doing and talk about collaborating and using multiple data sets.  People are doing really exciting things with HiRISE data!  </p>
<p>Also, our team is really growing!  </p>
<div style="text-align:center">
<a href="http://pirlwww.lpl.arizona.edu/~schaller/HiBlog/team_2007_02_27.jpg"><img src="http://pirlwww.lpl.arizona.edu/~schaller/HiBlog/team_2007_02_27_thumb.jpg" width=600 alt="Team meeting group shot" /></a>
</div>
<p>You&#8217;ll notice a lot of new faces compared to <a href="http://hirise.lpl.arizona.edu/HiRISE/team.html#picture">a few years ago</a>!</p>
<p><span id="more-78"></span><br />
We spent the first day updating the team on our operations here at HiROC.  Then for two days, almost everyone on the science team presented new results from recent HiRISE data, and explained their plans for future observing and analysis.  We saw some really great images!  A lot of people are doing &#8220;quick &amp; dirty&#8221; three-dimensional analgyphs with our stereo data (like <a href="http://hiroc.lpl.arizona.edu/images/PSP/diafotizo.php?ID=PSP_001678_1770">these</a>), so we got to wear our red/blue glasses a lot.  <img src='http://hirise.lpl.arizona.edu/HiBlog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   (We don&#8217;t have things calibrated &amp; automated to the point where we can do this &#8220;correctly&#8221; yet, so these are still mostly preliminary, hand-processed products.)</p>
<p>Today, most of the team is participating in software training.  Since we only have a day, we&#8217;re just doing  short demos of the planning tools (HiPlan &#8211; see previous HiBlog entry for a recent update) and some of the analysis tools (like <a href="http://isis.astrogeology.usgs.gov/">ISIS</a> and IDL/ENVI)</p>
<p>For operations, it&#8217;s been wonderful to see the fruits of our efforts &#8212; we go to a lot of trouble to acquire an image, but once it&#8217;s acquired, we tend to lose track of it, because we&#8217;re planning the next images!  Seeing the science that comes out of the data not only helps us understand strategies and be more intelligent in our targeting and planning, it&#8217;s also just <em>really cool!</em>  <img src='http://hirise.lpl.arizona.edu/HiBlog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   I think keeping the &#8220;big picture&#8221; in mind is important in keeping us motivated and excited about what we&#8217;re doing.</p>
]]></content:encoded>
			<wfw:commentRss>http://hirise.lpl.arizona.edu/HiBlog/2007/03/01/team-meeting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Race Is On</title>
		<link>http://hirise.lpl.arizona.edu/HiBlog/2006/12/24/the-race-is-on/</link>
		<comments>http://hirise.lpl.arizona.edu/HiBlog/2006/12/24/the-race-is-on/#comments</comments>
		<pubDate>Sun, 24 Dec 2006 15:15:38 +0000</pubDate>
		<dc:creator>GuyMac</dc:creator>
				<category><![CDATA[Downlink]]></category>
		<category><![CDATA[HiRISE]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[directory]]></category>
		<category><![CDATA[EDRgen]]></category>
		<category><![CDATA[HiDog]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[pipeline]]></category>
		<category><![CDATA[race condition]]></category>

		<guid isPermaLink="false">http://hirise.lpl.arizona.edu/HiBlog/?p=67</guid>
		<description><![CDATA[The HiRISE project has developed a fairly significant amount of software. I&#8217;ve been privileged to play a part in that development, which continues even as we get deeper into the primary mission. So, rather than space science or operations, this post will discuss one of the nittier, grittier aspects of our work.
The processing pipelines have [...]]]></description>
			<content:encoded><![CDATA[<p>The HiRISE project has developed a fairly significant amount of software. I&#8217;ve been privileged to play a part in that development, which continues even as we get deeper into the primary mission. So, rather than space science or operations, this post will discuss one of the nittier, grittier aspects of our work.</p>
<p>The processing pipelines have been introduced in earlier entries. Thanks to the efforts of HiRISE developers (mostly before my time with the project) these have provided a very solid foundation for our automated ground data system. There has been very little need for trouble-shooting or fine-tuning of the core software.</p>
<p>One issue that did come up earlier in PSP however was a strange failure that happened periodically, though not predictably. If you are a programmer, there is nothing so dreadful as a bizarre, non-repeatable bug&#8230; not counting Monday morning meetings, of course.</p>
<p><span id="more-67"></span></p>
<p>This particular bug happened when a new observation came down. Each processing pipeline needs to make a new directory, a new folder in the file system where it can store a log of its work. Starting with the transition phase, most of our pipelines have two or more instances running in parallel on a small Linux cluster, each working on part of the observation.</p>
<p>The bug was that, occasionally, the directory creation would fail. Someone from downlink would have to investigate and take corrective action. Or, if the way forward was unclear, to call in somebody from the software development crew.</p>
<p>In this case, the problems seemed to happen downstream from &#8220;my&#8221; pipelines: I was blissfully unaware that it could effect HiDog and EDRgen as well.</p>
<p>Then on Thursday, Rich emails to say that the workarounds put in place by two other developers seemed to have helped their pipelines, could I add them to my code as well?</p>
<p>A little shocked, I replied (no doubt too haughtily) that I&#8217;d rather understand the problem than apply some hasty workarounds. It had all the classic hallmarks of a multi-threaded problem: notoriously hard to repeat &amp; difficult to debug, but always when two processes were going after the same thing.</p>
<p>The particular bit of code&mdash;a subroutine shared by each pipeline to create a log directory&mdash;looked absolutely fine on first inspection. It uses the perl language and invokes a function called <tt>mkdir</tt>. That really should be no problem, I thought. Perhaps if there were a permissions problem. But this succeeded more often than not.</p>
<p>So that evening, I decided to try a little test: a small program that I&#8217;d run simultaneously in two windows. Each one would try to make the same directory, whose name would contain the current time in seconds. Since the <tt>mkdir</tt> operation should take much less than a second, there should be frequent &#8220;collisions&#8221;&mdash;if that was really what the problem was.</p>
<p>As a developer, you grow accustomed to the fact that almost nothing works right on the first try; you have to take small steps and constantly check yourself. So I first tried a test in just a single window. It looked like this:</p>
<pre><code><tt>
% <b>while 1</b>
? <b>perl -e 'print "mkdir failed!" unless(mkdir $ARGV[0]);' `date '+%S'`</b>
? <b>end</b>
</tt></code></pre>
<p>That should succeed every time, I thought, then I&#8217;ll move on to trying it in two terminal windows at the same time. But lo and behold, I pressed return and started getting many failure messages!</p>
<p>In the blinding flash of the obvious, I realized what I should have known: that <tt>mkdir</tt> returns false, indicating it failed to make the directory, <i>because it already been created</i>. My test script was interfering with itself, succeeding when it was a new second and failing every other time.</p>
<p>This explained the bug. It was what is called a <a href="http://en.wikipedia.org/wiki/Race_condition">race condition</a>. The condition in this case was the creation of a directory. Two pipelines were racing to create the same directory. Occasionally they were close enough that they were calling the same subroutine, and both bypassed its initial check that the directory already existed. One got to the <tt>mkdir</tt> step a fraction of a second ahead of the other, probably due to a slightly heavier load on the machine, or other variables.</p>
<p>Compounding the problem, the workarounds that had been added in several previous versions (retrying up to five times with random delays) failed to check properly. A single check after <tt>mkdir</tt> would remove the race condition. Testing this (in parallel) works as expected.</p>
<p>Or a simpler way is to call the Linux <tt>mkdir</tt> command with an option so that it does what I (and perhaps the other developers) thought it should: to return true (success) if the directory exists or was created.</p>
<p>Tracking down a mystery like this is a fun part of the job. But only if it happens infrequently. <tt> <img src='http://hirise.lpl.arizona.edu/HiBlog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </tt></p>
]]></content:encoded>
			<wfw:commentRss>http://hirise.lpl.arizona.edu/HiBlog/2006/12/24/the-race-is-on/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PSP activities</title>
		<link>http://hirise.lpl.arizona.edu/HiBlog/2006/12/08/psp-activities/</link>
		<comments>http://hirise.lpl.arizona.edu/HiBlog/2006/12/08/psp-activities/#comments</comments>
		<pubDate>Fri, 08 Dec 2006 18:17:29 +0000</pubDate>
		<dc:creator>Tuvas</dc:creator>
				<category><![CDATA[HiRISE]]></category>
		<category><![CDATA[Operations]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[calibration]]></category>
		<category><![CDATA[caption]]></category>
		<category><![CDATA[commanding]]></category>
		<category><![CDATA[HiPlan]]></category>
		<category><![CDATA[HiVali]]></category>
		<category><![CDATA[HiView]]></category>
		<category><![CDATA[HiWeb]]></category>
		<category><![CDATA[JPEG2000]]></category>
		<category><![CDATA[JPIP]]></category>
		<category><![CDATA[Phoenix]]></category>
		<category><![CDATA[planning]]></category>
		<category><![CDATA[processing]]></category>
		<category><![CDATA[PSP]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[reprocessing]]></category>
		<category><![CDATA[suggestion]]></category>
		<category><![CDATA[system]]></category>
		<category><![CDATA[validation]]></category>

		<guid isPermaLink="false">http://hirise.lpl.arizona.edu/HiBlog/?p=63</guid>
		<description><![CDATA[Well, it&#8217;s been a while since we&#8217;ve been posting a lot, so I thought I&#8217;d just give you guys some kind of an idea as to what we&#8217;re doing these days.
The uplink team is constantly looking where to point the camera next. There is a program which is in beta testing now called HiWeb which [...]]]></description>
			<content:encoded><![CDATA[<p>Well, it&#8217;s been a while since we&#8217;ve been posting a lot, so I thought I&#8217;d just give you guys some kind of an idea as to what we&#8217;re doing these days.</p>
<p>The uplink team is constantly looking where to point the camera next. There is a program which is in beta testing now called HiWeb which allows scientists and other people to input suggestions. The Uplink team reviews the suggestions in the database, assigns a priority to each of these suggestions, and then finds when we can point the camera at the part. They also make sure a certain percentage of the upcoming pictures are assigned to look for a Phoenix landing spot, as this is a high priority item at the moment. They are still learning exactly how to best command the camera, and are constantly sharpening their skills.</p>
<p>The downlink team is making sure operations run smoothly at HiROC. They are verifying that the processing has taken place, make sure that the images have been calibrated correctly, that there are no image processing artifacts on the images we are about to release. If there is any artifacts created from processing the image, the source of the problem is identified and fixed, and then the image is reprocessed. While previously we have sent images to the public that had some small processing artifacts during the post-MOI and Transition imaging, we currently are waiting until the images have been completely validated. The downlink team is also taking a quick look at each image that comes down, and making sure there isn&#8217;t something unexpected, for example, haze at Mars, lots of saturated pixels, etc. If any such problems are found, they notify the uplink team, to ensure that we don&#8217;t have continuing problems. These problems are very rare, but on occasion happen, due to the changing nature of Mars.<span id="more-63"></span></p>
<p>During and after the validation process, the images are reviewed by several of the science team members of HiRISE. Things of special nature are noted, and these images receive captions. The others are slated for a more general release. Due to the large size of the HiRISE images, it is almost impossible to search every square inch of the pictures by any one or even a small group of people. I&#8217;m sure many of you have noticed this with just the images which have been released, there are many more which are still being validated which have yet to be released.</p>
<p>The Systems team is responsible for making sure that the HiROC computers are all working in top shape. They are quick to find problems when they arise and fix them so that it does not affect the flow of data here. They are preparing servers for two upcoming services that HiROC will provide, HiWeb, which was mentioned previously, and a JPIP server, which will allow for the effective distribution of JPEG 2000 images.</p>
<p>The software team is writing software that will make people&#8217;s lives easier. Some are working with the HiPlan suite of tools, which is used to plan upcoming images, to make it even easier to use for the uplink team. Some are working on HiVali, the validation software, which is used to make it easier to verify that an image is ready to release to the public, quickly finding problems with the image. Some are working on HiView, a program which will allow distribution of images over the JPIP protocol to the general public. Still others are working on getting HiWeb ready for public release.</p>
<p>Let me also talk a bit about a few upcoming products mentioned in this entry. HiView will allow you to download only the parts of a HiRISE image that you find most interesting. It will work great, even for those who have slow internet connections. I personally have tested this with a connection rate of 1kBytes/sec, and it works reasonably well even at that slow speed. It will allow the user to save the parts of the image they find the most interesting to their hard drive for future study (HiView will require a constant internet connection to download the image)</p>
<p>Another upcoming product is HiWeb. HiWeb will allow any user (Yes, that’s you!) to suggest future targets to image with the HiRISE camera. Preference is given to targets of scientific interest. The suggestions are given a priority, and placed in a database to be targeted depending on the orbit of MRO and the allocated bandwidth.</p>
<p>So, that’s what’s happening at HiROC these days. In short, we are all very busy, but very much enjoying our work. I personally can’t remember a time that I’ve had as much fun working as these last few months have been. And surely the best is yet to come!</p>
]]></content:encoded>
			<wfw:commentRss>http://hirise.lpl.arizona.edu/HiBlog/2006/12/08/psp-activities/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Processing images at HiROC</title>
		<link>http://hirise.lpl.arizona.edu/HiBlog/2006/10/13/processing-images-at-hiroc/</link>
		<comments>http://hirise.lpl.arizona.edu/HiBlog/2006/10/13/processing-images-at-hiroc/#comments</comments>
		<pubDate>Fri, 13 Oct 2006 17:26:37 +0000</pubDate>
		<dc:creator>Tuvas</dc:creator>
				<category><![CDATA[Downlink]]></category>
		<category><![CDATA[HiRISE]]></category>
		<category><![CDATA[Images & Science]]></category>
		<category><![CDATA[Releases]]></category>
		<category><![CDATA[caption]]></category>
		<category><![CDATA[CCD]]></category>
		<category><![CDATA[DSN]]></category>
		<category><![CDATA[EDR]]></category>
		<category><![CDATA[gap]]></category>
		<category><![CDATA[geometry]]></category>
		<category><![CDATA[HiCal]]></category>
		<category><![CDATA[HiccdStitch]]></category>
		<category><![CDATA[HiStitch]]></category>
		<category><![CDATA[Internet 2]]></category>
		<category><![CDATA[ISIS]]></category>
		<category><![CDATA[JPEG2000]]></category>
		<category><![CDATA[MER]]></category>
		<category><![CDATA[mosaic]]></category>
		<category><![CDATA[noise]]></category>
		<category><![CDATA[PDS]]></category>
		<category><![CDATA[pipeline]]></category>
		<category><![CDATA[processing]]></category>
		<category><![CDATA[projection]]></category>
		<category><![CDATA[PSP]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[rover]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[SPICE]]></category>
		<category><![CDATA[validation]]></category>
		<category><![CDATA[Victoria Crater]]></category>
		<category><![CDATA[Website]]></category>

		<guid isPermaLink="false">http://hirise.lpl.arizona.edu/HiBlog/?p=45</guid>
		<description><![CDATA[Some of you out there may be asking: what happens to a HiRISE image between the time that it is taken and the time that it is released to the public? Well, I&#8217;d like to give a summary here.


The image is taken by the HiRISE camera, and is stored in up to 28 channels, two [...]]]></description>
			<content:encoded><![CDATA[<p>Some of you out there may be asking: what happens to a HiRISE image between the time that it is taken and the time that it is released to the public? Well, I&#8217;d like to give a summary here.</p>
<p><span id="more-45"></span></p>
<ol>
<li>The image is taken by the HiRISE camera, and is stored in up to 28 channels, two for each of the 14 CCD arrays of the camera. Each channel covers about half of the image. Of the 14 CCDs, 10 are red CCDs, two are blue-green, and two are near-infrared. The color CCDs are aligned with the center red CCDs.</li>
<li>The image is placed inside a buffer on MRO, awaiting transmission to Earth, along with science data from the other instruments on MRO.</li>
<li>The image is received in packets by the Deep Space Network (<a title="Deep Space Network" href="http://deepspace.jpl.nasa.gov/dsn/">DSN</a>).</li>
<li>After 4 hours of collecting data at the DSN, the Jet Propulsion Laboratory (<a title="JPL website" href="http://www.jpl.nasa.gov/">JPL</a>) puts the packets together for what is known as a &#8220;quick look&#8221;. The entire image generally has not yet been received by this point in time, but it is enough of the image that it can be processed to take a quick look at it. Subsequently, JPL puts together all of the data it has received every 4 hours and makes it available to the computers at HiROC.</li>
<li>After the files have been put together by JPL, then one of the computers at HiROC looks and sees that there is data on the JPL server and copies<strong> </strong>the data to our system at HiROC. This is the start of what is known as the pipeline, the system of programs at HiROC which process the images. This usually happens either via a direct connection to JPL (slower), or through the <a href="http://www.internet2.edu/">Internet 2</a>(Faster, but sometimes can be bogged down).</li>
<li>The images are put together into a viewable format, using the minimum processing possible, and create what&#8217;s known as an EDR, or Experimental Data Record. This is done without calibration, stitching together the channels, or any other processing, aside from putting the image together.  For an image which uses all 14 CCDs, there will be 28 EDRs. These generally speaking are of mainly scientific interest, but they will be released to the general public via the Planetary Database System (<a title="PDS website" href="http://pds.jpl.nasa.gov/">PDS</a>). They will be in the<strong> </strong>standard PDS format<strong>.</strong></li>
<li>After the EDRs have been created, they are converted to another format for ISIS. <a title="ISIS website" href="http://isis.astrogeology.usgs.gov/">ISIS</a>, the Integrated Software for Imagers and Spectrometers  is a suite of tools used for processing images for most interplanetary missions, that was developed by the United States Geological Society (<a title="USGS website" href="http://www.usgs.gov/">USGS</a>). Most of the tools that we use at HiROC for processing our images are written for ISIS files.</li>
<li>After the ISIS files have been created, they are calibrated via a program called HiCal. This reduces the inherent noise of the camera to be more consistent with what is being photographed. All digital cameras create some level of noise, and while HiRISE is an extremely good instrument, it still generates a low level of noise<strong>.</strong></li>
<li>After the individual channels are calibrated, then they proceed to a program called HiStitch, which puts<strong> </strong>the two channels of the same CCD together. As they are a part of the same CCD, this requires little processing.</li>
<li>Next, after each CCD been stitched together, the full CCD images run through a program called HiccdStitch. This program puts the different ccds together, making a mosaic for each color band. This requires some processing, as the ccds slightly overlap, and it can sometimes be difficult to match the different arrays exactly.</li>
<li>If the image has not been completely received, then at this point, the pipeline stops, until JPL has received the entire image, or if there are a few confirmed gaps in the image which we haven&#8217;t been able to recover. Transmission over the vast distance between Earth and Mars is not easy, and even the best systems have some small error.</li>
<li>After the image has been completely stitched together, then the image is geometrically projected. To understand this, realize that the images that HiRISE takes are flat, while Mars is actually round. Geometrical Projection alters the image so that the image points in compass directions, while correcting any distortions that are created by the ellipsoidal shape of Mars. With the geometrical projection images and the right software tools, such as qview for ISIS, the exact distance can be found between two point on the image. In order for this to happen, we must wait for information to be gathered on the exact position of the spacecraft. This is done by the nagivational team, based off of the downlink frequency. This takes two weeks after the picture has been taken, so Geometric Projection might take a while. This is the longest wait point of the operation. An image can be released from predicted information, however, most images will wait for the correct SPICE kernels to be calculated, in order to get the best information. If an image is geometrically projected from predicted information, it will be calculated with the correct info after it has been received.</li>
<li>The images are then validated by a team of students known as the HiRISE Validators. They check to make sure that everything in the pipeline worked perfectly, see if there are any gaps in the images, and other similar tasks. If they notice a problem, they contact the HiRISE Operators, who will take steps to resolve the problems, which may include passing part or all of the image through the pipeline again, or tweaking the software to make it work perfectly.</li>
<li>The image is converted to a format that the general public can use. Currently that format is JPG, or TIFF, but eventually we will use JPEG 2000.</li>
<li>After all of this, the science team members of HiRISE will look at an image to see if there is anything noteworthy. If there is, it is given a caption, and perhaps a press release. If not, it will be posted on the <a href="http://hirise.lpl.arizona.edu/">HiRISE website. </a>They are also posted on the <a title="Planetary Photojournal" href="http://mars.jpl.nasa.gov/mro/">MRO website</a>, and occasionally on others.</li>
</ol>
<p>This process may take as long as a week or two to complete, depending on the load of MRO, scheduling concerns, load at HiROC, etc. The first image took about 9 hours to be completely processed after it was taken by HiRISE. The Victoria Crater picture, taken during a much busier time on MRO, took about 36 hours to make its way to our hands. This was in part due to the larger size of the image, as well as the cache of images already awaiting transmission on MRO to earth. The captions for the images taken during Transition imaging took anywhere from a few hours to a few weeks to write, and this will likely continue to hold. We at HiROC want to release the images we take as fast as possible to the public, and we are doing everything we can to realize this goal. Several shortcuts were taken during the Transistion imaging phase that allowed for images to be released quicker. For Primary Science Phase, this will take a bit longer because these shortcuts will not be taken, but we expect that we will release most images within two weeks after them being taken, shortly after we have finished receiving, processing, and captioning the image.</p>
<p>There are some variations to this process, for example, the Victoria Crater picture was released in a press conference jointly with the Mars Exploration Rovers (MER) team. Also, color images require extensive calibration and take a lot more time. However, this is the general idea. Currently the entire system, except for writing the captions and adding the images to our website, is essentially completely automatic for receiving and processing HiRISE images, due to years of preparation by the HiTECH and HiOPS teams.</p>
]]></content:encoded>
			<wfw:commentRss>http://hirise.lpl.arizona.edu/HiBlog/2006/10/13/processing-images-at-hiroc/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Thanks to the HiCommander</title>
		<link>http://hirise.lpl.arizona.edu/HiBlog/2006/09/30/thanks-to-the-hicommander/</link>
		<comments>http://hirise.lpl.arizona.edu/HiBlog/2006/09/30/thanks-to-the-hicommander/#comments</comments>
		<pubDate>Sat, 30 Sep 2006 23:16:13 +0000</pubDate>
		<dc:creator>HiPilot (Targeting Specialist)</dc:creator>
				<category><![CDATA[HiRISE]]></category>
		<category><![CDATA[Operations]]></category>
		<category><![CDATA[People]]></category>
		<category><![CDATA[commanding]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[thanks]]></category>

		<guid isPermaLink="false">http://hirise.lpl.arizona.edu/HiBlog/?p=36</guid>
		<description><![CDATA[And I would like to thank the HiCommander for giving us the software that allowed us to plan these wonderful images.  Without your work we wouldn&#8217;t have them.  So, even though you make fun of my attachment to my cell phone, thank you! 
]]></description>
			<content:encoded><![CDATA[<p>And I would like to thank the HiCommander for giving us the software that allowed us to plan these wonderful images.  Without your work we wouldn&#8217;t have them.  So, even though you make fun of my attachment to my cell phone, thank you! </p>
]]></content:encoded>
			<wfw:commentRss>http://hirise.lpl.arizona.edu/HiBlog/2006/09/30/thanks-to-the-hicommander/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thanks from the HiCommander</title>
		<link>http://hirise.lpl.arizona.edu/HiBlog/2006/09/30/thanks-from-the-hicommander/</link>
		<comments>http://hirise.lpl.arizona.edu/HiBlog/2006/09/30/thanks-from-the-hicommander/#comments</comments>
		<pubDate>Sat, 30 Sep 2006 21:05:52 +0000</pubDate>
		<dc:creator>HiCommander</dc:creator>
				<category><![CDATA[HiRISE]]></category>
		<category><![CDATA[Operations]]></category>
		<category><![CDATA[People]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[ASU]]></category>
		<category><![CDATA[awesome]]></category>
		<category><![CDATA[Ball Aerospace]]></category>
		<category><![CDATA[JPL]]></category>
		<category><![CDATA[LMA]]></category>
		<category><![CDATA[thanks]]></category>

		<guid isPermaLink="false">http://hirise.lpl.arizona.edu/HiBlog/?p=35</guid>
		<description><![CDATA[I&#8217;ve come to realize something over the past 24 hours&#8212;Mars is awesome. Every little piece of that planet is ten times more awesome than the previous, even if it&#8217;s one I just looked at fifteen minutes ago. I don&#8217;t know if that&#8217;s fractally, recursively, or circularly awesome, but I do know this: We&#8217;ve got a [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve come to realize something over the past 24 hours&#8212;Mars is awesome. Every little piece of that planet is ten times more awesome than the previous, even if it&#8217;s one I just looked at fifteen minutes ago. I don&#8217;t know if that&#8217;s fractally, recursively, or circularly awesome, but I do know this: We&#8217;ve got a ton of people to thank for their, yes, awesome efforts. As HiRISE&#8217;s ground data system uplink software developer, I&#8217;ve got a handful I want to thank personally, if a blog can be considered personal.</p>
<p>Wayne Sydney (LMA) and Roy Gladden (JPL) taught me how to talk to our spacecraft. Ira Becker (BATC), Rick Battistelli (BATC), and Steve Tarr (BATC) taught me how to talk to our instrument. Peter Xayprayseuth (JPL) bends so far over backwards for us he appears to be standing upright. He and Curt Eggemeyer (JPL) make sure what I&#8217;m saying to the spacecraft isn&#8217;t complete gibberish. Mark Johnson (LMA) checked my math. Finally, Michael Weiss-Malik (ASU), Eric Engle (ASU), Saadat Anwar (ASU), and Noel Gorelick (ASU) built a fantastic piece of software for me to hook into for our observation planning.</p>
<p>There are dozens more, of course, but these are the ones that directly apply to me, and without them, none of this would have happened. So thanks, guys. If I were to wear a hat, it would be off to you.</p>
]]></content:encoded>
			<wfw:commentRss>http://hirise.lpl.arizona.edu/HiBlog/2006/09/30/thanks-from-the-hicommander/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
