pyradtran.core.Simulation.format_cloud_profile

pyradtran.core.Simulation.format_cloud_profile#

static Simulation.format_cloud_profile(data: Dict[str, Any]) str[source]#

Format a cloud-profile dict as a libRadtran column file.

Parameters:

data (dict) – Must contain 'z' (altitude in km) and either 'lwc' or 'iwc' (water content in g m⁻³), plus 'reff' (effective radius in µm).

Returns:

Multi-line string ready to write to a .dat file.

Return type:

str

Raises:

ValueError – If required keys are missing.