icecube.simprod.modules.dcorsika module

Interface for configuring pre/post icetray scripts

Copyright (c) 2005 the icecube collaboration

@version: $Revision: $ @date: $Date: $ @author: Juan Carlos Diaz Velez <juancarlos@icecube.wisc.edu>

class icecube.simprod.modules.dcorsika.AutoThinCorsika

Bases: Corsika

This class provides an interface for preprocessing files in iceprod

configure()

Configure and write INPUTS steering file

class icecube.simprod.modules.dcorsika.Corsika

Bases: ParsingModule

This class provides an interface for preprocessing files in iceprod

Execute(stats)

Run CORSIKA corsika output is stdout: must create a temporary directory and cd there

configure()

Configure and write INPUTS steering file

stage()

Stage files and executables

write_steering()
class icecube.simprod.modules.dcorsika.ThinCorsika

Bases: Corsika

This class provides an interface for preprocessing files in iceprod

configure()

Configure and write INPUTS steering file

class icecube.simprod.modules.dcorsika.UCR

Bases: IPBaseClass

Execute(stats)
icecube.simprod.modules.dcorsika.checksum(sum1, sum2)
class icecube.simprod.modules.dcorsika.dCorsika

Bases: Corsika

This class provides an interface for preprocessing files in iceprod

configure()

Configure and write INPUTS steering file

icecube.simprod.modules.dcorsika.fetch_tarball(meta, tmpstorage='$TMPDIR/etc/nega_icesoft', basedir='.')
icecube.simprod.modules.dcorsika.strip_auth(url, auth=None)

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

icecube.simprod.modules.dcorsika.wget(url, output_path, blocksize=65536)