openghg_inversions.config.version#

Version management utilities.

This file contains methods for obtaining the version of the code used to generate output.

Created on Fri Aug 21 11:21:27 2020. @author: al18242 Updated by Eric Saboya (Dec. 2022)

openghg_inversions.config.version.code_version()#

Use git describe to return the latest tag (and git hash if applicable).

Returns:

String defining the version of the code used, or “Unknown” if git is unavailable.

Return type:

str