stilt.output.Output#
- class stilt.output.Output(path: 'str | Path | UPath') 'None'[source]#
An output directory: particles and footprints, by their settings.
Each kind of result has a tree, and in it a folder per set of settings, named
settings=<variant>-<hash>. A variant’s folder is found by the hash of its settings, whatever name it was created under, so projects that run the same settings share it. Every method takes the kind of result ("particles"or"footprints") and the variant, resolved (project.variants).
Parameters
pathstr or PathThe directory, created on first write. A URL such as
s3://bucket/outputputs it on an object store, read and written through fsspec (install its package, such ass3fs).
Methods#
|
Remove a receptor's failure record of kind, once its result is written. |
|
Return the receptors whose simulations under variant are complete ( |
|
Return why a receptor's result of kind failed, as the worker recorded it, or |
|
Return |
|
Return variant's folder of kind, or |
|
Return every settings folder in the output directory, one row each. |
|
Return every folder of kind, as |
|
Copy a run's working directory to |
|
Return where a receptor's failed run's working directory is kept, or |
|
Return where the log of a receptor's transport model run is kept, or |
|
Return the receptors that have a transport model log for variant. |
|
Return the file of one receptor's result, whether or not it exists. |
|
Return the receptors that have a file of kind for variant. |
|
Return one receptor's result file as a table of its stored columns. |
|
Write why a receptor's result of kind failed, replacing an earlier record. |
|
Return the files of many receptors as one table. |
|
Record that a receptor's footprint is empty: no particle reached the grid. |
|
Write one receptor's footprint ( |
|
Write the log of a receptor's transport model run. |
|
Write a receptor's particles ( |