Skip to content

Commit ae47bd9

Browse files
Merge pull request #10 from fot/p016
Update to include P016
2 parents 8f8cff0 + 8b08590 commit ae47bd9

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

glimmondb/glimmondb.py

+6-2
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ def get_tdb(tdbs=None, revision=000, return_dates=False):
5858
startdates = {'p007': '1999:203:00:00:00', 'p009': '2008:024:21:00:00',
5959
'p010': '2012:089:20:00:00', 'p011': '2014:156:20:00:00',
6060
'p012': '2014:338:21:00:00', 'p013': '2015:162:20:00:00',
61-
'p014': '2015:239:20:00:00', 'p015': '2021:063:21:00:00'}
61+
'p014': '2015:239:20:00:00', 'p015': '2021:063:21:00:00',
62+
'p016': '2021:343:21:00:00'}
6263

6364
if return_dates:
6465
return startdates
@@ -90,9 +91,12 @@ def get_tdb(tdbs=None, revision=000, return_dates=False):
9091
elif revision <= 342: # p014 starts with 261 and ends with 342
9192
print ('Using P014')
9293
tdb = tdbs['p014']
93-
elif revision <= 999: # p015 starts with 343 and ends with ?
94+
elif revision <= 359: # p015 starts with 343 and ends with 359
9495
print ('Using P015')
9596
tdb = tdbs['p015']
97+
elif revision <= 999: # p016 starts with 360 and ends with ?
98+
print ('Using P016')
99+
tdb = tdbs['p016']
96100
return tdb
97101

98102

glimmondb/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
__all__ = ['__version__']
22

3-
__version__ = '0.5.0'
3+
__version__ = '0.6.0'

0 commit comments

Comments
 (0)