[guide-user] DSS fix (I think!)

Bill J. Gray Nov 21, 1999

My thanks for the replies on the DSS trouble. The problem turned
out to be related partly to file size, and partly to whether one moved
windows around, and partly a totally random process.

As I mentioned earlier, Get_DSS would access a file from the STScI
site, decompress it, then rename it. The problem turned out to be
that, in some cases, it would decide that the file must have been
decompressed, when in fact it was only _partially_ decompressed. My
code wasn't as clever about that as I thought it was.

Anyway, I've fixed it, using a 'rigorous' method to check that the
decompression program has completed its work before continuing with the
remaining steps. In addition, I've modified Get_DSS a bit so that it
will give you a progress report telling you how many bytes have been
downloaded, say, "10 KBytes of (about) 56".

The '(about)' arises because of the compression. Get_DSS can't really
know in advance exactly how big the compressed file will be. It guesses
that it will be 'about' half the size of the uncompressed image. That
appears to be a decent estimate.

To do this, I had to rearrange the code a bit so that you do have to
start up your Internet connection before you request the image. That's
the only "down side" to this change.

Aside from that, the only progress to report is that I got an updated
version of the Russian language files from Alexander Anikeev, and that's
been posted to the site.

-- Bill