Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Orbit files

The orbit mode takes its viewing geometry from a set of HAWC orbit NetCDF files: one file per orbit (roughly one revolution), giving the satellite position and the tangent-point locations of the ALI image over time.

Required contents

NameKindDimensionsDescription
timevariabletimeSeconds since orbit_epoch
latitudevariabletime, along, acrossTangent-point latitude [degrees]
longitudevariabletime, along, acrossTangent-point longitude [degrees], −180–180 or 0–360
observer_latitudevariabletimeSatellite latitude [degrees]
observer_longitudevariabletimeSatellite longitude [degrees]
observer_altitudevariabletimeSatellite altitude [m]
start_timeglobal attribute—Start of the orbit, parseable by pandas

Only along = 0 is used. The tangent point is the single across-track pixel center_pixel (default 256, the centre of a 512-pixel row).

How files are grouped by day

Each file is assigned to the day (counted from orbit_epoch) of its start_time attribute. A day can therefore map to several files, and an orbit that crosses midnight belongs to the day it started on. Reading every file’s start_time can take minutes for a large set, so the index is cached in out_dir/.orbit_day_index_cache.json and rebuilt automatically when files are added, removed or modified.

File names

The default pattern is orbit_*.nc; change it with orbit_pattern.