imap_processing.spice.geometry.get_spin_data#
- imap_processing.spice.geometry.get_spin_data() DataFrame#
Read spin file using environment variable and return spin data.
SPIN_DATA_FILEPATH environment variable would be a fixed value. It could be s3 filepath that can be used to download the data through API or it could be path EFS or Batch volume mount path.
- Spin data should contain the following fields:
spin_number
spin_start_sec
spin_start_subsec
spin_period_sec
spin_period_valid
spin_phase_valid
spin_period_source
thruster_firing
- Returns:
spin_data – Spin data.
- Return type: