imap_processing.hi.hi_l1c.empty_pset_dataset#
- imap_processing.hi.hi_l1c.empty_pset_dataset(l1b_met: float, l1b_energy_steps: DataArray, cal_prod_numbers: ndarray[tuple[int, ...], dtype[int64]], sensor_str: str) Dataset#
Allocate an empty xarray.Dataset with appropriate pset coordinates.
- Parameters:
l1b_met (float) – Any met from the input L1B DE dataset. This is used to query the repoint-table data to get the start and end times of the pointing.
l1b_energy_steps (xarray.DataArray) – The array of esa_energy_step data from the L1B DE product.
cal_prod_numbers (numpy.ndarray) – Array of calibration product numbers from the configuration file. These can be arbitrary integers, not necessarily starting at 0.
sensor_str (str) – ’45sensor’ or ’90sensor’.
- Returns:
dataset – Empty xarray.Dataset ready to be filled with data.
- Return type: