Skip to content

Read IDEX partition CSV from imap_processing - #1555

Open
lacoak21 wants to merge 1 commit into
IMAP-Science-Operations-Center:devfrom
lacoak21:idex_read_paritions_from_imap_processing
Open

Read IDEX partition CSV from imap_processing#1555
lacoak21 wants to merge 1 commit into
IMAP-Science-Operations-Center:devfrom
lacoak21:idex_read_paritions_from_imap_processing

Conversation

@lacoak21

@lacoak21 lacoak21 commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Change Summary

closes #1327

Overview

Use the static idex partition info from imap_processing. Unfortunately I still need copies of "idex_10_day_CDF_names.csv" in imap_processing AND sds-data-manager because imap_processing is not a requirement for dagster right now and I would prefer to keep it that way. Dagster needs those files in custom_paritions.py.

File changes

  • sds_data_manager/lambda_code/SDSCode/pipeline_lambdas/idex_l0_indexer.py
    • read static file from imap_processing

@lacoak21
lacoak21 requested review from bryan-harter and tech3371 and a lite review from Copilot August 6, 2026 16:00
@lacoak21 lacoak21 self-assigned this Aug 6, 2026
@lacoak21 lacoak21 changed the title clean up code Read IDEX partition CSV from imap_processing Aug 6, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Updates the IDEX L0 indexer to use the shared/static 10‑day partition (window boundary) CSV path from imap_processing rather than maintaining a local path in this repo.

Changes:

  • Import IDEX_10_DAY_RANGES_PATH from imap_processing.idex.idex_constants.
  • Remove the local IDEX_10_DAY_RANGES_PATH definition from this module.
  • Adjust the file-existence check to handle non-Path types via Path(...).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

Remove the idex 10day file csv from sds-data-manager

2 participants