emc2.io.load_scat_file

emc2.io.load_scat_file(filename, is_radar, param_type='C6')[source]

Loads ice scattering LUTs from a file. (by default using the PSD used in the C6 collection).

Parameters:
filename: str

The name of the file storing the scattering parameters

is_radar: bool

If True, the first LUT column is treated as the frequency, otherwise, wavelength.

param_type: str

parameterization type: C6 - C6 collection based on Yang et al., JAS, 2013 (as used in the GISS ModelE3). mDAD - equivalent V/A spheres after implementing m-D and A-D parameterizations (as used in CESM and E3SM).

Returns:
my_df: xarray.Dataset

The xarray Dataset storing the scattering data, including descriptive metadata.