Skip to content

BUG - Application of ancillary files to partial days of MAG data introduces NaN/FILLVAL values #3362

Description

@mhairifin

Description of the issue

When creating L2 data, using imap_processing locally, applying an l2-offsets file with matching timestamps to a partial day of L1C normal mode data creates an L2 files with FILLVAL values in it. No NaNs or FILLVALs are present in the L1C data or in the l2-offsets data.

Steps to reproduce the issue

  1. Use a partial day of MAG data, where data is missing (eg April 30th)
  2. Using L1C norm data from that day with no NaNs/FILLVALS, and a matching l2-offsets file from the MAG team with no NaNs/FILLVALS, run L2 processing
  3. Resulting file has NaNs/FILLVALS

Expected vs Actual behavior

The resulting L2 file should be incomplete (as with the L1C file), but it should not have any NaNs/FILLVALS when there are none present in either the original data, or in the offsets file

Code Snippet (If applicable)

Code

Additional notes, affected areas, and suggested fixes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions