Hacker News new | past | comments | ask | show | jobs | submit login
NASA Declares End to Deep Impact Comet Mission (nationalgeographic.com)
74 points by gliese1337 on Sept 21, 2013 | hide | past | favorite | 27 comments



> "Basically, it was a Y2K problem, where some software didn't roll over the calendar date correctly," said A'Hearn. The spacecraft's fault-protection software (ironically enough) would have misread any date after August 11, 2013, he said, triggering an endless series of computer reboots aboard Deep Impact.

Men build a $267m spacecraft, send it to space, target it at a meteor, manage to make it inspect the meteor upclose at thousands of kms/hour... and still, writing correct software is an impenetrable problem.

Amazing.


Not only that, the problem was date/time related. Dates and times seem to be one of the most tricky things to account for and are consistently taken for granted, introducing unexpected errors. You would think by now someone would have made a fortune developing a robust radiation tolerant datetime IC, that has enough bits to count milliseconds from the big bang until the estimated end of the universe.


As Peter van der Linden says in his (excellent) book Expert C Programming: "Anyone who thinks programming dates is easy to get right the first time probably hasn't done much of it."


What's so special about that date? I guess in whatever datetime representation they were using, it overflowed at that point?


It seems to be approximately 2^32 tenths of second into the new millennium. Which is an odd way to do things, but I guess there were reasons.


The standard for astronomical measurements today is the J2000.0 epoch.

http://en.wikipedia.org/wiki/Epoch_%28astronomy%29#Julian_ye...


Seems so

  h> logBase 2 . realToFrac $ (secs "2013-08-11" - secs "2000-01-01")*10
  31.999992174768167


Totally off-topic, but that looks a lot like Haskell, what did you do to make ghci have such handy calculator functionality? (I can't find secs in Hoogle)


It's just

  secs = utcTimeToPOSIXSeconds . readTime defaultTimeLocale "%F"


I bet there's a:

    \\TODO: reset the clock before launch day
Somewhere that would have allowed it a ~13 years lifetime from launch day on instead of from 2000 on..


I bet that during the initial design phase, they wanted to keep the design simple, have enough timekeeping range to cover the mission and then maximize temporal resolution.

Someone realized that a counter operating on tenths of a second from 2000 was both easy to use and sufficient for the primary mission... they then thought nothing of it until the loss of contact


It had been retargeted, with its last couple kgs of fuel, to a potential year-2020 asteroid encounter:

http://spaceflightnow.com/news/n1112/17deepimpact/


Here is the latest SCLK kernel for the mission: http://naif.jpl.nasa.gov/pub/naif/DEEPIMPACT/kernels/sclk/DI... and if you are not among the JPL/NAIF/SPICE cognoscenti and don't have the numbers sense to grok it from that file, here is one of the SPICE required reading files: http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/req/sclk.ht... to get you started. SPICE is one of the most robust, well-commented and -documented toolkits I have ever seen. There is more information about the spacecraft clock in the PDS archives e.g. http://naif.jpl.nasa.gov/pub/naif/pds/data/di-c-spice-6-v1.0...


> "I'm a little biased, but I think the taxpayers saw very good value from this mission,"

I'd say that was biased. I personally would have rather $267 million be spent on something more permanent and practical. How about spending it on our Earth-based telecopes?


All the primary missions were completed by 2010, so you got your money's worth. And 267 million is nothing for a mission with that level of complexity, for comparison, producing GTAV was between $200 and $250 million!!!


Because pretty much everything that was possible to discover with earth based telescopes has been discovered. Sure, you can always do "science" with earth-based telescopes - reconfirming existing theories, making sure theoretical data matches up to real observed data, but there's a limit to how much "discovery" can actually be done.

Extra-planetary experiments like the deep impact mission allow scientists a glimpse at new experimental data that can confirm theories that there is no other way to confirm. Sure, you can observe a comet's tail to figure out its surface composition - but that has limited resolution and many elements simply can't be detected that way. This isn't even taking into consideration all the sub-surface elements that would be utterly impossible to detect from observation alone.

In essence, even if the Deep Impact mission mostly failed and scientists only gathered a limited amount of data, it is still very much worth its value when the alternative of building permanent terrestrial telescopes does nothing more than confirm data that has been confirmed countless times in the past.


> even if the Deep Impact mission mostly failed and scientists only gathered a limited amount of data

I don't think you meant it that way, but I'd like to clarify that Deep Impact's mission most definitely did not fail. The spacecraft survived for eight years after it completed its primary objectives in 2005.


"Because pretty much everything that was possible to discover with earth based telescopes has been discovered."

That's outright wrong.

Is the Large Synoptic Survey Telescope there just to look pretty and reconfirm existing theories? Why build the Giant Magellan Telescope when apparently there's no more discoveries to make? Or the European Extremely Large Telescope? The Thirty Meter Telescope?


Considering that Earth based telescopes have never been in a better position and are improving at an incredible rate from one decade to the next I find it hard to believe that money spent on a unique and unprecedented scientific endeavor would have been better spent on Earth-based telescopes.


The simple fact that Hubble was launched twenty years ago should give you some clues as to why we aren't doing that. Even twenty years ago, land-based telescopes were already too limited.


But we are doing that.

Hubble was started and launched before adaptive optics. That's revolutionized ground-based telescopes. The newest generation of extremely large telescopes, like the Giant Magellan Telescope, will have better angular resolution of Hubble, in visible light.

Of course, the relevant comparison should be to the James Webb Space Telescope, but it's estimated cost of $9 billion is rather a lot higher than the $800 million for the GMT.

I'm emphatically not saying that we shouldn't have space telescopes. There's no way to have a ground-based X-ray telescope, as an obvious example.

I'm only pointing out that the evidence is that land-based telescopes are not, broadly speaking, "too limited" to do new science.


Smart comment. Adaptive optics have rearranged the fundamental drivers for visible-light astronomy.

And a lot of physics experts who were working on high-resolution space-based telescopes, telescopes that are in many cases are now replaceable by ground telescopes, have paid a heavy price for this fact. Technology can be a tough field sometimes.

If you want to see what is likely to be built in the next decade, you can start at:

http://sites.nationalacademies.org/bpa/BPA_049810

Go to the last report on the web page ("2020 Vision") and go to page 17 of the PDF. It's all there.


Thanks!

"What's likely" is, sadly, optimistic. I see that LISA's isn't likely to be built by the 2020s.

Reviewing the list of other space telescopes, WFIRST is now WFIRST-AFTA, with a change to use a second-hand NAO telescope.

NuSTAR and IRIS are two launched Small Explorer missions since 2010. (Oddly, they used an artist's concept of WISE to highlight the concept. Odd, because WISE was launched in 2009, so a 2010 publication should not have needed a concept image.) I haven't figured out what the new missions are/might be, but I didn't look too hard.

The International X-Ray Observatory has had a "reboot", to ATHENA (Advanced Telescope for High Energy Astrophysics). NASA withdrew from IXO.


Awesome! I've dreamed of adaptive optics (not specifically, just how it might be achieved), I didn't realize they already existed. Thanks for the information.


Does anyone know more about the software? (Operating system, language, etc.)


unbeliveable. whole world was alerted about the upcoming y2k doom and nothing particularly spectacular happened. but those guys managed to do it anyway. several yrs later.


The y2k mention was an analogy, not literally the same bug, because as you correctly stated it would be impossible to trip over the y2k bug several years after y2k. It was a calendaring bug.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: