runtraj.models.flexpart.flexpart_version#
- runtraj.models.flexpart.flexpart_version(directory)[source]#
Return the version of the FLEXPART checkout in directory.
A
versionfile in the checkout wins; otherwise the git commit, with-dirtywhen the source has uncommitted changes. It is recorded with a run but not hashed: the executable’s SHA-256 is.- Raises:
FileNotFoundError – If the checkout has neither a
versionfile nor git history.- Return type:
- Parameters: