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.

Configuration

The CLI reads a TOML file, config.toml by default. Start from config.example.toml in the repository root, which lists every table with comments.

Paths may start with ~. Keys without a default are required whenever their table is present.

[case]

The model case to process, where to write, and options shared by both modes.

KeyTypeDefaultDescription
namestring—Free-form label for the case; output goes to out_dir/<name>/
waccm_dirpath—Directory of CAM history files. {name} is replaced by the case name
patternglob—Which files to read, e.g. "*.cam.h0.*.nc" or "*.cam.h2.*.nc"
out_dirpath—Output root
n_workersint1Worker processes
time_indexint0Time slice to read within each history file
start_date, end_date"YYYY-MM-DD"""Optional date range, using the date in each file name; "" means unbounded
run_l2boolfalseAlso run the L2 retrieval (run only). Takes minutes per profile
strip_ozoneboolfalseZero WACCM ozone before simulating (run only); output goes to <name>_no_ozone/

The {name} placeholder lets one config serve several cases stored side by side. With

waccm_dir = "/archive/{name}/atm/hist/"

cesm-hawc run --mode orbit --case-name another_case reads /archive/another_case/atm/hist/ and writes to out_dir/another_case/.

[fixed]

Used by --mode fixed.

KeyTypeDefaultDescription
tangent_latdegrees—Tangent-point latitude
tangent_londegrees—Tangent-point longitude (−180–180 or 0–360)
sza_degdegrees60.0Solar zenith angle at the tangent point
saa_degdegrees0.0Solar azimuth angle at the tangent point
obs_timeISO timefrom file nameObservation time for every file (see Run modes)

[orbit]

Used by --mode orbit.

KeyTypeDefaultDescription
orbit_dirpath—Directory of orbit files
orbit_patternglob"orbit_*.nc"Orbit file pattern
orbit_epochdate"2019-08-01"Time origin of the orbit file set; orbit time values are seconds since this date
center_pixelint256Across-track pixel used as the tangent point
obs_cadence_sseconds60.0Spacing between sampled observations
h2_cadence"daily" or "subdaily""daily"Use "subdaily" when there is more than one history file per date

[instrument]

Used by every mode.

KeyTypeDefaultDescription
wavelengths_nmlist of float[470.0, 745.0, 1020.0]Simulated wavelengths. With run_l2 = true, each must be within the L2 retrieval’s range (470–1650 nm with aliprocessing 2026.10); cesm-hawc run stops with an error otherwise
alt_grid_start_mm0.0Altitude grid start
alt_grid_stop_mm65000.0Altitude grid end (inclusive)
alt_grid_step_mm1000.0Altitude grid spacing

The instrument noise model is fixed (see Methods) and is not configurable.