runtraj.models.hysplit.read_particle_dat#
- runtraj.models.hysplit.read_particle_dat(path, columns)[source]#
Read HYSPLIT’s particle file as a particle table.
The
varsiwantcodesindx,time,long, andlatibecome the particle table’sparticle,age,lon, andlat(PARTICLE_COLUMNS).- Parameters:
- Returns:
One row per particle per output step, as HYSPLIT wrote them. The release heights are added after the run (
runtraj.models.run_model()).- Return type:
- Raises:
ValueError – If the file has a different number of columns.