sasktran2.optical.database.OpticalDatabase#
- class sasktran2.optical.database.OpticalDatabase(db_filepath: Path | None = None, db: Dataset | None = None)[source]#
Bases:
OpticalPropertyAn optical property that is defined by a database file. This is just a base class to handle file loading, derived classes must be used as actual optical properties.
- Parameters:
db_filepath (Path) – Path to the optical database file
- Raises:
OSError – If xarray is not installed
- __init__(db_filepath: Path | None = None, db: Dataset | None = None) None[source]#
An optical property that is defined by a database file. This is just a base class to handle file loading, derived classes must be used as actual optical properties.
- Parameters:
db_filepath (Path) – Path to the optical database file
- Raises:
OSError – If xarray is not installed
Methods
__init__([db_filepath, db])An optical property that is defined by a database file.
atmosphere_quantities(atmo, **kwargs)cross_section_derivatives(wavelengths_nm, ...)cross_sections(wavelengths_nm, altitudes_m, ...)optical_derivatives(atmo, **kwargs)