Skip to content

Commit

Permalink
Merge pull request #68 from bertinia/master
Browse files Browse the repository at this point in the history
bug fixes and enhancements
  • Loading branch information
bertinia authored Apr 8, 2017
2 parents 45e6075 + bf470d7 commit 6e3ca1e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Tools/count_tseries_vars.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/usr/bin/env python

import os, string

file = open('time_series_vars.txt','r')
buffer = file.read()
tseries = buffer.split('\n')
tseries.pop()
for stream in tseries:
stream.replace(' Time-Series Variables: ','')
stream.replace('[','')
stream.replace(']','')
vars = stream.split(',')
print len(vars)

0 comments on commit 6e3ca1e

Please sign in to comment.