Skip to content

Commit

Permalink
Add keyword get_ignore_data
Browse files Browse the repository at this point in the history
  • Loading branch information
xnchu committed Dec 29, 2020
1 parent 58fc78d commit cddbc16
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 cddbc16

Please sign in to comment.