imap_processing.hi.hi_l1c.empty_pset_dataset#

imap_processing.hi.hi_l1c.empty_pset_dataset(epoch_val: int, l1b_energy_steps: ndarray, n_cal_prods: int, sensor_str: str) Dataset#

Allocate an empty xarray.Dataset with appropriate pset coordinates.

Parameters:
  • epoch_val (int) – The starting epoch in J2000 TT nanoseconds for data in the PSET.

  • l1b_energy_steps (np.ndarray) – The array of esa_energy_step data from the L1B DE product.

  • n_cal_prods (int) – Number of calibration products to allocate.

  • sensor_str (str) – ’45sensor’ or ’90sensor’.

Returns:

dataset – Empty xarray.Dataset ready to be filled with data.

Return type:

xarray.Dataset