pyradtran.io.InputDataLoader.load_simulation_input_data

pyradtran.io.InputDataLoader.load_simulation_input_data#

static InputDataLoader.load_simulation_input_data(input_file: str | Path) Dataset[source]#

Read simulation input coordinates and ancillary data.

Parameters:

input_file (str or pathlib.Path) – Path to a .csv or .nc file.

Returns:

Dataset guaranteed to contain time, latitude, and longitude.

Return type:

xarray.Dataset

Raises:

InputGenerationError – If the file is missing, unsupported, or lacks required variables.