Skip to content

Commit

Permalink
per #2509, compute the MET version that corresponds to the METplus ve…
Browse files Browse the repository at this point in the history
…rsion to display in documentation so it does not have to be updated for each version
  • Loading branch information
georgemccabe committed Mar 20, 2024
1 parent 14b400f commit 7a88b63
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@

project = 'METplus'

met_version = '12.0.0'

author = 'UCAR/NCAR, NOAA, CSU/CIRA, and CU/CIRES'

# list of contributing authors currently involved with the project
Expand Down Expand Up @@ -87,6 +85,10 @@

verinfo = version

# compute MET version as X+6.Y.Z of METplus version
x, *rest = version.split('-')[0].split('.')
met_version = '.'.join([str(int(x)+6), *rest])

release_date = __release_date__

release_year = release_date[0:4]
Expand Down

0 comments on commit 7a88b63

Please sign in to comment.