In the cdf files ex: 'imap_ialirt_l1_realtime_20260410_v001.cdf' the variable 'codice_hi_spin_sector' does not contain the correct values. It is currently a 1D array with values [0, 1, 2, 3]. however, it should be a 2D array with spin angle values that correspond to each (polar x spin sector) pair. The equations for the spin angles are given in the screenshot below. The dimensionality of the spin_angle array should be (spin sector x polar angle). So for instance for spin sector = 0, the array would have values:
spin_angle[0,:] = [286.85001, 316.85001, 346.85001, 16.850000]
For spin sector = 1, the values would be:
spin_angle[1,:] = (spin_angle[0,:] + 90) mod 360 = [16.850006, 46.850006, 76.850006, 106.85000]

In the cdf files ex: 'imap_ialirt_l1_realtime_20260410_v001.cdf' the variable 'codice_hi_spin_sector' does not contain the correct values. It is currently a 1D array with values [0, 1, 2, 3]. however, it should be a 2D array with spin angle values that correspond to each (polar x spin sector) pair. The equations for the spin angles are given in the screenshot below. The dimensionality of the spin_angle array should be (spin sector x polar angle). So for instance for spin sector = 0, the array would have values:
spin_angle[0,:] = [286.85001, 316.85001, 346.85001, 16.850000]
For spin sector = 1, the values would be:
spin_angle[1,:] = (spin_angle[0,:] + 90) mod 360 = [16.850006, 46.850006, 76.850006, 106.85000]