pyradtran.config.PathsConfig#
- class pyradtran.config.PathsConfig(libradtran_bin: Path, libradtran_data: Path, atmosphere_profile: Path | None = None, solar_spectrum: Path | None = None, radiosonde_base: Path | None = None, output_dir: Path = PosixPath('pyradtran_output'), working_dir: Path = PosixPath('pyradtran_work'))[source]#
Bases:
objectFile-system paths required by libRadtran.
- Parameters:
libradtran_bin (pathlib.Path) – Absolute path to the
uvspecexecutable.libradtran_data (pathlib.Path) – Absolute path to the libRadtran
data/directory.atmosphere_profile (pathlib.Path, optional) – Default atmosphere profile. Inferred from libradtran_data when None.
solar_spectrum (pathlib.Path, optional) – Solar spectrum file. Inferred from libradtran_data when None.
radiosonde_base (pathlib.Path, optional) – Root directory for local radiosonde files.
output_dir (pathlib.Path, default
"./pyradtran_output") – Directory for NetCDF result files.working_dir (pathlib.Path, default
"./pyradtran_work") – Scratch directory for temporaryuvspecinput/output files.
- Raises:
FileNotFoundError – If libradtran_bin or libradtran_data do not exist.
- __init__(libradtran_bin: Path, libradtran_data: Path, atmosphere_profile: Path | None = None, solar_spectrum: Path | None = None, radiosonde_base: Path | None = None, output_dir: Path = PosixPath('pyradtran_output'), working_dir: Path = PosixPath('pyradtran_work')) None#
__init__(libradtran_bin, libradtran_data[, ...])- atmosphere_profile: Path | None = None#
- libradtran_bin: Path#
- libradtran_data: Path#
- output_dir: Path = PosixPath('pyradtran_output')#
- radiosonde_base: Path | None = None#
- solar_spectrum: Path | None = None#
- working_dir: Path = PosixPath('pyradtran_work')#