stilt.particles.particles_metadata#

stilt.particles.particles_metadata(path)[source]#

Return the receptor, run settings, and met files a particle file records.

Raises:

ValueError – If the file records no run settings, as files written before PYSTILT recorded them do.

Return type:

ParticleMetadata

Parameters:

path (str | Path | UPath)

Examples

>>> meta = stilt.particles.particles_metadata(sim.particles_path)
>>> meta.settings["model"]
{'name': 'hysplit', 'version': 'v5.1.0'}