pyradtran.input_builder

pyradtran.input_builder#

uvspec input-file generation with per-line provenance.

InputFileBuilder turns a SimulationConfig plus a resolved parameter mapping (from ParamResolver) into an ordered list of InputLine objects. Each line knows which layer produced it, which powers ds.pyradtran.explain().

See also

pyradtran.params

Parameter registry and resolution.

pyradtran.core.Simulation

Consumes the rendered input file.

calculate_solar_zenith_angle(dt, latitude, ...)

Approximate solar zenith angle (degrees) from time and location.

effective_output_altitudes(config[, overrides])

Altitudes this run reports at: per-run zout override, else config.

effective_output_columns(config[, overrides])

Columns the output_user line requests, in file order.

InputFileBuilder(config)

Build provenance-tagged uvspec input lines.

InputLine(keyword, text, provenance)

One uvspec input line with provenance.