Skip to content

Commit

Permalink
Merge pull request #129 from xnchu/xnchu
Browse files Browse the repository at this point in the history
Add keyword get_ignore_data
  • Loading branch information
bryan-harter authored Dec 31, 2020
2 parents 58fc78d + cddbc16 commit 65ad594
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pytplot/importers/cdf_to_tplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@


def cdf_to_tplot(filenames, varformat=None, get_support_data=False,
get_ignore_data=False,
prefix='', suffix='', plot=False, merge=False,
center_measurement=False, notplot=False, varnames=[]):
"""
Expand Down Expand Up @@ -102,7 +103,10 @@ def cdf_to_tplot(filenames, varformat=None, get_support_data=False,
varformat = ".*"
if get_support_data:
var_type.append('support_data')
if get_ignore_data:
var_type.append('ignore_data')


varformat = varformat.replace("*", ".*")
var_regex = re.compile(varformat)
filenames.sort()
Expand Down

0 comments on commit 65ad594

Please sign in to comment.