act.io.Icartt.from_xarray#
- classmethod Icartt.from_xarray(ds, filename='')[source]#
Build an Icartt from an xarray.Dataset produced by
read_icartt().Reverses the mapping applied by to_xarray, including the
qc_flagtoquality_flagrename.- Parameters:
ds (xarray.Dataset) – Dataset to convert.
filename (str or pathlib.Path, optional) – Name to record on the object.
- Returns:
ict (Icartt)