Skip to content

Add error throw for MAG if no data is in the file#3097

Draft
maxinelasp wants to merge 14 commits intoIMAP-Science-Operations-Center:devfrom
maxinelasp:mag-2830-applying-cal-dim-zero
Draft

Add error throw for MAG if no data is in the file#3097
maxinelasp wants to merge 14 commits intoIMAP-Science-Operations-Center:devfrom
maxinelasp:mag-2830-applying-cal-dim-zero

Conversation

@maxinelasp
Copy link
Copy Markdown
Contributor

Change Summary

This addresses #2830 and part of #3060 by adding a more intelligent error message around truncating MAG data to 24 hours.

Overview

In the case where truncation leaves no data, throw an error saying this instead of letting later processes fail in a more obscure way.

This fixes both L1D and L2 for this issue.

Dependent on #3084 so leaving as a draft until that PR is merged.

@maxinelasp maxinelasp self-assigned this Apr 29, 2026
maxinelasp and others added 14 commits May 1, 2026 14:39
…1. Updated all documentation to remove references to Poetry 1 and include more information for Poetry 2. Co-authored with Claude.
…ons-Center#3082)

* tests and code to correct rectangular map

* comment update

* pr comments

* pr comments

* type annotation
…ions-Center#2949)

* Updated dead time vars, constants and attr file.

* Removed print

* idex event dead time test

* Added test_get_event_dead_time()

---------

Co-authored-by: Luisa <luisa.coakley@lasp.colorado.edu>
…Center#3077)

* mod nso_esa_step

* fix version one half_spin_mask

* update comment

* pr comments
…MAP-Science-Operations-Center#3107)

float64 cannot represent int64 TT2000 epochs near 8e17 ns exactly, so
adding a float time_shift_ns silently quantized the epoch values.
Round to integer nanoseconds in shift_time and timeshift_vectors_per_second
so the arithmetic stays on the int64 grid.
…perations-Center#3104)

* Add SDS data manager documentation to imap_processing

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> and Claude
…enter#3095)

* Add epoch_delta_minus to L2 maps variables

* Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Remove duplicate check

* PR feedback

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…#3084)

* Upgrade from poetry 1.7 to poetry 2.3, including conforming to PEP 621. Updated all documentation to remove references to Poetry 1 and include more information for Poetry 2. Co-authored with Claude.

* Add python version placeholder file for documentation generation

* Updating docs, fixing python version

* Downgrading packages to avoid test failures

* Adding documentation on upgrading poetry
@maxinelasp maxinelasp force-pushed the mag-2830-applying-cal-dim-zero branch from 9ff287c to b51b46e Compare May 1, 2026 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants