binned_opacity
binned_opacity¶
- frei.binned_opacity(temperatures, pressures, wl_bins, lam, client, species=None, path=None)[source]¶
Compute opacity for all available species, binned to wavelengths lam.
- Parameters
path (str (optional)) – Path passed to ~glob.glob to find opacity netCDF files.
temperatures (Quantity) – Temperature grid
pressures (Quantity) – Pressure grid
wl_bins (Quantity) – Wavelength bin edges
lam (Quantity) – Wavelength bin centers
client (None or Client) – Client for distributed dask computation on opacity tables
path – Path to opacity files.
species (list or None (optional)) – List of species to load. If None, load all available.
- Returns
op – Opacity tables for each species
- Return type