stilt.config.ModelConfig.setup_seed#
- static ModelConfig.setup_seed(seed)#
Return the
SEEDvalue written toSETUP.CFGfor a user seed.HYSPLIT sets its generator state to
-1 + SEED. Underkrand=2it reinitializes only from a negative state, and every state of -1 or more gives the same stream. Writing-(|seed| + 1)puts the state at-(|seed| + 2). That is negative, different for each|seed|, and never the unseeded default (SEED = 0). A patched HYSPLIT that usesSEEDdirectly maps a negativeSEEDto the same state, so the value works with both builds.