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.

Python API

Python API

Simulate HAWC ALI observations and retrievals from CESM2/WACCM output.

The package has two tiers. The base install extracts WACCM columns and saves simulator-ready inputs (cesm_hawc.waccm, cesm_hawc.save_inputs). The [sim] extra adds the ALI forward model and L2 retrieval (cesm_hawc.simulation, cesm_hawc.constituents). Call configure_environment() once before using the [sim] tier from your own code.

ModuleDescription
cesm_hawc.calibrationWorkarounds for cache races when many simulations run in parallel.
cesm_hawc.cliThe cesm-hawc command-line interface.
cesm_hawc.configRead and validate the config.toml file used by the CLI.
cesm_hawc.constituentsBuild the sasktran2 constituents that represent a WACCM column.
cesm_hawc.convergenceConvergence diagnostics for the L2 retrieval.
cesm_hawc.dispatchRun independent jobs serially or across a pool of worker processes.
cesm_hawc.envProcess-wide setup needed by the simulation ([sim]) code paths.
cesm_hawc.file_indexFind CAM history files and read the dates in their names.
cesm_hawc.noiseThe ALI instrument noise model used throughout cesm-hawc.
cesm_hawc.orbit_filesRead observation geometry from HAWC orbit files.
cesm_hawc.outputsText summaries written by the cesm-hawc run command.
cesm_hawc.resumeHelpers that let long batch runs resume after being interrupted.
cesm_hawc.save_inputsSave WACCM columns as simulator-ready NetCDF files.
cesm_hawc.simulationRun the HAWC ALI simulator on WACCM columns.
cesm_hawc.waccmRead CESM2/WACCM history files and extract atmospheric columns.