runtraj.concentration.read_concentration#
- runtraj.concentration.read_concentration(path)[source]#
Read a concentration file
write_concentration()wrote.The whole file is read into memory, so the file is closed when this returns. Its attributes say which release and settings it is of (
release,runtraj:settings,runtraj:met_files).- Raises:
FileNotFoundError – If there is no file at path.
ImportError – If
netCDF4is not installed (pip install runtraj[concentration]).
- Return type:
- Parameters:
path (str | Path | UPath)