ASIAIR Import Tool

Active Python

Concept

A glue tool that lives between an ASIAIR session in the field and a PixInsight stack at the desk. ASIAIR scatters captures across several backup folders (Autorun, Preview, Plan, Live) on internal storage and a USB stick; PixInsight’s Weighted Batch Preprocessing wants frames sorted by target and observation night. This script makes that translation reliable for hundreds of frames per session.

Metadata comes from FITS headers, not from filenames, so the organisation is grounded in what was actually captured rather than whatever naming convention happened that night.


Architecture

flowchart TD BK["ASIAIR Backup Sources
Udisk · EMMC · Autorun · Plan · Live · Preview"] SCAN["Recursive Scan
FITS / XISF discovery"] META["Header Reader
target · date · filter · exposure"] GROUP["Group by Target / Night
session boundaries from timestamps"] OUT["WBPP-Ready Tree
target/night/{lights,flats,darks,bias}"] BK --> SCAN SCAN --> META META --> GROUP GROUP --> OUT

The night boundary is computed from the capture timestamps and local sunset, not from the calendar date — a session that crosses midnight stays a single night in the output tree.


← Back to Photography & Astrophotography