Migrating From R-STILT#
R-STILT organizes projects around R functions, the run_stilt.r script, and
filesystem conventions. PYSTILT expresses the same broad ideas through Python
classes, config.yaml, and a output simulation index.
R-STILT concept |
R-STILT API |
PYSTILT equivalent |
|---|---|---|
Project initialization |
|
|
Run controls |
|
|
Meteorology |
|
|
Receptors |
receptor data.frame |
|
Footprint grid |
|
|
Parallel execution |
|
|
Before-footprint transform |
callback hooks in R |
|
Trajectory output |
R serialized trajectory objects |
Parquet trajectory files |
Footprint output |
NetCDF footprint outputs |
NetCDF footprint outputs with output per-name status |
Simulation identity |
timestamp plus location string |
|
Key differences#
configuration is validated before execution
project, output, and compute roots can be separate
output status and reruns are first-class rather than incidental
local, Slurm, and Kubernetes execution share one runtime model
Practical advice#
Port one receptor family at a time.
Start with one met stream and one footprint.
Treat
config.yamlas your migration boundary.Validate parity on a few representative receptors before scaling out.