Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

cesm_hawc.env

cesm_hawc.env

source

Process-wide setup needed by the simulation ([sim]) code paths.

Nothing in cesm_hawc changes global state on import. Call configure_environment() yourself before running your own scripts against the simulator, or use the cesm-hawc CLI, which calls it once at startup.

configure_environment

def configure_environment() -> None

source

Apply the process-wide settings the [sim] code paths rely on.

Safe to call more than once (e.g. once in the main process and again in each worker process); calls after the first do nothing.

Notes

This function: