icecube.simprod.util.fetch_corsika_tarballs module

Utilities for fetching CORSIKA tarballs

Copyright (c) 2005 the icecube collaboration

@version: $Revision: $ @date: $Date: $ @author:

icecube.simprod.util.fetch_corsika_tarballs.checksum(sum1, sum2)
icecube.simprod.util.fetch_corsika_tarballs.fetch_tarball(meta, tmpstorage='$TMPDIR/etc/nega_icesoft', basedir='.')
icecube.simprod.util.fetch_corsika_tarballs.strip_auth(url, auth=None)

urlopen() doesn’t support inline auth. Strip it out and construct the appropriate header by hand.

icecube.simprod.util.fetch_corsika_tarballs.wget(url, output_path, blocksize=65536)