imap_processing.codice.codice_l2.add_dataset_attributes#
- imap_processing.codice.codice_l2.add_dataset_attributes(l2_dataset: Dataset, dataset_name: str, cdf_attrs: ImapCdfAttributes) Dataset#
Add the global and variable attributes to the dataset.
- Parameters:
l2_dataset (xarray.Dataset) – The dataset to update.
dataset_name (str) – The name of the dataset.
cdf_attrs (ImapCdfAttributes) – The attribute manager for CDF attributes.
- Returns:
The updated dataset.
- Return type: