docs: correct comments that contradict the code

- part id is 0-indexed in both --help and the loader docstring, matching the matrix
- daily release cron comment said 6:00pm while the expression fires at 06:00 UTC

Generated-by: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Ashley Childress
2026-08-31 17:46:42 -04:00
parent 6a6dc090bd
commit df4a65e5c4
3 changed files with 3 additions and 3 deletions
@@ -2,7 +2,7 @@ name: openairframes-daily-release
on:
schedule:
# 6:00pm UTC every day - runs on default branch, triggers both
# 06:00 UTC every day - runs on default branch, triggers both
- cron: "0 06 * * *"
workflow_dispatch:
inputs:
+1 -1
View File
@@ -141,7 +141,7 @@ def load_parquet_part(part_id: int, date: str) -> pl.DataFrame:
"""Load a single parquet part file for a date.
Args:
part_id: Part ID (e.g., 1, 2, 3)
part_id: Part ID (0-indexed, e.g. 0, 1, 2, 3)
date: Date string in YYYY-MM-DD format
Returns:
+1 -1
View File
@@ -116,7 +116,7 @@ from pathlib import Path
def main():
parser = argparse.ArgumentParser(description="Process a single archive part for a day")
parser.add_argument("--part-id", type=int, required=True, help="Part ID (1-indexed)")
parser.add_argument("--part-id", type=int, required=True, help="Part ID (0-indexed)")
parser.add_argument("--date", type=str, required=True, help="Date in YYYY-MM-DD format")
args = parser.parse_args()