imap_processing.mag.l1a.mag_l1a.generate_dataset#
- imap_processing.mag.l1a.mag_l1a.generate_dataset(single_file_l1a: MagL1a, dataset_attrs: dict) Dataset#
Generate a Xarray dataset for L1A data to output to CDF files.
- Global_attrs should contain all info about mago/magi and burst/norm distinction, as
well as any general info in the global attributes.
Assumes each MagL1a object is a single day of data, so one MagL1a object has one CDF file output.
- Parameters:
- Returns:
dataset – One xarray dataset with proper CDF attributes and shape containing MAG L1A data.
- Return type: